Authentication

Get the API token of a user

POST /api/v1/user/login

No API token needed.

Trades an email address and a password for the user's API token. No token is needed to call it. Limited to 5 calls a minute from one IP address.

Request body application/x-www-form-urlencoded
email string (email) required
password string required
Responses
200 The user's API token.
401 No user has this email address and password.
422 The email address or the password is missing.
429 More than 5 calls in a minute from this IP address.
Get the API token of a user
1 2 3 4
curl -X POST 'https://your-domain/api/v1/user/login' \
  -H "Accept: application/json" \
  --data-urlencode 'email=user@example.com' \
  --data-urlencode 'password=your-password'
Response
{
    "api_token": "YOUR_API_TOKEN"
}