Get contacts count
GET {{baseUrl}}/v1/contacts/count?viewId=<long>
This API displays the count for the number of contacts in a custom view
OAuth Scope
Desk.contacts.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
viewId | string | Custom view ID | |
startsWith | string | Displays the number of contacts whose first name or last name begins with the letter you specify. Displays the total number of contacts if you do not specify a letter. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"count":"10"}