Create Contact
Creates a new contact in the specified sub-account.
https://api.vantaxai.com/v1/contactsA new contact defaults to `active` status. Tags must already exist in the sub-account — see Create Contact Tag to define them first.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Body Parameters
first_namestringrequiredThe contact's first name.
example: Jordan
last_namestringrequiredThe contact's last name.
example: Avery
emailstringrequiredThe contact's email address.
example: jordan.avery@example.com
phonestringrequiredThe contact's phone number in E.164 format.
example: +14155550142
sub_account_idstringrequiredSub-account that will own the contact.
example: sub_8a1f4c2e
statusstringoptionalInitial status. Defaults to active.
activedeactivatedexample: active
addressstringoptionalMailing or physical address.
example: 200 Market St, San Francisco, CA
lead_sourcestringoptionalWhere this contact originated.
example: website
tagsstring[]optionalTag names to apply to the contact.
example: ["vip", "newsletter"]