Create Contact
Contacts
Create Contact
Create a new contact in a list
POST
Create Contact
Add a new contact to a contact list. The contact’s email must be unique within the list.Documentation Index
Fetch the complete documentation index at: https://docs.mailbreeze.com/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The unique list ID (e.g.,
lst_abc123).Request Body
Contact’s email address. Must be unique within the list.
Contact’s first name.
Contact’s last name.
Contact’s phone number.
Key-value pairs matching the list’s custom field definitions.
How the contact was acquired (e.g.,
api, import, form, manual).Type of consent obtained (NDPR compliance):
explicit, implicit, or legitimate_interest.Where consent was collected (e.g.,
signup_form, import, api).ISO 8601 timestamp when consent was given.
IP address from which consent was given.
Examples
Response
Unique contact ID.
Contact’s email address.
Contact’s first name.
Contact’s last name.
Contact’s phone number.
Custom field values.
Contact status:
active, unsubscribed, bounced, complained, or suppressed.Acquisition source.
ISO 8601 timestamp when created.
ISO 8601 timestamp when last updated.
ISO 8601 timestamp when subscribed.
Type of consent:
explicit, implicit, or legitimate_interest.Where consent was collected.
ISO 8601 timestamp when consent was given.
IP address from which consent was given.
Example Response
Errors
| Code | HTTP Status | Description |
|---|---|---|
CONTACT_ALREADY_EXISTS | 409 | Email already exists in this list |
LIST_NOT_FOUND | 404 | List with this ID doesn’t exist |
INVALID_CUSTOM_FIELD | 400 | Custom field key or value is invalid |
VALIDATION_ERROR | 400 | Invalid email format or required field missing |