Authenticates a user based on their email and password. Upon successful login, this endpoint returns an access token that can be used for authenticating subsequent requests to protected resources.
Request
Header Params
Body Params application/x-www-form-urlencoded
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://localhost:8000/users/login' \
--header'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode'username=user@example.com' \
--data-urlencode'password=strongpassword'