Skip to main content
PUT
/
messages
/
:id
Upsert an individual Message (create if not exists)
curl --request PUT \
  --url https://app.ledger.ai/api/messages/:id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filters
string

Upsert item with the given ids: [ id ]

JSON PUT body:

{
"bot_id"?: integer
"conversation_id"?: integer
"customer_id"?: integer
"data"?: object
"thread_id"?: integer
"message": integer
"provider_id"?: integer
"reference_0_id"?: integer
"reference_0_type"?: integer
"timestamp": timestamp
"user_id": integer
"trace_id"?: string
}

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.