T

Twilio Pricing API v1

REST discovered

Details Spec supplied by APIs.guru
URL
https://pricing.twilio.com
Spec
https://api.apis.guru/v2/specs/twilio.com/twilio_pricing_v1/1.42.0/openapi.json
Docs
https://www.twilio.com/docs/voice/pricing
Authentication
Twilio API Key SID and Secret basic discovered Get credentials ↗
Authorization: Basic <credential>

In the Twilio API keys overview, Twilio says API keys are the preferred way to authenticate with Twilio REST APIs. Create a key in the Twilio Console via Create API Keys in the Console. Use the API Key SID as the HTTP Basic username and the API Key Secret as the HTTP Basic password.

Twilio Account SID and Auth Token basic discovered Get credentials ↗
Authorization: Basic <credential>

For local testing, Twilio documents that you can use your Account SID and Auth Token as API credentials. Get them from your Twilio account in Console and manage them from REST API: Auth Token. Use the Account SID as the HTTP Basic username and the Auth Token as the HTTP Basic password. Twilio recommends API keys instead for production.

Twilio OAuth App client credentials oauth2_cc discovered Set up OAuth ↗
Authorization: Bearer <credential>

Create an OAuth app in the Twilio Console using OAuth apps. Twilio generates a Client ID and Client Secret. Use them with the OAuth client credentials grant at Twilio's token endpoint to obtain a short-lived access token, then send that bearer token to supported Twilio APIs. Twilio notes these tokens currently expire after 1 hour and are scope-limited.