POST
/contactsCreate a new contactRequest body
application/json
objectCreateContactOptions
audience_idstringUnique identifier of the audience to which the contact belongs.
emailstringrequiredEmail address of the contact.
first_namestringFirst name of the contact.
last_namestringLast name of the contact.
propertiesobjectA map of custom property keys and values to create.
segmentsarray of stringArray of segment IDs to add the contact to.
Show child attributes
topicsarray of objectArray of topic subscriptions for the contact.
Show child attributes
Show array items
idstringThe topic ID.
subscriptionstringThe subscription status for this topic.
unsubscribedbooleanThe Contact's global subscription status. If set to true, the contact will be unsubscribed from all Broadcasts.
{
"audience_id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
"email": "steve.wozniak@gmail.com",
"first_name": "Steve",
"last_name": "Wozniak",
"properties": {
"additionalProp1": null
},
"segments": [
"string"
],
"topics": [
{
"id": "string",
"subscription": "opt_in"
}
],
"unsubscribed": false
}Responses
objectCreateContactResponseSuccess
idstringUnique identifier for the created contact.
objectstringType of the response object.
{
"id": "479e3145-dd38-476b-932c-529ceb705947",
"object": "contact"
}