Skip to main content
POST
/
messages-last-read
Create a new MessagesLastRead
curl --request POST \
  --url https://app.ledger.ai/api/messages-last-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

JSON post body:

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

Possible errors:

Field "user_id": "User ID is required"

Field "timestamp": "Timestamp is required"

Body

application/json

Request payload

The body is of type object.

Response

Successful response

The response is of type object.