Skip to main content

Token

FIYGE uses bearer token for authentication. The default timespan is 30 minutes, while the refreshing window is within 24 hours of the issuing time of the current token.

Authorization: Bearer <your_token>

To refresh token​

Users would be able to refresh token within the refreshing window with the following endpoint. Outside of the refreshing window, users cannot refresh token and therefore are required to log in again.

Request​

POST /access_controls/users/access_token.json

Payload​

refresh_token YOUR_REFRESH_TOKEN