← Owner · Contractor Call Desk
Twilio setup walkthrough (owner only)
Internal ops page — mirrors what G.G. walks the owner through on a call. Not for customers. Noindex.
📱 Twilio two-factor code = SMS text to your cell — not email.
Email verify is a separate code from Twilio (inbox). Phone 2FA always arrives as a text message to the number you enter. Check Messages — not your email.
Current status (honest)
- Done: New free Twilio account for
[email protected]
- Done: Email verified (email code used)
- Stuck here: Phone two-factor (SMS to the owner’s cell) — submit the phone in Twilio’s Secure Form / 2FA screen and enter the text code
- Not connected to Contractor Call Desk site yet
- No Account SID / Auth Token in Cloudflare Pages secrets yet
- Stub APIs return 501:
/api/twilio-sms, /api/twilio-voice, /api/twilio-status
CCD_SMS_LIVE is false — customer texting is not live
- No Twilio phone number bought (do not buy until the owner approves spend)
Guided walkthrough (follow in order)
Same order G.G. would use on a phone call. Stop at any blocker and wait for the owner.
1 Create the Call Desk Twilio account
Use email
[email protected] (Call Desk inbox — not a personal Gmail). Free trial / free account is fine for signup.
2 Verify email (inbox code — not SMS)
Twilio emails a short code (example shape: 297X4A) to the Call Desk inbox. Enter it on the email verify screen only.
This is not the phone two-factor code. Email verify ≠ phone 2FA.
3 Phone two-factor — YOU ARE HERE
On Twilio’s phone / two-factor screen, enter the owner’s cell number and submit.
The code arrives as an SMS text to that phone — not by email. Open Messages on the phone. Enter the code in Twilio.
If the text doesn’t show: wait a minute, check spam/filtered messages, confirm the number digits, ask Twilio to resend. Do not hunt the Call Desk email inbox for this code.
4 Open the Twilio Console
After 2FA succeeds, sign into console.twilio.com for the Call Desk account. Confirm you’re in the Call Desk project (not Liquid Lux or another old account).
5 Copy Account SID + Auth Token
Console → Account → copy Account SID and Auth Token (or create an API Key SID + Secret for the app). Keep them private. Do not paste them into the public site or chat.
6 Set Cloudflare Pages secrets (wiring only — texting still off)
Project contractor-call-desk. Put secrets when the owner is ready (wrangler / Dashboard). Typical keys: TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN (or API key pair), later messaging/from number SIDs.
Leave CCD_SMS_LIVE=false. Do not flip texting live on the customer site.
7 Do NOT buy a Twilio number yet
No number purchase until the owner explicitly approves spend. Numbers cost money (~$1+/mo plus usage). Skip Phone Numbers → Buy for now.
8 A2P 10DLC before any US customer texting
Trust Hub / Brand / Campaign registration is required before real US SMS. Identity/EIN steps are the owner-only. Until A2P is approved and CCD_SMS_LIVE is flipped on purpose, site copy stays “TEXTING COMING SOON” / “We never text you.”
9 Then (later) replace 501 stubs + flip site claims
Only after secrets, number (if approved), and A2P: implement real webhook handlers, validate Twilio signatures, then change public boxes from TEXTING COMING SOON to LIVE and update footer language. Not today.
What NOT to do
- Do not buy a Twilio phone number until the owner approves spend.
- Do not set
CCD_SMS_LIVE=true or claim texting works for customers.
- Do not put Twilio vendor 2FA instructions on the customer homepage.
- Do not hunt email for the phone 2FA code — it is an SMS text.
- Do not paste Auth Tokens into public pages, blog, or customer emails.
Email verify vs phone 2FA (quick)
| Step | Where the code arrives |
| Email verify | Email inbox ([email protected]) |
| Phone two-factor | SMS text to the cell number you enter — not email |
Full wiring checklist: Twilio enablement pack on the box (/workspace/gigi/twilio-enablement-pack.md). Password / spend / A2P identity = the owner-only. Public product today = Gigi answers calls, email summaries, mid-call checkout email, call-forwarding guides — not Twilio SMS.
☎️ Local numbers
Search and buy tools are built: /owner/local-numbers/. No A2P needed for voice numbers. Steps left for the owner:
- Finish Twilio login / 2FA if needed.
- Approve ~$20 to fund the Twilio account.
- Set Pages secrets TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN.
- Set CCD_TWILIO_BUY=true only when ready to purchase.
- Search an area code and buy on the owner page.