Skip to main content
POST
/
environments
/
{environmentId}
/
externalJwt
/
check
Check if the external provided JWT is valid for the specified environment
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

Path Parameters

environmentId
string
required
Required string length: 36
Example:

Body

application/json
encodedJwt
string
required

Response

valid
boolean
required
errors
string[]