List events
Lists the workspace’s events, newest first — every event, recorded when it happens, whether or not a webhook endpoint subscribes to its type. Each is the envelope a webhook delivers, with the same id, so a handler that deduplicates on it can read from here and from its endpoint alike. Filter by type, repeated for any of several, or by email_id for what happened to one email. To catch up after missed webhooks, walk forward: order=asc with after set to the created_at of the last event you processed. data is the summary every endpoint receives; the data.email a full endpoint is sent is read when a delivery goes out and not kept, so read the email by its email_id. Test events sent to an endpoint are not listed.
GET
/eventsAuthorization
AuthorizationBearer token (API key) · headerrequiredPass an AI Inbx API key as a Bearer token.
Query parameters
limitintegerMaximum number of resources to return.
min 1 · max 100 · default: 40
cursorstringOpaque cursor from the previous page.
min length 1
spacestringOnly resources in this space. Pass `none` for resources that belong to the workspace itself (`space_id: null`), or omit for the workspace and all its spaces.
matches ^(?:none|spc_[0-9a-f]{32})$
afterstring<date-time>Only what was created after this instant — `created_at` later than it, the instant itself left out. ISO 8601 with an offset.
beforestring<date-time>Only what was created before this instant — `created_at` earlier than it, the instant itself left out. ISO 8601 with an offset.
orderstringWhich way the list is walked by `created_at`: `desc` is newest first, `asc` oldest first — the order a sync reads in. A cursor is a position, not a direction: send the same `order` with it.
default: "desc"
Allowed:
ascdesctypestring[]Only events of this type. Repeat the parameter for any of several: `type=email.bounced&type=email.failed`.
email_idstringOnly events about this email: received or sent, delivered, bounced, complained, failed, opened, clicked. `email.unsubscribed` is about the address that left, and is not among them.
matches ^eml_[0-9a-f]{32}$
Responses
200Success.
dataobject[]requiredShow propertiesHide properties
Array of
objectOne of:
object
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyfromstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
tostring<email>[]requiredsubjectstringrequiredsnippetstringrequiredattachmentsobject[]Show propertiesHide properties
Array of
objectidstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
filenamestringrequiredcontent_typestringrequiredsizeintegerrequiredmin 0 · max 9007199254740991
preparationstringrequiredAllowed:
readypartialunsupportedfailedemailobject | anyOnly on an endpoint whose `payload` is `full`: the email, exactly as `GET /emails/{id}?include=attachment_content` returns it. Read when the delivery is sent, so a retry carries freshly signed URLs. Null when it could not be included — the message no longer exists, or the body would pass 4 MB with it; read the email by `email_id` instead.
Show propertiesHide properties
Any of:
object
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydirectionstringrequiredAllowed:
inboundoutboundstatusstringrequiredAllowed:
scheduledcanceledqueuedsendingsentdeliveredbouncedcomplainedfailedreceivedfromobjectrequiredShow propertiesHide properties
namestring | anyShow propertiesHide properties
Any of:
string
stringany
anyaddressstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
tostring<email>[]requiredccstring<email>[]requiredbccstring<email>[]requiredreply_tostring<email>[]requiredsubjectstringrequiredsnippetstringrequiredhtmlstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anytextstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anycategorystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyverdictsobject | anyrequiredShow propertiesHide properties
Any of:
object
spamstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anyspfstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anydkimstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anydmarcstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anyany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymessage_idstringrequiredThe RFC Message-ID, without angle brackets.
in_reply_tostring | anyrequiredThe Message-ID of the message this one answers, without angle brackets. Null when it answers none.
Show propertiesHide properties
Any of:
string
stringany
anyidempotency_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anycreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
scheduled_atstring<date-time> | anyrequiredShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anysent_atstring<date-time> | anyrequiredShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anyattachmentsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
filenamestringrequiredcontent_typestringrequiredsizeintegerrequiredmin 0 · max 9007199254740991
cidstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anydownload_urlstring<uri> | anyrequiredSigned URL for the original bytes, good until `expires_at`. Opens without the API key, so treat it as a secret — and do not send the key to it: storage answers a request that carries an `Authorization` header with 400. To keep a reference, store the attachment `id` and call `GET /attachments/{id}`. Null when the bytes are gone.
Show propertiesHide properties
Any of:
string<uri>
string<uri>any
anyexpires_atstring<date-time> | anyrequiredWhen `download_url` and `preparation.content_url` stop working — an hour after the response. Read the email again, or call the download endpoint with the attachment ID, for fresh ones.
Show propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anypreparationobject | anyrequiredShow propertiesHide properties
Any of:
object
statusstringrequiredAllowed:
readypartialunsupportedfailedformatstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anypagesinteger | anyrequiredShow propertiesHide properties
Any of:
integer
integerany
anywarningsstring[]requiredcontent_urlstring<uri> | anyrequiredSigned URL for the prepared text, good until the attachment's `expires_at`. Opens without the API key — and only without it: storage answers a request that carries an `Authorization` header with 400. Null when there is no prepared text.
Show propertiesHide properties
Any of:
string<uri>
string<uri>any
anytextstring | anyShow propertiesHide properties
Any of:
string
stringany
anyany
anystripped_textstring | anyrequiredWhat this message says: typed text only, quoted conversation and signature removed. A signature the thread has not seen from this sender stays — it is where the name and role are.
Show propertiesHide properties
Any of:
string
stringany
anystripped_htmlstring | anyrequiredThe HTML part with the same cut as stripped_text: quoted conversation and repeated signature removed, an answer typed into the quote kept under the line it answers. Null when the message has no HTML part or its markup could not be matched to the cut.
Show propertiesHide properties
Any of:
string
stringany
anysegmentsobject[]requiredShow propertiesHide properties
Array of
objectkindstringrequiredAllowed:
writtenquotedsignaturetextstringrequiredreferencesstring[]requiredThe Message-IDs of the conversation so far, oldest first, without angle brackets.
headersobject[]requiredShow propertiesHide properties
Array of
objectnamestringrequiredvaluestringrequiredeventsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredAllowed:
scheduledcanceledqueuedreplayedsentdelivereddeferredbouncedcomplainedfailedatstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
recipientstring<email> | anyrequiredShow propertiesHide properties
Any of:
string<email>
string<email>any
anydetailstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyengagementsobject[]requiredShow propertiesHide properties
Array of
objectkindstringrequiredAllowed:
openclickatstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
urlstring<uri> | anyrequiredShow propertiesHide properties
Any of:
string<uri>
string<uri>any
anyuser_agentstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anybotbooleanrequiredTrue when a proxy, security scanner or script made the hit rather than the recipient.
bot_reasonstring | anyrequiredWhy: `privacy_proxy` is Apple Mail Privacy Protection fetching on arrival, `script` an HTTP library, `known_bot` a scanner or link expander that names itself, `stale_browser` a browser build nobody runs any more, `too_fast` within seconds of delivery, sooner than a person could act. Null when `bot` is false. More reasons may be added; treat one you do not know as a bot.
Show propertiesHide properties
Any of:
string
stringany
anyany
anycategorystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyverdictsobject | anyrequiredShow propertiesHide properties
Any of:
object
spamstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anyspfstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anydkimstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anydmarcstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anyany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyfromstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
tostring<email>[]requiredsubjectstringrequiredsnippetstringrequiredattachmentsobject[]Show propertiesHide properties
Array of
objectidstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
filenamestringrequiredcontent_typestringrequiredsizeintegerrequiredmin 0 · max 9007199254740991
preparationstringrequiredAllowed:
readypartialunsupportedfailedemailobject | anyOnly on an endpoint whose `payload` is `full`: the email, exactly as `GET /emails/{id}?include=attachment_content` returns it. Read when the delivery is sent, so a retry carries freshly signed URLs. Null when it could not be included — the message no longer exists, or the body would pass 4 MB with it; read the email by `email_id` instead.
Show propertiesHide properties
Any of:
object
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydirectionstringrequiredAllowed:
inboundoutboundstatusstringrequiredAllowed:
scheduledcanceledqueuedsendingsentdeliveredbouncedcomplainedfailedreceivedfromobjectrequiredShow propertiesHide properties
namestring | anyShow propertiesHide properties
Any of:
string
stringany
anyaddressstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
tostring<email>[]requiredccstring<email>[]requiredbccstring<email>[]requiredreply_tostring<email>[]requiredsubjectstringrequiredsnippetstringrequiredhtmlstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anytextstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anycategorystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyverdictsobject | anyrequiredShow propertiesHide properties
Any of:
object
spamstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anyspfstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anydkimstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anydmarcstring | anyrequired`PASS`, `FAIL`, `GRAY` or `PROCESSING_FAILED`. Null when this check was not reported.
Show propertiesHide properties
Any of:
string
stringany
anyany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymessage_idstringrequiredThe RFC Message-ID, without angle brackets.
in_reply_tostring | anyrequiredThe Message-ID of the message this one answers, without angle brackets. Null when it answers none.
Show propertiesHide properties
Any of:
string
stringany
anyidempotency_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anycreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
scheduled_atstring<date-time> | anyrequiredShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anysent_atstring<date-time> | anyrequiredShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anyattachmentsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
filenamestringrequiredcontent_typestringrequiredsizeintegerrequiredmin 0 · max 9007199254740991
cidstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anydownload_urlstring<uri> | anyrequiredSigned URL for the original bytes, good until `expires_at`. Opens without the API key, so treat it as a secret — and do not send the key to it: storage answers a request that carries an `Authorization` header with 400. To keep a reference, store the attachment `id` and call `GET /attachments/{id}`. Null when the bytes are gone.
Show propertiesHide properties
Any of:
string<uri>
string<uri>any
anyexpires_atstring<date-time> | anyrequiredWhen `download_url` and `preparation.content_url` stop working — an hour after the response. Read the email again, or call the download endpoint with the attachment ID, for fresh ones.
Show propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anypreparationobject | anyrequiredShow propertiesHide properties
Any of:
object
statusstringrequiredAllowed:
readypartialunsupportedfailedformatstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anypagesinteger | anyrequiredShow propertiesHide properties
Any of:
integer
integerany
anywarningsstring[]requiredcontent_urlstring<uri> | anyrequiredSigned URL for the prepared text, good until the attachment's `expires_at`. Opens without the API key — and only without it: storage answers a request that carries an `Authorization` header with 400. Null when there is no prepared text.
Show propertiesHide properties
Any of:
string<uri>
string<uri>any
anytextstring | anyShow propertiesHide properties
Any of:
string
stringany
anyany
anystripped_textstring | anyrequiredWhat this message says: typed text only, quoted conversation and signature removed. A signature the thread has not seen from this sender stays — it is where the name and role are.
Show propertiesHide properties
Any of:
string
stringany
anystripped_htmlstring | anyrequiredThe HTML part with the same cut as stripped_text: quoted conversation and repeated signature removed, an answer typed into the quote kept under the line it answers. Null when the message has no HTML part or its markup could not be matched to the cut.
Show propertiesHide properties
Any of:
string
stringany
anysegmentsobject[]requiredShow propertiesHide properties
Array of
objectkindstringrequiredAllowed:
writtenquotedsignaturetextstringrequiredreferencesstring[]requiredThe Message-IDs of the conversation so far, oldest first, without angle brackets.
headersobject[]requiredShow propertiesHide properties
Array of
objectnamestringrequiredvaluestringrequiredeventsobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredAllowed:
scheduledcanceledqueuedreplayedsentdelivereddeferredbouncedcomplainedfailedatstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
recipientstring<email> | anyrequiredShow propertiesHide properties
Any of:
string<email>
string<email>any
anydetailstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyengagementsobject[]requiredShow propertiesHide properties
Array of
objectkindstringrequiredAllowed:
openclickatstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
urlstring<uri> | anyrequiredShow propertiesHide properties
Any of:
string<uri>
string<uri>any
anyuser_agentstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anybotbooleanrequiredTrue when a proxy, security scanner or script made the hit rather than the recipient.
bot_reasonstring | anyrequiredWhy: `privacy_proxy` is Apple Mail Privacy Protection fetching on arrival, `script` an HTTP library, `known_bot` a scanner or link expander that names itself, `stale_browser` a browser build nobody runs any more, `too_fast` within seconds of delivery, sooner than a person could act. Null when `bot` is false. More reasons may be added; treat one you do not know as a bot.
Show propertiesHide properties
Any of:
string
stringany
anyany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyrecipientsstring<email>[]requiredobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyrecipientsstring<email>[]requiredpermanentbooleanrequiredreasonstringrequiredobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyrecipientsstring<email>[]requiredreasonstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyreasonstringrequiredWhat the provider said: why the message never went out.
object
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anydomain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyaddressstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
keystringrequiredscopestringrequiredAllowed:
alloptionalsourcestringrequiredAllowed:
linkone_clickreplyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyuser_agentstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anybotbooleanrequiredTrue when a proxy, security scanner or script made the hit rather than the recipient.
bot_reasonstring | anyrequiredWhy: `privacy_proxy` is Apple Mail Privacy Protection fetching on arrival, `script` an HTTP library, `known_bot` a scanner or link expander that names itself, `stale_browser` a browser build nobody runs any more, `too_fast` within seconds of delivery, sooner than a person could act. Null when `bot` is false. More reasons may be added; treat one you do not know as a bot.
Show propertiesHide properties
Any of:
string
stringany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
email_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
message_idstringrequiredThe RFC Message-ID, without angle brackets.
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
domain_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymailbox_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anysuppression_keystring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyurlstring<uri>requireduser_agentstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anybotbooleanrequiredTrue when a proxy, security scanner or script made the hit rather than the recipient.
bot_reasonstring | anyrequiredWhy: `privacy_proxy` is Apple Mail Privacy Protection fetching on arrival, `script` an HTTP library, `known_bot` a scanner or link expander that names itself, `stale_browser` a browser build nobody runs any more, `too_fast` within seconds of delivery, sooner than a person could act. Null when `bot` is false. More reasons may be added; treat one you do not know as a bot.
Show propertiesHide properties
Any of:
string
stringany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
thread_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
subjectstringrequiredmailboxstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
forward_ofstring | anyrequiredSet when a forward opened the thread: the conversation it carries.
Show propertiesHide properties
Any of:
string
stringany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
domain_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
namestringrequiredregionstringrequiredAllowed:
eu-central-1us-east-1object
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
domain_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
namestringrequiredregionstringrequiredAllowed:
eu-central-1us-east-1object
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
mailbox_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
addressstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
providerstringrequiredAllowed:
googlemicrosoftrefstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymetadataobjectrequiredYour own key-value pairs, stored and given back as they are. Up to 50 keys; a key is 1–40 characters, a value up to 500. Written whole: what you send replaces what was there.
app_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyreconnectedbooleanrequiredobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
mailbox_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
addressstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
providerstringrequiredAllowed:
googlemicrosoftrefstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymetadataobjectrequiredYour own key-value pairs, stored and given back as they are. Up to 50 keys; a key is 1–40 characters, a value up to 500. Written whole: what you send replaces what was there.
reasonstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyobject
idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
typestringrequiredcreated_atstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
space_idstring | anyrequiredWhich space a resource is in. Null is the workspace itself — what every resource of a workspace that has no spaces says.
Show propertiesHide properties
Any of:
string
stringany
anydataobjectrequiredShow propertiesHide properties
mailbox_idstringrequiredmatches ^[a-z]+_[0-9a-f]{32}$
addressstring<email>requiredmatches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
providerstringrequiredAllowed:
googlemicrosoftrefstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymetadataobjectrequiredYour own key-value pairs, stored and given back as they are. Up to 50 keys; a key is 1–40 characters, a value up to 500. Written whole: what you send replaces what was there.
reasonstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anynext_cursorstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
any400The request is invalid.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired401The API key is missing or invalid.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired403The API key does not have the required scope.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired404The requested resource does not exist.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired409The request conflicts with the resource's current state.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired413The request body or attachments are too large.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired415The request body is not JSON.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired422The request body failed validation.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired429The organisation's request budget is spent (`too_many_requests`), or an upstream mail provider is throttling (`rate_limited`).
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired500An internal error occurred.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired502An upstream mail provider failed.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired503The service is temporarily unavailable.
typestringrequiredtitlestringrequiredstatusintegerrequiredmin -9007199254740991 · max 9007199254740991
detailstringrequiredcodestringrequiredrequest_idstringrequiredissuesobject[]Show propertiesHide properties
Array of
objectpathstringrequiredmessagestringrequired