Send a chat message
Send a chat message
POST
Send a chat message
Authorizations
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Body
application/json
Receiver user ID (NOT receiver_id)
Example:
1
Example:
"Hello, how are you?"
Optional file as base64-encoded string or data URI (e.g. data:image/png;base64,...). Send null if no attachment.
Example:
null
If true, uses attachment as-is (no upload)
Example:
false
Chat reply reference ID
Example:
1
Agent acting on behalf of athlete
Example:
123
Job ID for deliverable approval flow
Example:
1
Milestone ID for approval flow
Example:
1
Milestone-athlete relation ID
Example:
1
Trigger approval insert
Available options:
Yes, No Example:
false
Skip file upload and Pusher event
Example:
false
Response
200
Message sent