{
  "id": "4b027003-6d6d-4a82-bc37-f8acebf1d1ac",
  "slug": "twilio",
  "name": "Twilio API (SMS and Voice, SG numbers)",
  "provider": "Twilio",
  "category_slug": "communications",
  "description": "Programmable SMS, voice, WhatsApp and verification APIs with Singapore phone numbers and local compliance handling (SGNIC registration for SMS sender IDs). The default CPaaS for SG OTP and notification flows.",
  "base_url": "https://api.twilio.com/2010-04-01",
  "docs_url": "https://www.twilio.com/docs",
  "openapi_url": "https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_api_v2010.json",
  "auth_type": "api_key",
  "auth_guide": [
    "Sign up at twilio.com; trial account works immediately with verified numbers.",
    "Copy Account SID and Auth Token from the console (or create API keys).",
    "For SG alphanumeric sender IDs, register via Twilio per SGNIC/IMDA rules (mandatory since 2023, otherwise SMS shows LIKELY-SCAM).",
    "Send requests with HTTP Basic auth (SID as username, token as password)."
  ],
  "pricing": "paid",
  "rate_limit": null,
  "example_request": "curl -X POST 'https://api.twilio.com/2010-04-01/Accounts/ACXXXX/Messages.json' -u ACXXXX:AUTH_TOKEN -d 'To=+65XXXXXXXX' -d 'From=SENDER_ID' -d 'Body=Your OTP is 123456'",
  "example_response_snippet": "{\"sid\":\"SMXXXXXXXX\",\"status\":\"queued\",\"to\":\"+65XXXXXXXX\",\"from\":\"SENDERID\",\"body\":\"Your OTP is 123456\"}",
  "agent_notes": "SG-specific gotcha: unregistered alphanumeric sender IDs get rewritten to LIKELY-SCAM by the national SMS registry; register the sender ID before launch. Trial accounts can only message verified numbers.",
  "status": "live",
  "tags": [
    "twilio",
    "sms",
    "otp",
    "voice",
    "cpaas"
  ],
  "sg_official": false,
  "created_at": "2026-07-05T08:44:12.535Z",
  "updated_at": "2026-07-05T09:15:27.104Z",
  "page_url": "https://singaporeapi.com/apis/twilio"
}