Contacts

Create a contact

Add a single contact to your workspace. Set an email plus any standard or custom field values; custom fields must already exist (define them with Create a custom contact field). Emails are unique per workspace, so creating one that already exists returns 409 — use Update a contact to change an existing contact, or Start an async contact import to add many at once. Requires the contacts:write capability.

post/contacts

Request

  • Base URL: https://www.unitpost.com/api/v1
  • URL: https://www.unitpost.com/api/v1/contacts
  • Auth: HTTP bearer

Request body

emailstring required
first_namestring
last_namestring
unsubscribedboolean
custom_fieldsobject

Response

Created.

object'contact' required
idstring required
emailstring nullable required
first_namestring nullable required
last_namestring nullable required
unsubscribedboolean required
unsubscribed_atstring nullable required
unsubscribe_reason'USER' | 'MANUAL' | 'IMPORT' | 'BOUNCE' | 'COMPLAINT' nullable required
custom_fieldsobject required
created_atstring required
updated_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.