Skip to main content
PUT
/
messages-last-read
/
mark-read
Upsert an individual MessagesLastRead (create if not exists)
curl --request PUT \
  --url https://app.ledger.ai/api/messages-last-read/mark-read \
  --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: [ user_id, provider_id, customer_id ]

JSON PUT body:

{
"user_id": integer
"provider_id"?: integer
"customer_id"?: integer
"timestamp": timestamp
}

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.