Authentication
Get a user token
Use this endpoint to create a user token for a specific user. This token can be safely passed to your user-facing front-end.
post/auth/user_token
Request
- Base URLhttps://api.hyperspell.com
- URLhttps://api.hyperspell.com/auth/user_token
- AuthHTTP bearer
Headers
X-As-Userstring nullable
Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token
Request body
Example request
{
"expires_in": "30m"
}Response
Successful Response
Changes
No operation changes recorded.