Skip to main content
POST
Fetch chat by ID

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
message_id
integer

Message/conversation ID

Example:

1

chat_id
integer

Specific chat row ID

Example:

1

updateRead
boolean

If false, marks chat as read

Example:

true

athlete_id
integer

Agent delegation

Example:

123

Response

200

Chat data