Create a new contact. At least one of email or phone_number is required.
If a contact with the same email or phone number already exists, a 409 Conflict
error is returned. Use the Update a contact endpoint to modify existing contacts.
If a previously deleted contact matches the provided email or phone number, the contact is restored with the new data.
OAuth 2.0 access token. Include as Authorization: Bearer <token>.
At least one of email or phone_number is required.
Contact's email address.
"jane@example.com"
Contact's phone number in E.164 format.
"+15551234567"
Contact's first name.
"Jane"
Contact's last name.
"Doe"
Tags to apply to the contact.
["vip", "repeat-buyer"]Flat key-value pairs. Nested objects are not allowed.
{ "loyalty_tier": "gold" }Email marketing consent status. If not provided, defaults to non_subscribed.
subscribed, unsubscribed, non_subscribed "subscribed"
SMS marketing consent status. Setting to subscribed requires a valid
phone_number from a supported country. Cannot be unsubscribed for
new contacts.
subscribed, unsubscribed, non_subscribed "non_subscribed"
Contact created successfully.