Campaigns mail inbound ingest
post/mail/inbound/ingest
Hand a received message to the parser (the mail platform does this for each message it receives for a routed domain). Send JSON with the raw message, or the message itself as message/rfc822.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
campaigns:admin- Graphql
Mutation.campaignsMailInboundIngest- Sdk
mail.inbound.ingest- Cli
mail ingest
Request bodyapplication/json, required
- rawstringrequiredThe message as RFC 822 text, base64 when rawEncoding is base64 At most 40000000 characters.
- rawEncodingstringOne of: text, base64.
- tolist of string
- fromstringAt most 320 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring