Numbers, teams and tags
WhatsApp numbers
GET /v1/c/{slug}/channels · Scopes: workspace:read · campaigns:write · messages:send_template · templates:read
The company's numbers, with the quality and daily limit Meta gave each one.
Path parameters
| Field | Notes |
|---|---|
slug | The company's identifier in DoneTalk (the key's own). |
Request example
curl -X GET "https://api.donetalk.com/v1/c/demo/channels" \
-H "Authorization: Bearer $DONETALK_KEY"Response 200
{
"channels": [
{
"id": "01a0cccc-0000-7000-8000-000000000002",
"name": "Captei",
"phone": "554896429898",
"status": "active",
"quality": "GREEN",
"messagingTier": "TIER_1K",
"account": {
"id": "01a0cccc-0000-7000-8000-000000000001",
"name": "Captei WABA"
},
"currency": "BRL",
"handling": {
"mode": "flow",
"teamId": "01a0cb22-89c0-7e02-b96b-3f4731dde701",
"flowId": "01a0d60a-3fc1-7df5-a07c-9769fd5701e6",
"assistantId": null
},
"createdAt": "2026-09-22T20:14:21.670Z"
}
]
}Possible errors
401unauthorized403insufficient_scope422validation_failed429rate_limited
Teams
GET /v1/c/{slug}/teams · Scopes: workspace:read · campaigns:write
To send a campaign's replies to the right team (reply.id).
Path parameters
| Field | Notes |
|---|---|
slug | The company's identifier in DoneTalk (the key's own). |
Request example
curl -X GET "https://api.donetalk.com/v1/c/demo/teams" \
-H "Authorization: Bearer $DONETALK_KEY"Response 200
{
"teams": [
{
"id": "01a0cb22-89c0-7e02-b96b-3f4731dde701",
"name": "Vendas",
"description": null,
"isActive": true,
"distributionMode": "least_busy",
"businessHoursId": null,
"members": [
{
"id": "01a0cac1-4a6f-7646-b5f8-c1d19090016a",
"name": "Tayomara Batista",
"presence": "online"
}
]
}
]
}Possible errors
401unauthorized403insufficient_scope422validation_failed429rate_limited
Tags
GET /v1/c/{slug}/tags · Scopes: workspace:read · contacts:read
Path parameters
| Field | Notes |
|---|---|
slug | The company's identifier in DoneTalk (the key's own). |
Request example
curl -X GET "https://api.donetalk.com/v1/c/demo/tags" \
-H "Authorization: Bearer $DONETALK_KEY"Response 200
{
"tags": [
{
"id": "01a12150-3610-7c00-b680-188c2b4c7313",
"name": {
"pt-BR": "VIP",
"en": "VIP",
"es": "VIP"
},
"color": "#92400e",
"appliesTo": "both",
"isActive": true,
"contacts": 128,
"conversations": 40
}
]
}Possible errors
401unauthorized403insufficient_scope422validation_failed429rate_limited
Outcomes
GET /v1/c/{slug}/outcomes · Scopes: workspace:read · conversations:read · conversations:write
How a conversation may close (sale, not interested, solved…), with the code used in close and in the events.
Path parameters
| Field | Notes |
|---|---|
slug | The company's identifier in DoneTalk (the key's own). |
Request example
curl -X GET "https://api.donetalk.com/v1/c/demo/outcomes" \
-H "Authorization: Bearer $DONETALK_KEY"Response 200
{
"outcomes": [
{
"id": "01a0cb22-0000-7000-8000-00000000000a",
"code": "converted",
"label": {
"pt-BR": "Venda",
"en": "Sale",
"es": "Venta"
},
"category": "success",
"is_success": true,
"requires_note": false,
"reopen_allowed": true,
"sort": 1
}
]
}Possible errors
401unauthorized403insufficient_scope422validation_failed429rate_limited