Email

Updates a draft's fields.

patch/email/inboxes/{inbox_id}/drafts/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

inbox_id, string required

Inbox id (inbox_…)

id, string required

Draft id

Request body

object required
to, union

Email address, or array/comma-separated list of addresses

cc, union

Email address, or array/comma-separated list of addresses

bcc, union

Email address, or array/comma-separated list of addresses

subject, string
text, string
html, string
reply_to, string
in_reply_to, string

The message this draft replies to: its id (msg_...) or its RFC 5322 Message-ID in angle brackets (<id@domain>). A message id is stored as that message's Message-ID, and the draft joins its thread. Anything else is rejected with 422.

labels, string[]
send_at, string date-time

Schedule send time (ISO 8601)

attachments, object[]

Response

Updated

EmailDraft required
object, string required
id, string required
inbox_id, string required
thread_id, string required
to, unknown[] required
cc, unknown[] required
bcc, unknown[] required
reply_to, string nullable required
in_reply_to, string nullable required
subject, string nullable required
text, string required
html, string required
labels, string[] required
attachments, unknown[] required
send_at, string date-time nullable required
send_status, 'draft' | 'scheduled' | 'sending' | 'failed' required
created_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    2 more changes in this revision