SiteAssist

Close Chat

Mark a chat close.

POST
/customers/{appUserId}/chats/{chatId}/close
x-siteassist-key<token>

In: header

Path Parameters

appUserIdstring

App User ID

Length1 <= length
chatIdstring

Chat ID

Formatuuid

Response Body

curl -X POST "https://loading/customers/string/chats/497f6eca-6276-4993-bfeb-53cbbbba6f08/close"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "createdAt": "string",
  "closedAt": "string",
  "status": "open",
  "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
  "humanAgentId": "af3a45f2-8fbc-4405-9fbe-2263c97224e6",
  "closeReason": "string",
  "handoffAt": "string",
  "isHumanHandled": true,
  "lastInterationAt": "string"
}
Empty
Empty
Empty
Empty
Empty