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
{"stackTrail":"components:schemas:S2SUpsertContactBody:properties:customData","oasType":"schema","type":"unknown","description":"Arbitrary custom contact data (flat key→value object)."}

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

Changes

Changed in 2 of the 20 revisions of this API.11