- Log in with phone number and code
Send SMS Verification Code
Authorize Online Booking User
Log in with phone number...
To access both online and offline (e.g., phone-made) appointments, the user must log in by verifying their phone number. This is done by requesting a confirmation code to be sent via SMS using the "SMS phone number verification code" endpoint.
- Mock serverhttps://developer.alteg.io/_mock/en/public/openapi/user/auth
- Production serverhttps://api.alteg.io/api/v1/user/auth
curl -i -X POST \
https://developer.alteg.io/_mock/en/public/openapi/user/auth \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: string' \
-H 'Content-Type: application/json' \
-d '{
"login": "testuser@alteg.io",
"password": "testpass"
}'Response
{ "user_token": "wec23fh8cDfFV4432fc352456" }