How do I generate an API token?
Access tokens are dynamically generated. A user can generate a token with their credentials here: https://api.vexcelgroup.com/v2/ or use a POST call to log in to request a token like this:
https://api.vexcelgroup.com/v2/auth/login?
https://api.vexcelgroup.com/v2/auth/login?username={username}&password={password}
Response example:
{
"user":{
"username": "Clara Baker",
"name": "clara.baker@vexcelgroup.com",
"federated": false,
"active": true,
"companyName": "Vexcel Group",
"companySlug": "vexcel_group"
},
"token": "X",
"date-creation": "2025-03-26T17:20:24",
"date-expiration": "2025-03-27T17:20:24"
}
Tokens are valid for 24-hours.
