POST
/
api
/
v1
/
auth
/
token-auth
/
identities
/
{identityId}
/
tokens

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

identityId
string
required

The ID of the identity to create the token for.

Body

application/json
name
string

The name of the token to create.

Response

200 - application/json
accessToken
string
required
expiresIn
number
required
accessTokenMaxTTL
number
required
tokenType
enum<string>
required
Available options:
Bearer

Was this page helpful?