Custom identification

Exchange a jwt token that contains secret per-user authentication information with a jwt that can be used for all other API endpoint invocations. The jwt is valid for 7 days.

The input jwt token should be encrypted with the HS256 JWT algorithm and the secret key obtained from [email protected]. This JWT token should contain the following custom claims:

  • customer_id - A string that uniquely identifies the underlying customer account.
  • sms_notification_phone_number - If specified, a string that contains a phone
    number (with +XXX international prefix) to which sms notifications should be
    sent whenever a human sends a reply to this customer
  • name - A string which contains the customer's name to display in the Alcméon user profile
  • attributes - A list of key/value string pairs: If specified, a set of key/value metadata
    fields which will be associated with the customer and displayed on the user profile page
    in Alcméon. Example: [["age", "24"], ["City", "Paris"]]
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the page. This is not an integer.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json