{"uid":"cap_vWYV-dZ0WivGi5nDzGy5h","slug":"apiosk-gateway-twilio-messages-list-efa17c9d","name":"Apiosk Gateway - Twilio Messages List","description":"API call to twilio","url":"https://gateway.apiosk.com/twilio/messages","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"end":1,"uri":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages.json?PageSize=2&Page=0","page":0,"start":0,"messages":[{"to":"+31612345678","sid":"SM8e468c4d9a58f3d996f54b9cfbe1f727","uri":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages/SM8e468c4d9a58f3d996f54b9cfbe1f727.json","body":"Apiosk test","from":"+15705299789","price":"-0.00100","status":"failed","date_sent":"Tue, 23 Jun 2026 15:36:17 +0000","direction":"outbound-api","num_media":"0","error_code":21608,"price_unit":"USD","account_sid":"AC8d83a5a8d9fbb3c916c434b6694472c9","api_version":"2010-04-01","date_created":"Tue, 23 Jun 2026 15:36:17 +0000","date_updated":"Tue, 23 Jun 2026 15:36:17 +0000","num_segments":"1","error_message":null,"subresource_uris":{"media":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages/SM8e468c4d9a58f3d996f54b9cfbe1f727/Media.json","feedback":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages/SM8e468c4d9a58f3d996f54b9cfbe1f727/Feedback.json"},"messaging_service_sid":null},{"to":"+15005550006","sid":"SM2d4864f6953ab71403c597eb06023a99","uri":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages/SM2d4864f6953ab71403c597eb06023a99.json","body":"Apiosk health check","from":"+15705299789","price":null,"status":"failed","date_sent":"Tue, 23 Jun 2026 15:36:07 +0000","direction":"outbound-api","num_media":"0","error_code":21408,"price_unit":"USD","account_sid":"AC8d83a5a8d9fbb3c916c434b6694472c9","api_version":"2010-04-01","date_created":"Tue, 23 Jun 2026 15:36:07 +0000","date_updated":"Tue, 23 Jun 2026 15:36:07 +0000","num_segments":"1","error_message":null,"subresource_uris":{"media":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages/SM2d4864f6953ab71403c597eb06023a99/Media.json","feedback":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages/SM2d4864f6953ab71403c597eb06023a99/Feedback.json"},"messaging_service_sid":null}],"page_size":2,"next_page_uri":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages.json?PageSize=2&PageToken=PASM2d4864f6953ab71403c597eb06023a99&Page=1","first_page_uri":"/2010-04-01/Accounts/AC8d83a5a8d9fbb3c916c434b6694472c9/Messages.json?PageSize=2&Page=0","previous_page_uri":null},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.125","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_ZL21UkR8o2Vr2ptXUp7U3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.125","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a paginated list of Twilio SMS/MMS messages sent or received on an account via the Apiosk gateway","exampleAgentPrompt":"Pull the latest messages from my Twilio account and show me their delivery statuses, who they were sent to, and any error codes — I want to see the most recent 2 messages from the gateway.apiosk.com Twilio endpoint.","exampleUseCases":null,"resultDescription":"A paginated JSON object containing a list of Twilio message records, each including message SID, body text, sender/recipient phone numbers, delivery status (e.g. 'failed', 'delivered'), error codes, timestamps, price, direction (outbound-api), number of media attachments, and subresource URIs for media and feedback. Also includes pagination metadata such as page, page size, start, end, and next_page_uri.","failureModes":["Invalid or missing authentication credentials returns 401 Unauthorized","Twilio account SID not found returns 404","Rate limiting by Twilio API returns 429 Too Many Requests","Network timeout connecting to Twilio backend","Payment not completed via x402 protocol returns 402 Payment Required","Invalid pagination parameters return empty or malformed response"],"whenToPreferThis":"Use this endpoint when you need to retrieve and audit historical or recent SMS/MMS message records from a Twilio account without setting up your own Twilio credentials — the Apiosk gateway abstracts authentication and bills per call via USDC micropayment. Prefer this over direct Twilio API calls when operating in a crypto-native or agent context where x402 payment is the mechanism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:28:11.497Z","isFirstParty":false}