v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
JWT Templates

Create a JWT template

Create a new JWT template

post/jwt_templates

Request body

namestring required

JWT template name

claimsobject required

JWT template claims in JSON format

lifetimeinteger nullable

JWT lifetime

allowed_clock_skewinteger nullable

JWT allowed clock skew

custom_signing_keyboolean

Whether a custom signing key/algorithm is also provided for this template

signing_algorithmstring nullable

The custom signing algorithm to use when minting JWTs. Required if custom_signing_key is true.

signing_keystring nullable

The custom signing private key to use when minting JWTs. Required if custom_signing_key is true.

Response

Success

object'jwt_template' required
idstring required
namestring required
claimsobject required
lifetimeinteger required
allowed_clock_skewinteger required
custom_signing_keyboolean required
signing_algorithmstring required
created_atinteger required

Unix timestamp of creation.

updated_atinteger required

Unix timestamp of last update.