Metasender

Metasender objects are senders, which can be used on the master account as well as all sub-account API Keys. Use the resources below to manage your metasenders.

post

Create a new metasender

post

/metasender

Create a new metasender email address or domain. A metasender is a sender available for use by the Master API Key and all sub-accounts. The e-mail address or domain has to be registered and validated before being used to send e-mails. Validation is done by contacting the Mailjet Support team. In order to manage a sender available for a single API Key, see the related `/sender` resource.

Note: The maximum number of senders and metasenders per user is 100. This includes both validated (Active) and non-validated (Inactive) ones, but does not include Deleted senders / metasenders.

Full API path

https://api.mailjet.com/v3/REST/metasender

Body parameters

Description

string

User-provided readable description of the domain.

Email

string, required

The email address for this metasender. To register a domain instead of a single email address, use an asterisk for the local part - e.g. *@domain.com.

Responses

Note: You can find all the errors related to API in the error page

Count

integer

Data

array

Description

string

User-provided readable description of the domain.

CreatedAt

string

Timestamp indicating when this metasender object was created.

Email

string

The email address for this metasender. Domains are registered with an asterisk in place of the local part - e.g. *@domain.com.

Filename

string

Filename expected on the domain name webserver. Used to validate the metasender via the /sender/{sender_id}/validate resource.

ID

integer

Unique numeric ID for this metasender.

IsEnabled

boolean

Indicates whether the metasender was activated or not.

Total

integer