Cancel a post while it is still scheduled. Once it has queued for delivery it
can no longer be canceled.
POST
/v1/posts/{id}/cancelAPI key (dra_…) or dashboard JWT
Cancel a scheduled post that has not yet been queued for delivery.
Body & query parameters
idstringpathrequiredThe post id to cancel.
Error codes
409Post already queued/processing and can no longer be canceled.
404Post not found.
const response = await fetch("https://api.dravo.dev/v1/posts/{id}/cancel", { method: "POST", headers: { "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);{ "id": "post_2a7f93", "status": "canceled", "scheduled_at": "2026-07-01T09:00:00Z"}