When a user of an online account changes their password, their API key will change and a new authorization will be required
| Attribute | Type | Description |
|---|---|---|
| login | string | The visitor's phone number in the format +13155550175, or their email address. |
| password | string | Visitor password |
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/booking/auth
- Production serverhttps://api.alteg.io/api/v1/booking/auth
curl -i -X POST \
https://developer.alteg.io/_mock/en/public/openapi/booking/auth \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: string' \
-H 'Content-Type: application/json' \
-d '{
"login": "testuser@alteg.io",
"password": "testpass"
}'Created
Response
{ "id": 123456, "user_token": "wec23fh8cDfFV4432fc352456", "name": "James Smith", "phone": "+13155550175", "login": "j.smith", "email": "j.smith@example.com", "avatar": "https://assets.alteg.io/general/0/01/123456789098765_12345678909876.png" }