latestOpenAPI 3.0.02026-08-21308337618.8 KB

93af2e90fb6a

S2S Contacts

Upsert contact

Create or update a contact. Returns the full contact including its unread conversation count.

put/s2s/contacts/{userId}

Path parameters

userIdstring required

Request body

namestring
emailstring
phonestring
languagestring

ISO language code, e.g. "en", "az".

companyIdstring
companyNamestring
planstring
valuenumber double
customDataRecordStringUnknown

Construct a type with a set of properties K of type T

Response

Ok

userIdstring required
namestring
emailstring
phonestring
languagestring
companyIdstring
companyNamestring
planstring
valuenumber double
customDataRecordStringUnknown

Construct a type with a set of properties K of type T

unreadnumber double
createdAtstring date-time
lastActivityAtstring date-time