Send queued steps next
Send pending steps of one campaign next: the launcher takes them on its next tick instead of at their scheduled time. Each step still runs inside the send window, under the sender's daily limit and past the blocklist. Steps no longer pending are skipped and counted.
POST
https://app.trygtm.com/api/v1/queue/approve- Scope
write- MCP tool
- approve_queued_steps
Headers
Idempotency-Keystringoptional- A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.
Body
campaignstringrequired- The campaign's id or exact name.
queue_idsstring[]required- Queued step ids from list_queued_steps, up to 200.
Request
curl -X POST https://app.trygtm.com/api/v1/queue/approve \
-H "Authorization: Bearer $TRYGTM_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"campaign": "Q4 logistics leaders",
"queue_ids": [
"8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10"
]
}'Response
{
"data": {
"approved": 2,
"skipped": 0,
"queue_ids": [
"b1a2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"c2b3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"
]
}
}