Bearer Token

Gets a Bearer token based on a username and password. If the user has enabled 2FA, you will also need to provide a TOTP code generated by the user.

🚧

Heads-up!

This endpoint uses the spaces.nexudus.com host and not your own portal domain.

grant_type=password&username=john%40example.com&password=:password

Refresh Access Token

Gets a new short-lived access token based on a refresh token. Refreshing a token for a client ID will invalidate all previous refresh tokens for that client ID but not existing Access Tokens that may not have expired.Refresh Tokens are valid for 15 days. If your refresh token has expired, you will need to use a username and password to create a new access token.

POST https://spaces.nexudus.com/api/token
Body:
grant_type=refresh_token&refresh_token=2669808...
HeaderTypeDescription
client_idstringRequired. The client id to refresh the access token for. This must the same as the client id you passed in when creating the access token. If you did not pass a client_id header to get the initial token, you must pass the email used to obtain the initial token as the client_id header to refresh it.
Language
Click Try It! to start a request and see the response here!