Chats

Close a chat

End a chat. The visitor sees that it ended. Closing a chat that already ended changes nothing.

curl -X POST https://vocenya.com/api/public/v1/chats/205/close \
  -H "Authorization: Bearer $VOCENYA_API_KEY"
post/chats/{chat}/close

Request

  • Base URL: https://vocenya.com/api/public/v1
  • URL: https://vocenya.com/api/public/v1/chats/{chat}/close
  • Auth: HTTP bearer

Path parameters

chatinteger required

The chat id.

Response

ChatResource

Example response

{
  "data": {
    "channel": "web",
    "page_url": "https://www.example.com/contact"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.