Skip to main content

Validate a JWT and retrieve user details (POST variant)

POST 

/auth/validate

Identical to GET /auth/validate but accepts the JWT in the request body instead of as a query parameter. Use this variant when the JWT is too long for a URL, or when sending it in the body is preferred for security reasons.

JWT delivery The JWT can be passed via:

  • JWT field in the request body
  • Authorization: Bearer <token> header (when enabled in plugin General Settings)

Request

Responses

JWT is valid. Returns the decoded token and the associated WordPress user.