Mailjet Mail
Mailjet is an email delivery and marketing platform that exposes REST APIs for sending transactional and marketing emails, managing contacts and contact lists, and tracking campaign and message performance. This connector lets you ingest Mailjet resources such as contacts, campaigns, messages, and statistics into Nexla, and send data back to Mailjet to create contacts, manage lists, and trigger email sends.
Power end-to-end data operations for your Mailjet Mail API with Nexla. Our bi-directional Mailjet Mail connector is purpose-built for Mailjet Mail, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Mailjet Mail or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Mailjet Mail workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
Before creating a Mailjet Mail credential, you need your Mailjet API Key and API Secret Key. Every Mailjet REST API request is authenticated with HTTP Basic Auth, where the API Key is used as the username and the API Secret Key is used as the password.
To obtain your Mailjet API keys, follow these steps:
-
Sign in to your Mailjet account at app.mailjet.com.
-
Open Account settings, then navigate to the API Key Management (Primary and Sub-accounts) page.
-
Locate the API Key you want to use. The API Key is displayed directly on this page.
-
Copy the corresponding Secret Key. For security, the Secret Key is shown in full only when the key pair is first generated, so store it in a secure location. If you no longer have it, click the gear icon next to the API Key and select Reset Secret Key to generate a new Secret Key.
-
Note the base URL for the Mailjet API, which is
https://api.mailjet.comfor the standard Email API.
Both keys are generated automatically when your Mailjet account is created and act like a username and password pair for authenticating REST API requests. Treat the Secret Key as sensitive information — if it is ever compromised, reset it from the API Key Management page. For more detail, see the Mailjet Email API Authentication guide and API Key Configuration reference.
Authenticate
Credentials required
HTTP Basic Authentication using Mailjet API Key ID as username and API Key Secret as password.
| Field | Required | Secret | Description |
|---|---|---|---|
| API Key | Yes | No | Your Mailjet API Key (used as the HTTP Basic Auth username). |
| API Secret Key | Yes | Yes | Your Mailjet API Secret Key (used as the HTTP Basic Auth password). |
| Base URL | Yes | No | The base URL for the Mailjet API. |
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your Mailjet API Key in the API Key field. This value is used as the HTTP Basic Auth username.
-
Enter your Mailjet API Secret Key in the API Secret Key field. This value is used as the HTTP Basic Auth password and must be kept confidential.
-
Enter the Base URL for the Mailjet API. Unless you have been directed to a different endpoint, use
https://api.mailjet.com.If your API Secret Key is ever compromised, reset it from the Mailjet API Key Management page and update this credential with the new value.
For more information about Mailjet authentication and API keys, see the Mailjet Email API Authentication guide.
-
Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Mailjet Mail connector tile, then select the credential that will be used to connect to Mailjet, and click Next; or, create a new Mailjet Mail credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Mailjet endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
Mailjet data sources can also be manually configured to ingest data from any valid Mailjet API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Mailjet data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the Mailjet destination, and select the Send to Destination option from the menu. Select the Mailjet Mail connector from the list of available destination connectors, then select the credential that will be used to connect to Mailjet, and click Next; or, create a new Mailjet Mail credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Mailjet endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
Mailjet destinations can also be manually configured to send data to any valid Mailjet API endpoint. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.
Mailjet APIs expect JSON payloads for write operations. For update operations, include the ID of the object to be updated at the end of the URL.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Mailjet endpoint, open the destination resource menu, and select Activate.
The Nexset data will not be sent to the Mailjet endpoint until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.