Obtain JWT

API View that receives a POST with a user's email and password.

Returns a JSON Web Token that can be used for authenticated requests.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Serializer class used to validate a username and password.

'username' is identified by the custom UserModel.USERNAME_FIELD.

Returns a JSON Web Token that can be used to authenticate later calls.

string
required
string
required
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json