Skip to main content
POST
Update a customer

Authorizations

Authorization
string
header
required

Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.

Body

application/json
id
integer
required
first_name
default:UNSET
last_name
default:UNSET
avatar_url
default:UNSET
attributes
tags
gender
default:UNSET
Available options:
male,
female
whatsapp_phones

Response

Request fulfilled, document follows

id
integer
required
first_name
string
required
organization_id
integer
required
attributes
CustomerAttribute · object[]
required
last_name
string | null
avatar_url
string | null
tags
Tag · object[] | null
custom_attributes
object
gender
string | null
gender_source
string | null
merged_into_id
integer | null
has_open_suggestion
boolean
default:false
channels
enum<string>[]

Channel type (web, android_sdk, ios_sdk, whatsapp)

Available options:
whatsapp,
android_sdk,
ios_sdk,
web,
voice,
social,
x,
email,
instagram,
linkedin