cURL
curl --request POST \ --url https://api.assistable.ai/v2/create-message \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "location_id": "<string>", "content": "<string>", "ai": true, "role": "user", "conversation_id": "<string>", "message_id": "<string>", "channel": "<string>" }'
{ "status": 123, "data": { "status": "<string>", "id": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Message created successfully
The response is of type object.
object