Authentication
Get an access token
Authentication
Get an access token
Login to the Rimdian API
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
The body is of type object
.
Response
200
text/plain
Login successful
The response is of type object
.
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"
}