JWT Endpoints

Note

Djoser settings won’t have an effect on your JWT resources. Visit djangorestframework-simplejwt to check what can be configured.

JWT Create

Use this endpoint to obtain JWT.

Default URL: /jwt/create/

Method Request Response
POST
  • {{ User.USERNAME_FIELD }}
  • password

HTTP_200_OK

  • access
  • refresh

HTTP_401_UNAUTHORIZED

  • non_field_errors

JWT Refresh

Use this endpoint to refresh JWT.

Default URL: /jwt/refresh/

Method Request Response
POST
  • refresh

HTTP_200_OK

  • access

HTTP_401_UNAUTHORIZED

  • non_field_errors

JWT Verify

Use this endpoint to verify JWT.

Default URL: /jwt/verify/

Method Request Response
POST
  • token

HTTP_200_OK

HTTP_401_UNAUTHORIZED

  • non_field_errors