> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailjet

> How to set up the Mailjet connector, plus the actions and events that are available.

![Mailjet](https://stackone-logos.com/api/mailjet/filled/svg)

v1.2.0[See changelog](https://docs.stackone.com/connectors/mailjet/changelog.md)

[59 actions](#actions) · [8 events](#events) · 1 auth method

Messaging

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/mailjet/guides/connector-profile/api-key.md)
>
> Uses HTTP Basic authentication with your Mailjet API Key as the username and Secret Key as the password. Both are found...

Optionally, configure receiving Events for Mailjet into StackOne.

> [card] [Webhooks setup](https://docs.stackone.com/connectors/mailjet/guides/webhook-setup.md)

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/mailjet/guides/link-account/api-key.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

59 actions

ActionDescription

List Campaign Drafts`mailjet_list_campaign_drafts`

Retrieve a list of editable marketing campaign drafts (newsletters) with optional filtering.

Get Campaign Draft`mailjet_get_campaign_draft`

Retrieve a single editable campaign draft (newsletter) by its draft ID.

Create Campaign Draft`mailjet_create_campaign_draft`

Create a new marketing campaign draft (newsletter) shell to later add content to and send.

Update Campaign Draft`mailjet_update_campaign_draft`

Update the settings (sender, subject, target list) of an existing campaign draft.

Get Campaign Draft Content`mailjet_get_campaign_draft_content`

Retrieve the email body (HTML, text, MJML) of a campaign draft.

Update Campaign Draft Content`mailjet_update_campaign_draft_content`

Add or replace the email body (HTML, text, MJML) of a campaign draft.

Send Campaign Draft`mailjet_send_campaign_draft`

Send a marketing campaign draft (newsletter) immediately to its whole target contact list.

Schedule Campaign Draft`mailjet_schedule_campaign_draft`

Schedule a marketing campaign draft to be sent to its target list at a future date/time.

Test Campaign Draft`mailjet_test_campaign_draft`

Send a preview/test copy of a campaign draft to specific recipients before the real send.

List Campaigns`mailjet_list_campaigns`

Retrieve a list of already-sent campaigns (marketing and transactional) with optional filtering.

Get Campaign`mailjet_get_campaign`

Retrieve a single already-sent campaign record by its campaign ID.

List Contact Lists`mailjet_list_contact_lists`

Retrieve all contact lists on the account (not scoped to any single contact).

Get Contact List`mailjet_get_contact_list`

Retrieve a single contact list (its name, address, subscriber count) by list ID.

Create Contact List`mailjet_create_contact_list`

Create a new empty contact list (mailing list) on the account.

Update Contact List`mailjet_update_contact_list`

Rename an existing contact list, or mark it deleted/restored.

Delete Contact List`mailjet_delete_contact_list`

Permanently delete a contact list by its list ID.

Manage List Contact`mailjet_manage_list_contact`

Subscribe, update, or unsubscribe ONE contact to/from ONE contact list (synchronous).

Manage List Contacts (Bulk)`mailjet_manage_list_contacts_bulk`

Upload MANY contacts to ONE contact list in one asynchronous bulk job (returns a JobID).

List Contact Properties`mailjet_list_contact_properties`

Retrieve the account-wide custom-field DEFINITIONS (the property schema), not per-contact values.

Get Contact Property`mailjet_get_contact_property`

Retrieve a single custom-field DEFINITION (property schema) by its ID.

Create Contact Property`mailjet_create_contact_property`

Define a new account-wide custom contact field (property definition).

Update Contact Property`mailjet_update_contact_property`

Rename or retype an existing account-wide custom-field DEFINITION.

Delete Contact Property`mailjet_delete_contact_property`

Permanently delete an account-wide custom-field DEFINITION by its ID.

List Contacts`mailjet_list_contacts`

Retrieve a list of contacts on the account with optional filtering.

Get Contact`mailjet_get_contact`

Retrieve a single contact by numeric ID or email address.

Create Contact`mailjet_create_contact`

Create a new contact on the account (email required).

Update Contact`mailjet_update_contact`

Update an existing contact's display name or campaign-exclusion (suppression) setting.

Get Contact Data`mailjet_get_contact_data`

Retrieve the custom-field VALUES stored on a single contact.

Update Contact Data`mailjet_update_contact_data`

Set or update the custom-field VALUES on a single contact.

Get Contact's Lists`mailjet_get_contact_lists`

Retrieve the contact lists that ONE specific contact belongs to (with per-list subscription status).

Manage Contact's Lists`mailjet_manage_contact_lists`

Subscribe or unsubscribe ONE contact across MANY contact lists in one call (contact ID in path).

List Messages`mailjet_list_messages`

Retrieve a list of individual processed (sent) messages with rich filtering.

Get Message`mailjet_get_message`

Retrieve delivery details for a single processed message by its message ID.

Get Message Information`mailjet_get_message_information`

Retrieve size, spam-score, and delivery statistics for a single message by its message ID.

List Segments`mailjet_list_segments`

Retrieve a list of contact segmentation filters used to dynamically target campaigns.

Get Segment`mailjet_get_segment`

Retrieve a single contact segmentation filter (including its expression) by ID.

Create Segment`mailjet_create_segment`

Create a new contact segmentation filter from a targeting expression.

Update Segment`mailjet_update_segment`

Update the name, description, expression, or status of a segmentation filter.

Delete Segment`mailjet_delete_segment`

Delete a contact segmentation filter by ID (must not be in use).

Send Email`mailjet_send_email`

Send one or more transactional emails to specific recipients via the Send API v3.1.

List Senders`mailjet_list_senders`

Retrieve the sender addresses and domains configured on the API key, with validation status.

Get Sender`mailjet_get_sender`

Retrieve a single sender (address/domain and its validation status) by sender ID.

Create Sender`mailjet_create_sender`

Register a new sender email address or whole-domain (wildcard) sender.

Update Sender`mailjet_update_sender`

Update the display name, email type, or default flag of an existing sender.

Delete Sender`mailjet_delete_sender`

Delete a sender from the API key by its sender ID.

Validate Sender`mailjet_validate_sender`

Trigger validation of a sender (resend activation email or re-check domain DNS).

List Statistics Counters`mailjet_list_stat_counters`

Retrieve aggregated messaging statistics (sent, opened, clicked, bounced) grouped by source and time.

List Templates`mailjet_list_templates`

Retrieve a list of reusable email templates with optional filtering.

Get Template`mailjet_get_template`

Retrieve a single template's metadata by its template ID.

Create Template`mailjet_create_template`

Create a new reusable email template shell (content added separately).

Update Template`mailjet_update_template`

Update an existing template's metadata (name, purposes, categories, etc.).

Delete Template`mailjet_delete_template`

Permanently delete a reusable email template by its template ID.

Get Template Content`mailjet_get_template_content`

Retrieve the email body (HTML, text, MJML) of a template.

Update Template Content`mailjet_update_template_content`

Add or replace the email body (HTML, text, MJML) of a template.

List Event Callbacks`mailjet_list_event_callbacks`

Retrieve the Event API callback (webhook) URLs registered on the account.

Get Event Callback`mailjet_get_event_callback`

Retrieve a single Event API callback (webhook) URL by its ID.

Create Event Callback`mailjet_create_event_callback`

Register a new Event API callback (webhook) URL for a given message event type.

Update Event Callback`mailjet_update_event_callback`

Update an existing Event API callback (webhook) URL, or reactivate a suspended one.

Delete Event Callback`mailjet_delete_event_callback`

Delete an Event API callback (webhook) URL by its ID.

## Events

Tags

Select all
|
Clear

Messages

Webhooks

No tags found

8 events

EventDescriptionTags

Message Sent`mailjet_webhook_sent`Manual setup

Fires when a message is accepted and delivered to the recipient's mail server. Mailjet event type `sent`; the payload in...

MessagesWebhooks

Message Opened`mailjet_webhook_open`Manual setup

Fires when a recipient opens a message (requires open tracking to be enabled). Mailjet event type `open`; the payload in...

MessagesWebhooks

Link Clicked`mailjet_webhook_click`Manual setup

Fires when a recipient clicks a tracked link in a message (requires click tracking to be enabled). Mailjet event type \`c...

MessagesWebhooks

Message Bounced`mailjet_webhook_bounce`Manual setup

Fires when a message bounces — the recipient's server rejected or could not deliver it. Mailjet event type `bounce`; the...

MessagesWebhooks

Message Blocked`mailjet_webhook_blocked`Manual setup

Fires when a message is blocked before sending — for example the recipient address is on a suppression or block list. Ma...

MessagesWebhooks

Spam Complaint`mailjet_webhook_spam`Manual setup

Fires when a recipient marks a message as spam (a feedback-loop complaint). Mailjet event type `spam`; the payload inclu...

MessagesWebhooks

Unsubscribed`mailjet_webhook_unsub`Manual setup

Fires when a recipient unsubscribes via a message's unsubscribe link. Mailjet event type `unsub`; the payload includes \`...

MessagesWebhooks

Active Check`mailjet_active_check`Manual setup

Acknowledges any webhook delivery that is not a recognized Mailjet event — for example a connectivity or verification PO...

Webhooks


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.