curl --request GET \
--url https://app.thinnest.ai/api/v1/campaigns/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/campaigns/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/campaigns/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "cmp_9a3b7c21-4d5e-4f60-8a1b-2c3d4e5f6a7b",
"agent": "ag_5c4a5f93-2b1e-4c0a-9d3f-7e8a1b2c3d4e",
"name": "Diwali sale — VIP customers",
"kind": "whatsapp",
"status": "sent",
"template": "diwali_offer_v2",
"purpose": null,
"counts": {
"recipients": 1200,
"sent": 1177,
"delivered": 1148,
"read": 893,
"replied": 71,
"failed": 9,
"skipped": 14
},
"scheduledAt": null,
"startedAt": "2026-10-05T09:00:00.000Z",
"finishedAt": "2026-10-05T09:41:17.000Z",
"createdAt": "2026-10-04T16:20:11.482Z",
"lastError": null
}Get Campaign
Returns one broadcast or calling campaign with its current state and counts. Poll it while a campaign is sending to follow its progress; finishedAt is set when it ends or is cancelled, and lastError says why a campaign stopped, when it did.
curl --request GET \
--url https://app.thinnest.ai/api/v1/campaigns/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/campaigns/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/campaigns/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": "cmp_9a3b7c21-4d5e-4f60-8a1b-2c3d4e5f6a7b",
"agent": "ag_5c4a5f93-2b1e-4c0a-9d3f-7e8a1b2c3d4e",
"name": "Diwali sale — VIP customers",
"kind": "whatsapp",
"status": "sent",
"template": "diwali_offer_v2",
"purpose": null,
"counts": {
"recipients": 1200,
"sent": 1177,
"delivered": 1148,
"read": 893,
"replied": 71,
"failed": 9,
"skipped": 14
},
"scheduledAt": null,
"startedAt": "2026-10-05T09:00:00.000Z",
"finishedAt": "2026-10-05T09:41:17.000Z",
"createdAt": "2026-10-04T16:20:11.482Z",
"lastError": null
}Authorizations
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Path Parameters
Response
The campaign.
A WhatsApp broadcast or a calling campaign, with its results.