Get the JWT template for your project based on the template_type
Get JWT templates
GET
https://management.stytch.com/v1/projects/{project_id}/jwt_templates/{template_type}Path parameters
project_id* string
The project_id to get the values for.
template_type* string (enum)
The type of the template, either SESSION or M2M
Response fields
request_id string
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
status_code int
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
jwt_template JWTTemplate
The retrieved template