Generate authentication token
Generates a JWT token for staff authentication
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"email_id": "string",
"password": "string",
"company_uuid": "string"
}
Request Code Samples
curl --location 'https://api.ffdemo.ufp.ai/token' \
--header 'client_id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email_id": "string",
"password": "string",
"company_uuid": "string"
}'
Responses
Token generated successfully
{
"token": "string",
"refresh_token": "string",
"success": true,
"errors": [
"string"
]
}
Modified at 2025-06-12 13:10:23