CREATE a Conversation

Description

Creates a new conversation.

Request body:

  • agent_id (string): ID of the agent

Response:

  • status: "success"

  • conversation: Object containing id and conversation_id

Example request

curl -X POST '{api_enpoint}/conversations' \
     -H 'Content-Type: application/json' \
     -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
     -d '{
       "agent_id": "123e4567-e89b-12d3-a456-426614174000"
     }'

Last updated