Retrieve a message

Get a single message based on its ID

Get

GET https://{{account_id}}.acquire.io/api/v1/crm/objects/case-message/{{messageId}}

Retrieve a single message by passing its messageId in to the endpoint as a path parameter.

Path Parameters

Name
Type
Description

messageId*

integer

ID of the message

Headers

Name
Type
Description

Authorization*

string

Bearer {{API_KEY}}

{
  "data": {
    "id": 8285,
    "caseId": 2068,
    "channel": "chat",
    "senderId": 1,
    "senderType": "user",
    "type": "message",
    "message": "hijk",
    "dateCreated": "2021-03-30T15:15:52.000Z",
    "dateUpdated": "2021-03-30T15:16:02.000Z",
    "seen": "no",
    "meta": {},
    "sender": {
      "roles": [],
      "id": 1,
      "name": "David Guetta",
      "firstName": "David Guetta",
      "lastName": "",
      "photo": "",
      "email": "user@example.com",
      "clientId": "",
      "parentId": 0,
      "type": "user",
      "accessLevel": null
    }
  }
}

Last updated