Case List

Retrieve a list of cases

Get case list

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

Retrieve a list of cases.

Query Parameters

Name
Type
Description

where

string

Specifies the condition to filter. Set condition with the column name followed by the expression and its value e.g., status|eq|active Filters: dateCreated|dateUpdated|id|contactId| closedBy|visitId|title|description|status| closingState|dateQueue|dateActive|dateClosed| queueId|meta|parentId

relations

string

You can pass multiple relations along with the case. Available relations : contact|messages|cases|users |fields|tags|feedbacks|timeline|parent| datePending|queueOrder|userId|waitTime

Headers

Name
Type
Description

Authorization*

string

Bearer {{API_KEY}}

{
    "data": {
        "page": 0,
        "offset": 0,
        "limit": 2,
        "count": 72,
        "data": [
            {
                "id": 1,
                "channel": "chat",
                "contact": {
                    "dateCreated": "2020-08-11T07:25:59.000Z",
                    "dateUpdated": "2020-08-11T07:27:14.000Z",
                    "id": 1,
                    "clientType": "web",
                    "clientName": "Chrome",
                    "clientVersion": "84.0",
                    "clientOsName": "Windows",
                    "clientOsVersion": "10",
                    "clientDeviceType": null,
                    "clientDeviceVendor": null,
                    "clientDeviceModel": null,
                    "clientDetails": {
                        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36",
                        "engine": {
                            "name": "Blink",
                            "version": "84.0.4147.105"
                        },
                        "network": {
                            "type": "3g",
                            "speed": "2.52"
                        }
                    },
                    "archive": "no",
                    "companyId": 1
                },
                "threadId": 1
            },
            {
                "id": 2,
                "channel": "chat",
                "contact": {
                    "dateCreated": "2020-08-11T07:25:59.000Z",
                    "dateUpdated": "2020-08-11T07:27:14.000Z",
                    "id": 1,
                    "clientType": "web",
                    "clientName": "Chrome",
                    "clientVersion": "84.0",
                    "clientOsName": "Windows",
                    "clientOsVersion": "10",
                    "clientDeviceType": null,
                    "clientDeviceVendor": null,
                    "clientDeviceModel": null,
                    "clientDetails": {
                        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36",
                        "engine": {
                            "name": "Blink",
                            "version": "84.0.4147.105"
                        },
                        "network": {
                            "type": "3g",
                            "speed": "2.52"
                        }
                    },
                    "archive": "no",
                    "companyId": 1
                },
                "threadId": 2
            }
        ]
    }
}

Get case list by date

GET https://{{account_id}}.acquire.io/api/v1/crm/objects/case?where={{dateSelector}}|{{gt or lt}}|{{unix}}

Retrieve a list of cases by date. Dates must be converted into their unix timestamp.

Query Parameters

Name
Type
Description

where*

string

where query parameter

dateSelector*

string

dateQueue|dateActive|dateClosed

gt or lt*

string

gt|lt (greater than or less than)

unix*

integer

the date's unix timestamp

Headers

Name
Type
Description

Authorization*

string

Bearer{{API_KEY}}

Last updated