Skip to main content
PUT
Create or update a contact

Authorizations

Authorization
string
header
required

Your API key (fk_live_…) from Settings → Developers.

Path Parameters

userId
string
required

Your own ID for this user. 1 to 128 letters, numbers or _ . : @ + -.

Example:

"user_42"

Body

application/json
name
string
Example:

"Ada Obi"

email
string<email>
Example:

"ada@example.com"

phone
string

7 to 15 digits with the country code.

Example:

"+2348012345678"

attributes
object

Up to 50 per request and 100 in total. Values are text up to 500 characters, numbers or true/false. null removes one.

Example:

Response

The contact, and how many chats it's linked to.

contact
object
linkedChats
integer
Example:

1