Diagnose a campaign that is not sending
The campaign's status and the first 25 pending, approved or failed queue steps with their recorded errors. A queued step is not a send.
GET
https://app.trygtm.com/api/v1/campaigns/{campaign_id}/diagnostics- Scope
read- MCP tool
- campaign_launch_diagnostics
Path parameters
campaign_idstringrequired- The campaign's id, from list_campaigns.
Request
curl https://app.trygtm.com/api/v1/campaigns/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/diagnostics \
-H "Authorization: Bearer $TRYGTM_API_KEY"Response
{
"data": {
"campaign": {
"id": "3b7f0c52-91aa-4e0d-8c11-5a2d6e4f7b90",
"name": "Q4 logistics leaders",
"status": "active",
"min_intent": 1,
"wait_for_intent": false
},
"remaining_steps": 3,
"sample": [
{
"channel": "email",
"step_seq": 1,
"step_label": "Opener",
"status": "failed",
"error": "No sender attached"
}
]
}
}