session

Verify JWT token

Changed on

Verify the validity of a JWT access token. If no request body is provided, the Authorization header will be used for verification.

post/token/verify

Request

  • Base URL
    https://{subdomain}.auth.{region}.nhost.run/v1
  • URL
    https://{subdomain}.auth.{region}.nhost.run/v1/token/verify
  • Auth
    • HTTP bearer
    • or none

Request body

tokenstring

JWT token to verify

Response

Valid JWT token

string required

Example response

"OK"

Changes

    • warning

      added the new otp-too-many-attempts enum value to the response property for the response status

    • warning

      added the new user-already-exists enum value to the response property for the response status

    • info

      removed the email-already-in-use enum value from the response property for the response status