Skip to main content
POST
/
chat
/
sessions
Create a chat session
curl --request POST \
  --url https://api.open.cx/chat/sessions \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "channel": {
    "type": "api"
  },
  "verified": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json
contact_id
string<uuid>
channel
object
verified
boolean | null

Response

Default Response

id
string<uuid>
required