# Authentication B2C End-customer authentication methods. Get access tokens required for some API operations. ## Send SMS Verification Code - [POST /v1/book_code/{location_id}](https://developer.alteg.io/en/authentication-b2c/send_booking_verification_code.md): + Request body + phone (required, string, '+13155550175') - phone to which the code will be sent + fullname (option, sring, James) - Client name ## Authorize Online Booking User - [POST /v1/booking/auth](https://developer.alteg.io/en/authentication-b2c/authorize_online_booking_user.md): 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 | ## Log in with phone number and code - [POST /v1/user/auth](https://developer.alteg.io/en/authentication-b2c/log_in_with_phone_number_and_code.md): 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.