Email

Forward a message

Changed on

Forwards a message to new recipients.

post/email/inboxes/{inbox_id}/messages/{id}/forward

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

Message id

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
to, union required

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
labels, string[]
attachments, object[]

Response

Queued

EmailMessage required
object, string required
id, string required
thread_id, string required
inbox_id, string required
direction, 'inbound' | 'outbound' required
status, 'received' | 'queued' | 'sent' | 'delivered' | 'bounced' | 'complained' | 'failed' required
origin, string required
message_id, string required
in_reply_to, string nullable required
references, string[] required
from, string required
from_name, string required
names, object required
to, unknown[] required
cc, unknown[] required
bcc, unknown[] required
reply_to, string nullable required
subject, string nullable required
preview, string nullable required
labels, string[] required
suppressed, unknown[] required
delivery, object required
delivered_at, string date-time nullable required
attachments, unknown[] required
size, integer nullable required
headers, object required
text, string required
html, string required
timestamp, string 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