API token

Authenticate using API token

This route authenticates a tenant’s or user’s API token. The clientId and secret key are in Admin Portal ➜ API Tokens. Send these values as params in the POST body and authenticate to your Frontegg domain by replacing api.frontegg.com with your Frontegg domain.</br>NOTE: This route enforces(by default) a rotation mechanism for refresh tokens associated with the API token. It limits each token to a maximum of 100 refresh tokens simultaneously. When a client authenticates using the same API token for the 101th time, the earliest refresh token is automatically invalidated.

post/resources/auth/v2/api-token

Request

Request body

clientIdstring required
secretstring required

Response

access_tokenstring required
refresh_tokenstring required
expires_innumber required
expiresstring required

Changes

No recorded changes to this operation across all 1 revision of this API.