cURL
curl --request GET \ --url https://demo.enneo.ai/api/mind/telephony/getToken \ --header 'Authorization: Bearer <token>'
{ "userId": 42, "userEmail": "agent@enneo.com", "token": "a7392f8d2349ab3c70293847239062734982374" }
Returns a token for the currently logged in user. Needed so that the iframe can verify the authenticity of the user.
JWT-based authentication
Successful operation
ID of the authenticated user
42
Email of the authenticated user
"agent@enneo.com"
Authentication token
"a7392f8d2349ab3c70293847239062734982374"