Skip to main content
Version: 3.6.0

Simple-JWT-Login

REST API reference for the Simple-JWT-Login WordPress plugin — add token-based authentication to your WordPress site without writing a single line of code.

Base URL

All endpoints are available via two URL formats:

ModePattern
Pretty permalinkshttps://{domain}/wp-json/simple-jwt-login/v1/{endpoint}
Query stringhttps://{domain}/?rest_route=/simple-jwt-login/v1/{endpoint}

Authentication

Most write endpoints accept a JWT token delivered in one of four ways:

  • Authorization headerAuthorization: Bearer <token>
  • Query parameter?JWT=<token>
  • Request body{"JWT": "<token>"}
  • Cookie / Session — configurable in plugin settings

Cross-Origin Resource Sharing

This API is CORS-enabled in compliance with the W3C spec.

All responses include a wildcard Access-Control-Allow-Origin: * header, making the API accessible from any browser, SPA, or mobile app.

Try it out

  • Swagger Editor — paste the spec at editor.swagger.io
  • Postman — import openapi.yaml directly for a ready-made collection with local test support

License

GPL 3.0