Drafts

Withdraw a draft

Takes back a draft created through the API before anyone reviewed it; it is discarded as `withdrawn`. Withdrawing it again succeeds without changing anything. Drafts held by a campaign step are withdrawn by stopping the lead in the campaign.

DEL

/api/v1/drafts/{draftId}

Path parameters

draftId

required

string · uuid

Draft id

Response

200Draft withdrawn.

deleted

boolean

requestId

string · uuid

Id of this request, for support and troubleshooting

Errors

  • 400: Bad request
  • 401: Unauthorized: missing or invalid API key
  • 403: Forbidden
  • 404: Not found
  • 409: The draft was already reviewed, or a campaign step holds it.
  • 422: Invalid request payload

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy