Home / Docs Center / Platform API / Login

Login

Platform API · Account Integration

Project: Platform API | page_id: 99

Brief Description:

  • Account login

Request URL:
- /login/login

Request Method:
- POST

Request Parameters:

Parameter Required Type Description
username Yes string The email used at registration
password Yes string The password used at registration

Response Example

  {
    "token": "testToken",
    "name": "Mr. Wang",
    "level": 0,
  }

Response Parameter Description

Parameter Type Description
token string Authentication token required by the head auth of subsequent API requests
name string Name of the current user
level int User level (0: normal user, 3: distributor)

Notes

  • The request parameters channel, token and t are added by default; see the API reference.
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.