List Conversation Labels
GET/accounts/:account_id/conversations/:conversation_id/labels
List all labels associated to a conversation.
The response holds the label titles. The labels themselves — their colors and descriptions — are managed with the Labels endpoints. To change a conversation's labels, use Set Conversation Labels.
Settings:
| Setting | Value |
|---|---|
| URL | https://online.99digital.co.il/api/v1/accounts/{account_id}/conversations/{conversation_id}/labels |
| Method | JSON via GET |
Authorization:
| Header Parameter | Description |
|---|---|
api_access_token | User API key |
The user API key provides access to endpoints based on the user's permission level, and can be obtained on the profile page.
Permissions:
- User token: any agent who may see the conversation — see Who can see a conversation.
- Agent-bot token: not allowed.
Path Parameters:
| Parameter | Description | Required |
|---|---|---|
account_id | The numeric ID of the account | Yes |
conversation_id | The numeric ID of the conversation (its display ID) | Yes |
Response:
{
"payload": ["vip", "billing"]
}
Response-Explain:
| Parameter | Description |
|---|---|
payload | Array of strings (label): the titles of the conversation's labels |
Remarks
- The same
GETURL under/conversationscan be called at most 10 times per minute from one IP address; above that the answer is429. See Rate limits.
Request
Responses
- 200
- 401
- 403
- 404
- 429
The conversation's labels.
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.
The same URL was requested more than 10 times in a minute from this IP address. See Rate limits.