Generate a JWT bearer token (a signed token that proves who is calling) for a user, so you can impersonate that user in API requests. The call returns a JWT when the site emulates legacy API keys, which is the default. When emulation is off, it returns the legacy REST API key instead, provided legacy keys, REST access, and the caller's API rights are all enabled. Each call creates a new token, and earlier tokens for that user stay valid until they are revoked.
Authorization
Bearer YOUR_TOKEN
UserID
Authorization: Bearer YOUR_TOKEN
https://your-site.com/api/users/token?UserID=1559
{ "IsError": false, "ResponseMessage": "", "ResponseData": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.PAYLOAD.SIGNATURE" }
{ "Message": "The request is invalid." }
While Axero does not enforce hard rate limits by default, we recommend the following best practices to ensure optimal performance:
Axero may implement temporary rate restrictions if excessive API usage affects overall site performance. For high-volume integrations, contact Axero to discuss your requirements.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/109861/rest-api-create-bearer-token-for-user
Your session has expired. You are being logged out.