drafts

drafts.attach

Attach files to ONE draft, by public https url or by storageId, on top of what the campaign already gives it. Refuses a message that already went out; never sends.

Dispatched to drafts.attach on POST /mcp/run. This route is a different URL for the same call: the request is answered by the same dispatcher, with the same authentication, the same scope check, the same organisation scoping and the same refusals.

  • Scope: pipeline
  • A free sandbox key may call it
  • MCP tools that wrap the same function: selda_attach_files
  • Filled in from your API key, never sent by you: orgId
post/v1/drafts/attach

Request

  • Base URL: https://api.selda.ai
  • URL: https://api.selda.ai/v1/drafts/attach
  • Auth: HTTP bearer

Request body

leadIdstring

A Convex document id in the campaignRunLeads table.

runIdstring

A Convex document id in the campaignRuns table.

Response

The call succeeded.

valueunknown required
request_idstring required

Echoed in the X-Request-Id header.

Changes

No recorded changes to this operation across all 1 revision of this API.