Close Case

Close a case

Close a case

POST https://{{account_id}}.acquire.io/api/v1/crm/messenger/chat/close

Closes a case. The caseId must be passed in the body of the request.

Headers

NameTypeDescription

Authorization*

string

Bearer {{API_KEY}}

Request Body

NameTypeDescription

caseId*

integer

The case ID

{
  "data": {
    "0": {
      "foreverClosed": true,
      "leftUser": true,
      "caseId": 5,
      "contactId": 6
    },
    "userId": 1,
    "userType": "user"
  }
}

Body (raw)

{
  "caseId": 5
}

Last updated