Create an initial access token.
POST
/api/admin/iat-tokens
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/iat-tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "description": "Token for dynamic client registration.", "expiresInDays": 30, "single_use": true }'Generates a new OAuth Dynamic Client Registration Initial Access Token, stores only its SHA-256 hash, and returns the plaintext token once. The token expires according to expiresInDays and may be marked single-use.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
description
string
expiresInDays
integer
single_use
boolean
key
additional properties
Example
{ "description": "Token for dynamic client registration.", "expiresInDays": 30, "single_use": true}Responses
Section titled “ Responses ”Initial Access Token creation response. The plain token is returned only once.
Media type application/json
object
token
required
string
tokenHash
required
string
description
required
string
expiresInDays
required
integer
single_use
required
boolean
message
required
string
key
additional properties
Example
{ "token": "9e7f5a1c...", "tokenHash": "7f9c2ba4...", "description": "Token for dynamic client registration.", "expiresInDays": 30, "single_use": true, "message": "Token created successfully. Save this token securely - it will not be shown again."}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}