S2S Contacts

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

put/s2s/contacts/{userId}

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/s2s/contacts/{userId}
  • Auth
    HTTP bearer

Path parameters

userIdstring required

Request body

namestring
emailstring
phonestring
languagestring

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

companyIdstring
companyNamestring
planstring
valuenumber double
customDataunknown

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