Cooper Email Messages API
Messages operations for the Cooper Email API.
Operations 19
POST
/api/v1/inboxes/{id}/messages/batch-update
Add or remove the same labels on 1 to 50 messages.
#
POST
/api/v1/inboxes/{id}/messages/batch-get
Fetch up to 500 messages by id. Duplicates are 400 duplicate_message_ids.
#
POST
/api/v1/inboxes/{id}/messages/{msgId}/reply
Reply on the same thread. text or html is required.
#
POST
/api/v1/inboxes/{id}/messages/{msgId}/reply-all
Reply-all. Same as reply with the other recipients included.
#
DELETE
/api/v1/inboxes/{id}/messages/{msgId}
Delete one message, its raw RFC822, cached attachment text, attachment bytes…
#
PATCH
/api/v1/inboxes/{id}/messages/{msgId}
Add or remove labels. Mark read with remove_labels ["unread"].
#
POST
/api/v1/inboxes/{id}/messages/{msgId}/read
Mark a message read (remove unread, add read). Works on a paused inbox.
#
GET
/api/v1/inboxes/{id}/messages/{msgId}/raw
Download the message as message/rfc822 with Content-Disposition attachment and…
#
GET
/api/v1/inboxes/{id}/messages/{msgId}/attachments/{attId}/text
Extract attachment text as text/plain; charset=utf-8 with Content-Disposition…
#
POST
/api/v1/inboxes/{id}/inbound
Inject inbound mail for tests (Bearer). A paused inbox returns 403 inbox_paused.
#
GET
/api/v1/idempotency-keys/{key}
Read one Idempotency-Key. state is in_progress, done, or unknown.
#
DELETE
/api/v1/idempotency-keys/{key}
Release an unknown Idempotency-Key so it can be reused. Requires message_send.
#
POST
/api/v1/idempotency-keys/{key}/resolve
Mark an unknown Idempotency-Key done and link message_id. Requires message_send.
#