---
title: "Send SMS Verification Code"
method: POST
path: "/book_code/{location_id}"
tags: ["Authentication B2C"]
---

# Send SMS Verification Code

`POST /book_code/{location_id}`

+ Request body
    + phone (required, string, '+13155550175') - phone to which the code will be sent
    + fullname (option, sring, `James`) - Client name

## Path parameters

- `location_id` number, required

## Headers

- `Accept` string, required
- `Content-Type` string, required
- `Authorization` string, required

## Request body

- BookCodeCompanyidDataTypesRequest — Send SMS verification code for phone number
  - `phone` string — Customer phone number
  - `fulname` string — Client name

## Response `201`

Created

- BookCodeCompanyidDataTypeResponse
  - `success` boolean — Execution success status (true)
  - `meta` object — metadata
    - `message` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/alteg/apis/online-booking.md) · [All operations](https://skmtc.net/alteg/apis/online-booking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alteg/online-booking/versions/623dc683246f/schema)
