Skip to content

Authentication

User authentication and verification endpoints for online booking

Send SMS Verification Code

Request

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

location ID

Example:4564
Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token

Bodyapplication/jsonrequired
phonestring

Customer phone number

Example:"+13155550175"
fulnamestring

Client name

Example:"James Smith"
curl -i -X POST \
  https://developer.alteg.io/_mock/en/public/openapi/book_code/4564 \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "phone": "+13155550175",
    "fulname": "James Smith"
  }'

Responses

Created

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
metaobject

metadata

Example:
{ "message": "Created" }
Response
{ "success": true, "meta": { "message": "Created" } }