Authentication B2C
Log in with phone number and code
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.
post/user/auth
Headers
Acceptstring required
e.g. application/vnd.api.v2+json
Content-Typestring required
application/json
Authorizationstring required
Bearer partner_token
Request body
Example request
{
"login": "testuser@alteg.io",
"password": "testpass"
}Response
Created
Example response
{
"user_token": "wec23fh8cDfFV4432fc352456"
}