Skip to main content
POST
Login platform user
This endpoint allows white label admins to authenticate one of their platform users and receive an API token for that user. Use this to build custom authentication flows for your white label platform.
This endpoint requires authentication as a white label admin. Only users belonging to your platform can be logged in.

Request Body

string
required
The platform user’s email address
string
required
The platform user’s password
string
Optional name/label for the API token (e.g., “Mobile App”, “Web Dashboard”). Defaults to “api-token”.

Response

string
Success message
object
The authenticated user’s information
string
The API token for the platform user
string
The name/label of the token

Example Request

Using the User Token

The returned token belongs to the platform user and can be used for their authenticated requests: