POST
/
environments
/
{environmentId}
/
externalJwt
/
check
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/externalJwt/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "encodedJwt": "<string>"
}'
{
  "valid": true,
  "errors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36

Body

application/json
JWT to be validated

Encoded Jwt to be validated

encodedJwt
string
required

Response

200
application/json
JWT validation result
valid
boolean
required

Indicates if the JWT is valid

errors
string[]

List of error messages if the JWT is invalid