cURL
curl --request POST \ --url https://api.example.com/chats/{chat_id}/sync \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "message": "<string>", "attributes": [ "<string>" ], "approval_id": "<string>", "is_approved": true } '
{ "message": "<string>" }
send a message to a chat session and receive complete response as JSON (non-streaming)
API key in Bearer token format
Successful Response
Non-streamed chat response containing the final output text.