{auth_base_url}, check it out here - Get started with base url.
Note : APP-KEY to be passed in Headers can be obtained from the settings in the project dashboard
1. Signup API
This endpoints allows you to create a new user using the username and password method.Endpoint
Endpoint
{auth_base_url}/username-password-signup
Header
Header
string
required
App key of the particular project
Body Data
Body Data
POST the data in the application/json format.
string
required
Username of the user. Check out the username format here
string
required
Password of the user
Example
Request
Response
2. Login API
This endpoints allows you to login a user using the username and password method.Endpoint
Endpoint
{auth_base_url}/username-password-login
Header
Header
string
required
App key of the particular project
Body Data
Body Data
POST the data in the application/json format.
string
required
Username of the user. Check out the username format here
string
required
Password of the user
Response Body Data
Response Body Data
Example
Request
Response
Username
- The username must be between 4 and 20 characters long.
- The username can only contain alphanumeric characters (letters and digits) and underscores.
- The username cannot contain any spaces.
- The username must begin with a letter (a-z or A-Z).
Examples