delete/email/drafts/{id}

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/email/drafts/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring required

Draft ID

Request body

object required

Draft lookup parameters

Response

OK

idstring required

Unique identifier of the draft

agentIdstring required

Owning agent ID

orgIdstring required

Owning organization ID

fromIdentityIdstring nullable required

EmailIdentity used as the sender, or null to use the agent's primary identity at send time

tostring[] required

Recipient email addresses

ccstring[] required

CC recipient email addresses

bccstring[] required

BCC recipient email addresses

subjectstring nullable required

Subject line, or null if not yet written

bodystring nullable required

Plain-text body, or null if not yet written

bodyHtmlstring nullable required

HTML body, or null if not provided

inReplyTostring nullable required

Optional In-Reply-To Message-ID for threading on send

referencesstring[] required

Optional References Message-ID chain for threading

metadataobject nullable required

Arbitrary metadata

createdAtstring date-time required

Timestamp when the draft was created

updatedAtstring date-time required

Timestamp when the draft was last updated

Changes

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