Skip to main content
POST
/
token
/
verify
Verify JWT token
curl --request POST \
  --url https://{subdomain}.auth.{region}.nhost.run/v1/token/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "<string>"
}'
"OK"

Authorizations

Authorization
string
header
required

Bearer authentication with JWT access token. Used to authenticate requests to protected endpoints.

Body

application/json

Optional JWT token to verify (if not provided, Authorization header will be used)

token
string

JWT token to verify

Response

Valid JWT token

The response is of type string.

Example:

"OK"

I