v52

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-01353775.9 KB
Customer

post/v1/customer/token

Request body

firstNamestring

The first name of the customer

lastNamestring

The last name of the customer

emailstring email

The email of the customer

phoneNumberstring

The phone number of the customer (in international / E.164 format)

displayNamestring

The display name of the customer

remoteIdstring

The id of the customer in the ticketing system. For the SDK this needs to be stable and unique

subscriberCustomerIdstring

The id of the customer in your own primary database or a unique identifier, for example a cookie

subscriberTokenstring

A token that can be used to authenticate the customer in the your system, like a JWT

avatarUrlstring

The URL of the customer avatar

expirystring

The expiry of the conversation initialization token, if not provided it will be set to 1 hour

Example request

{
  "firstName": "Lori",
  "lastName": "Keet",
  "email": "lori@keet.com",
  "phoneNumber": "+14155552671",
  "displayName": "Lori Keet",
  "remoteId": "1234567890",
  "subscriberCustomerId": "1234567890",
  "avatarUrl": "https://example.com/image.jpg",
  "expiry": "1h"
}

Response

A generated JWT token

string required