Create Contact
API for creating contact. For creating a contact, email and list id is required. If you try to create a contact that already exists, it gives an “already exists” message . You can add custom property data by mapping the property id : value. You can add contacts until your contact quota limit is reached. If you create a contact in a suppressed list and if this contact is also present in the active list, the contact will be removed from the active list to the suppressed list.
Authorizations
Your Mailercloud API key (plain text, no Bearer prefix). Create keys in Settings → API.
Headers
Request body type
Body
The email for the contact. This is required to be a valid email.
Maximum: 200
200The contact list id to which you want to add this contact
1The city of the contact
Maximum: 100
100The country of the contact
Maximum: 50
50Json for custom property
Text - maximum: 100
Textarea - maximum: 500
Number - Numeric values only
Date - maximum: 10,format = 2006-01-02
The department of contact
Maximum: 100
1The industry of the contact
Maximum: 100
100The job title of the contact
Maximum: 100
100The last name for the contact
Maximum: 25
25The lead sorce of contact
Maximum: 50
50The middle name of contact
Maximum: 25
25Name of your contact
Maximum: 25
25The company name of your contact
Maximum: 150
150The phone number of your contact
Maximum: 25
1The salary of your contact
Maximum: 15
The state of your contact
Maximum: 100
100The postal code of your contact
Maximum: 25
25Allowed values - active, bounce, abuse, unsubscribe, suppressed, spam complaints
Default: active
The tags of your contact
Response
Created