POST
/
api
/
contacts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
active
boolean

Whether the contact is active

channel
string

Channel

companyId
string

ID of the company associated with the contact

email
string

Email of the contact

isAdmin
boolean

Whether the contact is an admin

isBotEnabled
boolean

Whether the bot is enabled for the contact

isGroup
boolean

Whether the contact is a group

isOpen
boolean

Whether the contact is open

name
string

Name of the contact

number
string

Phone number of the contact

profilePicUrl
string

URL of the profile picture

utmCampaign
string

UTM campaign

utmContent
string

UTM content

utmMedium
string

UTM medium

utmSource
string

UTM source

utmTerms
string

UTM terms

whatsappId
string

WhatsApp ID

Response

201 - application/json
id
string
required

ID of the created contact

message
string
required