POST
/
api
/
account.login
curl --request POST \
  --url http://api-eu.rimdian.com/api/account.login \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "password": "<string>"
}'
{
  "account": {
    "id": "123456789",
    "full_name": "John Doe",
    "timezone": "Europe/Paris",
    "email": "johndoe@website.com",
    "locale": "en-US",
    "is_service_account": false,
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z"
  },
  "refresh_token": "xxxxx",
  "refresh_token_expires_at": "2024-01-01T00:00:00Z",
  "access_token": "xxxxx",
  "access_token_expires_at": "2024-01-01T00:00:00Z"
}

Body

application/json
Login payload
email
string
required
password
string
required

Response

200
text/plain
Login successful
account
object
refresh_token
string
refresh_token_expires_at
string
access_token
string
access_token_expires_at
string