{"uid":"cap_Iv1uNCir1lddqCwNIWETg","slug":"apiosk-gateway-twilio-execute-f759194b","name":"Apiosk Gateway – Twilio Execute","description":"Pay-per-call API gateway on the x402 protocol (HTTP 402 + USDC on Base). This document covers the gateway's discovery and execution meta-endpoints. Individual provider APIs are reachable at /{api_slug}/{path} and described by GET /{api_slug}/metadata.","url":"https://gateway.apiosk.com/twilio/execute","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"JSON payload forwarded to the selected operation."},"operation":{"type":"string","description":"Operation id, /path, or METHOD /path selector."}}},"responseSchema":{"type":"object","required":["status","result"],"properties":{"api":{"type":"string"},"cost":{"type":"string"},"result":{"description":"Upstream response body."},"status":{"type":"string"},"latency":{"type":"number"},"operation":{"type":"string"},"upstream_status":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.125","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.125/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N755olLW_fQLPEhp8darr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.125","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a Twilio API operation via the Apiosk pay-per-call gateway using the x402 protocol with USDC micropayments on Base.","exampleAgentPrompt":"Send an SMS to +15551234567 saying 'Your appointment is confirmed for tomorrow at 3pm' — use the Twilio messages operation with my Twilio account credentials in the JSON payload.","exampleUseCases":[{"title":"Automated SMS appointment reminder","prompt":"Send a text message to +14155551234 saying 'Reminder: your dentist appointment is tomorrow at 10am. Reply STOP to opt out.' — route it through the Twilio messages create operation."},{"title":"Programmatic outbound voice call","prompt":"Trigger an outbound phone call from +18005550100 to +12125559876 using the Twilio calls create operation, with a TwiML URL pointing to my voice script."},{"title":"Delivery status check for sent SMS","prompt":"Check the delivery status of Twilio message SID SM1234567890abcdef1234567890abcdef using the messages fetch operation so I know if it was delivered."}],"resultDescription":"Returns a JSON object with a status field, the upstream Twilio response body under 'result', the upstream HTTP status code, latency in milliseconds, the resolved operation name, and the cost charged in USDC.","failureModes":["Invalid operation selector returns error indicating unrecognized path or method","Malformed JSON payload forwarded to Twilio causes upstream 400 error reflected in upstream_status","Insufficient USDC balance or missing x402 payment header results in HTTP 402 payment required","Twilio credential errors (invalid AccountSid/AuthToken) cause upstream 401 reflected in result","Unsupported Twilio operation path returns 404 from upstream","Network timeout to Twilio causes high latency or gateway error"],"whenToPreferThis":"Choose this endpoint when you need to call any Twilio API operation and want to pay per-call with USDC on Base via x402 without managing Twilio billing separately. Ideal for AI agents or serverless workflows that need on-demand, metered access to Twilio communications (SMS, voice, WhatsApp, Verify) without committing to a Twilio account subscription or managing API keys directly in your stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:26:19.524Z","isFirstParty":false}