Skip to main content
POST
Create a contact

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

phone
string
Maximum string length: 30
first_name
string | null
Maximum string length: 100
last_name
string | null
Maximum string length: 100
email
string<email> | null
Maximum string length: 254
meta
object
external_url
string<uri> | null
Maximum string length: 200
id
string<uuid>
source
string
default:website
created_on
string<date-time>
tags
object[]
default_assignees
integer[]
overwrite_tags
boolean
default:false

If true, the tags will be overwritten with the new value. If false, the new value will be merged with the existing value. Default is false.

overwrite_default_assignees
boolean
default:false

If true, the default_assignees will be overwritten with the new value. If false, the new value will be merged with the existing value. Default is false.

overwrite_meta
boolean
default:false

If true, the meta field will be overwritten with the new value. If false, the new value will be merged with the existing value. Default is false.

Response

201 - application/json
canonical_phone
string
required
Maximum string length: 30
created_by
integer
required
read-only

User ID of the user who created the contact

phone
string
required

Phone number of the contact

id
string
required

UUID representing the contact ID

last_updated_on
string<date-time>
required
read-only
source
string
required
Maximum string length: 255
tags
object[]
required

Tags associated with the contact

default_assignees
object[]
required

ID of the default assignees for the contact

inbox_contacts
object[]
required

URL of the inbox conversation associated with the contact

default_conversation_url
string
required
read-only
first_name
string | null
Maximum string length: 100
last_name
string | null
Maximum string length: 100
email
string<email> | null
Maximum string length: 254
meta
object
external_url
string<uri> | null
Maximum string length: 200
created_on
string<date-time>