Personal tokens

Create user client credentials token

This route creates a user-specific API token. Send the user’s ID in the frontegg-user-id header and the tenant’s ID in the frontegg-tenant-id header. Optionally, send as POST body params values for metadata and description.

post/resources/users/api-tokens/v1

Request

Headers

frontegg-tenant-idstring required

The tenant ID identifier

frontegg-user-idstring required

The user ID identifier

Request body

metadataobject

Extra data that will be encoded as part of the JWT

descriptionstring
expiresInMinutesnumber

Token expiration time in minutes. In case of undefined, the token won't be expired

Response

clientIdstring required
descriptionstring required
metadataobject required

Extra data that will be encoded as part of the JWT

createdAtstring date-time required
secretstring required
expiresstring date-time

Changes

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