GET/jwt_templates/{template_id}

Get a JWT template

Retrieves the details of a JWT template by its identifier. Use template_id to select the template whose claims, lifetime, and signing configuration you need.

1 parameter
template_idstringrequired
The unique identifier of the JWT template to retrieve.

2 status codes
200Returns the JWT template, including its ID, name, claims, lifetime, signing settings, and creation and update timestamps.
objectstringrequired
Allowed:jwt_template
idstringrequired
namestringrequired
claimsobjectrequired
lifetimeintegerrequired
allowed_clock_skewintegerrequired
custom_signing_keybooleanrequired
signing_algorithmstringrequired
created_atintegerrequired
Unix timestamp of creation.
updated_atintegerrequired
Unix timestamp of last update.
404Returned when the requested JWT template does not exist.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional

Error handling

A 404 is returned when the specified template does not exist. The template_id path parameter must identify the JWT template to retrieve.