Create a contact
POST/v1/contacts
Creates a contact. full_name and phone_number are required. Optional fields include email, type, company_name, country_name, city_name, bio, additional_attributes, and is_blocked. When omitted, type defaults to external and is_blocked defaults to false.
Body
full_namestring required
emailstring (email) or null
phone_numberstring•E.164 format when type is external required
Example:+201288899999
typeenum: internal | external
Example:external
company_namestring or null
country_namestring or null
city_namestring or null
biostring or null
additional_attributesobject
is_blockedboolean
Example:false
Responses
Body
success_codeenum: 201•Numeric success code matching the HTTP response status. required
Example:201
messagestring required
Example:Contact created
detailsobject required
dataobject (GeneralContactCreatedData) required
idstring•Created contact ULID required
Example:01kptye62pxs8pp0xkh6d5vxz2
metaobject