Customers actions
Get authentication token for a customer
Returns an authentication token for a specific customer. Another application that uses the CareCloud API can use this token to verify the customer's identity or authenticate the customer.
Typical uses include initiating customer sign-in in another application or portal, or passing a customer's identity to an in-app browser for a different application.
⚠️ Endpoint is available only in the Enterprise interface.
post/customers/actions/auth-token
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"customer_id": "8ea2591121e636086a4a9c0992",
"external_application_id": "82de12eb8b138791e678fd11c3",
"token_type": 2
}Response
OK
Example response
{
"data": {
"authentication_token": "LQ55EH",
"token_request_id": "6fb977c6fce6da6c0fa32aa1bc6417c621c116c65a5d638fefac1488334d67e33867675d",
"valid_to": "2019-01-04 10:31:56"
}
}