cURL
curl --request POST \ --url https://api.example.com/v1/chats \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "chatbotId": "<string>", "userId": "<string>" } '
{ "id": "<string>", "chatbotId": "<string>", "userId": "<string>", "organizationId": "<string>", "createdAt": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>