Messages

Reply-all. Same as reply with the other recipients included. Allow and block lists are checked; 403 recipient_blocked sends nothing. HTTP 403 sending_paused does not send or store the reply. Sending resumes automatically when the trailing 7-day rate falls below the pause threshold. The body has no reply_all field. Idempotency-Key replays the same request for 24 hours.

post/api/v1/inboxes/{id}/messages/{msgId}/reply-all

Request

  • Base URL: https://cooperemail.com
  • URL: https://cooperemail.com/api/v1/inboxes/{id}/messages/{msgId}/reply-all
  • Auth: HTTP bearer

Path parameters

idstring required
msgIdstring required

Headers

Idempotency-Keystring

Optional. 1 to 256 characters: letters, digits, and - . _ ~. The same key and the same request within 24 hours returns the stored message with HTTP 200, idempotent true, and Idempotent-Replayed: true, and does not send again. A different request is 409 idempotency_key_conflict. A second call while the first is still running is 409 idempotency_request_in_progress. An empty or invalid value is 400 invalid_idempotency_key. A failed send removes the key. When client_id is also set, client_id is checked first. Keys expire after 24 hours.

Request body

textstring

Plain-text body. Provide text or html.

htmlstring

HTML body. Provide text or html.

ccstring[]
bccstring[]
reply_tostring
headersobject
labelsstring[]
reply_allboolean

Also include the other original recipients, drop this inbox, and dedupe. Default false.

client_idstring

Idempotency key. A retry returns the original message.

Response

Sent reply-all

idstring
inbox_idstring
thread_idstring
direction'inbound' | 'outbound'
fromstring
tostring[]
subjectstring
textstring
htmlstring nullable
extracted_textstring
extracted_htmlstring
previewstring
status'queued' | 'ringing' | 'completed' | 'no-answer' | 'sent' | 'received' | 'delivered' | 'undelivered' | 'failed' | 'bounced' | 'complained'

SMS outbound starts as sent. A Twilio status callback sets delivered, undelivered, or failed. A voice call stores queued, ringing, completed, no-answer, or failed. Email uses queued, sent, received, failed, bounced, and complained.

channel'sms' | 'voicemail' | 'voice'

Present on SMS, voicemail, and voice messages. Email messages omit this field. voicemail is an inbound recording. voice is an outbound call.

type'voicemail'

Present on voicemail messages.

duration_secondsinteger nullable

Call or recording length in seconds. Present on voicemail and voice messages.

recording_urlstring nullable

Twilio recording URL for a voicemail, or null.

transcriptstring

Voicemail transcript. Empty while the message is held.

segmentsinteger nullable

SMS segment count for this message. Omitted on email.

otp_candidatesstring[]

Codes found in an SMS body. Empty while the message is held. Omitted on email.

ccstring[]
bccstring[]
reply_tostring nullable
in_reply_tostring nullable
referencesstring[]
labelsstring[]
providerstring nullable
client_idstring nullable
idempotentboolean
created_atstring date-time

Changes

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