Skip to main content
POST
/
api
/
public
/
customer
/
upsert
/
info
Upsert user information
curl --request POST \
  --url https://api.example.com/api/public/customer/upsert/info \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "channel_phone_number": "<string>",
  "channel": "whatsapp",
  "contact_phone_number": "<string>",
  "meta_data": {}
}
'

Headers

x-api-key
string
required

API key needed to authorize the request

Body

application/json
channel_phone_number
string
required

The phone number of the channel you want associate with the user

Minimum string length: 1
channel
enum<string>
required

Channel you want associate with the user

Available options:
whatsapp,
web-whatsapp
contact_phone_number
string
required

Phone number you want associate with the user

meta_data
object
required
stageId
string

Stage ID you want associate with the user

agentId
string

Agent ID you want associate with the user

contact_email
string

Email you want associate with the user

contact_name
string

Name you want associate with the user

Response

Message sent successfully.