List Contact Labels
GET/accounts/:account_id/contacts/:contact_id/labels
List the labels of a contact.
The labels are returned as their titles. To change them, use Set Contact Labels.
| Setting | Value |
|---|---|
| Method | GET |
| Path | /api/v1/accounts/{account_id}/contacts/{contact_id}/labels |
| Authorization | User token. Any agent. Agent-bot tokens: not allowed. |
Example request
curl -X GET 'https://online.99digital.co.il/api/v1/accounts/12/contacts/801/labels' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>'
Example response (200 OK)
{ "payload": ["vip", "billing"] }
Request
Responses
- 200
- 401
- 403
- 404
The contact's label titles.
The access token is missing or wrong, or its user does not belong to this account.
The token's role does not have the permission this endpoint needs, or the endpoint is not open to agent-bot tokens. See Authorization.
The resource does not exist in this account.