Mailjet API
14 endpoints for Mailjet, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/mailjet
- Connects with
- Your own Mailjet login. What your agent can do follows your access: a shared user with the Marketer or Manager role can manage lists and campaigns, and account sharing is a Premium and Custom feature.
- Integration page
- Mailjet
Read (6)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Contact lists of your Mailjet account with their subscriber counts. |
| GET | Contacts of one list with their properties, filtered by segment or email address. |
| GET | Segments from Contacts, then Segmentation, with their filters. |
| GET | Campaigns of your account with their status, subject and list. |
| GET | Delivery and engagement numbers of one sent campaign. |
| GET | Contacts behind one count of a campaign: who opened, clicked, bounced or was blocked. |
Write (8)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Create a segment from activity, list and contact property filters. |
| POST | Copy a sent or draft campaign into a new draft. |
| PATCH | Change the name, subject or sender of a draft campaign. |
| PUT | Choose the contact list and optional segment a draft campaign goes to. |
| POST | Schedule a draft campaign to send at a set time. |
| POST | Send a draft campaign now. |
| POST | Cancel the schedule of a campaign so it can be edited. |
| POST | Unsubscribe contacts from a list or exclude them from all campaigns. |