POST
/
api
/
contacts

Authorizations

Authorization
string
headerrequired

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

Body

application/json
name
string

Name of the contact

number
string

Phone number of the contact

email
string

Email of the contact

profilePicUrl
string

URL of the profile picture

isGroup
boolean

Whether the contact is a group

isAdmin
boolean

Whether the contact is an admin

isOpen
boolean

Whether the contact is open

isBotEnabled
boolean

Whether the bot is enabled for the contact

utmCampaign
string

UTM campaign

utmContent
string

UTM content

utmMedium
string

UTM medium

utmSource
string

UTM source

utmTerms
string

UTM terms

active
boolean

Whether the contact is active

channel
string

Channel

whatsappId
string

WhatsApp ID

companyId
string

ID of the company associated with the contact

Response

201 - application/json
id
string
required

ID of the created contact

message
string
required