Create user token

Create user token

Endpoint

POST https://embedworkflow.com/api/v1/user_token

Request Body

key string, optionaldefault: main

User's key

id string, optional

System-generated unique identifier

Response

Returns successful.

Response Properties

user_token string

Authentication token for the user

Response
1
2
3
{
  "user_token": "eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJbHBuYVdRNkx5OWhZM1IxYldsNlpTOURiMjV1WldOMFFuazZPbFZ6WlhJdk1ERmhNVGhrWWpBdE5EbGtPQzAzWWpabExXSXhZekl0TXpGa01ERmlOalF4WldNMVAyVjRjR2x5WlhOZmFXNDlNVGN5T0RBd0Jqb0dSVlE9IiwiZXhwIjoiMjAyNi0xMS0wMVQxNjo0MTo0My4xNDRaIiwicHVyIjoiZGVmYXVsdCJ9fQ==--f797b42442da6a67f0085668ab29fcf671f71c73"
}