Contacts
Contacts and suppression: endpoints of the Mailly email API for AI agents, with parameters, responses and code samples.
- Audiences the contact belongs to
- Contact delivery history (including alias emails)
- Contact details
- Contact event timeline
- Contact list
- Create or update a contact (upsert)
- Create or update contacts in bulk
- Import contacts from CSV
- Soft-delete a contact (also adds a workspace suppression)
- Suppress a contact (adds a workspace suppression)
Update a template draft PUT
Update a template draft with the Mailly email API for AI agents: PUT /templates/{templateKey}/draft. Parameters, request body, responses and code samples.
Audiences the contact belongs to GET
Audiences the contact belongs to with the Mailly email API for AI agents: GET /contacts/{externalContactId}/audiences. Parameters, request body, responses and code samples.