Upsert Inbox
Create or update an inbox
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The id of the inbox. If this is provided, the inbox will be updated. If this is not provided, a new inbox will be created
If true
, emails that contain the inbox email address in the Cc field will be marked valid
If true
, emails that contain the inbox email address in the Bcc field will be marked valid
If true
, emails need to pass the SPF check to be marked valid. See here for more information on SPF
If true
, emails need to pass the DKIM check to be marked valid. See here for more information on DKIM
If true
, emails need to pass the DMARC check to be marked valid. See here for more information on DMARC
A list of addresses and domains that are allowed to send emails to the inbox. If the field is null
, or the addresses
and domains
fields are both empty lists, all from addresses are allowed
A list of addresses and domains that are blocked from sending emails to the inbox. If the field is null
, or the addresses
and domains
fields are both empty lists, all from addresses are allowed
The url to send webhooks to when an email is received by the inbox
The type of authentication to use for the webhook. Must be provided if webhook_url
is provided. See here for more information
signing_secret
, bearer_token
The secret to use for the webhook. This is only valid when webhook_authentication_type
is bearer_token
Response
The signing secret to use for the webhook when a webhook_url
is provided and the webhook_authentication_type
is signing_secret
. This secret will only be returned once, make sure to save it in a secure location