Skip to main content
GET
/
jwt-templates
Get JWT templates
curl --request GET \
  --url https://api.wacht.dev/jwt-templates \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "token_lifetime": 123,
      "allowed_clock_skew": 123,
      "custom_signing_key": {
        "enabled": true,
        "key": "<string>",
        "algorithm": "<string>"
      },
      "template": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "has_more": true,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Response

200 - application/json

JWT templates

data
object[]
has_more
boolean
limit
integer | null
offset
integer | null