link_phone
Tie this agent to the phone number of the person it books for: the hub texts that number a six-digit code naming this agent, and confirm_phone spends it. Afterwards confirm_booking may leave contact.phone out — the linked number is used — and every booking made through this key shows up on that person's own list of bookings at /me, next to the ones they made on the site. Ask the person for their own number and never anybody else's: a code arrives on their phone with this agent's name on it. Answers { ok: true, sent: true } whatever the hub knows about the number (codes-paused when the day's codes are spent), and 3 calls per agent per hour is the budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | The person's own number (9 digits, or +country code and the number). |