Overview
This is the public Twilio REST API.
Twilio - Events is a phone API from twilio.com. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 22 endpoints.
At a glance
- Authentication
- HTTP Basic
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Phone
- Base URL
https://events.twilio.com- Version
- 1.42.0
- Endpoints
- 22
- OpenAPI
- Specification ↗
- Spec updated
- 2023-04-20
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://events.twilio.com/v1/Sinks" \
-H "Accept: application/json" \
-H "Authorization: Basic BASE64_USER_PASSWORD"const response = await fetch("https://events.twilio.com/v1/Sinks", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://events.twilio.com/v1/Sinks",
headers={
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /v1/Schemas/{Id} | Fetch a specific schema with its nested versions. |
| GET | /v1/Schemas/{Id}/Versions | Retrieve a paginated list of versions of the schema. |
| GET | /v1/Schemas/{Id}/Versions/{SchemaVersion} | Fetch a specific schema and version. |
| GET | /v1/Sinks | Retrieve a paginated list of Sinks belonging to the account used to make the request. |
| POST | /v1/Sinks | Create a new Sink |
| GET | /v1/Sinks/{Sid} | Fetch a specific Sink. |
| POST | /v1/Sinks/{Sid} | Update a specific Sink |
| DELETE | /v1/Sinks/{Sid} | Delete a specific Sink. |
| POST | /v1/Sinks/{Sid}/Test | Create a new Sink Test Event for the given Sink. |
| POST | /v1/Sinks/{Sid}/Validate | Validate that a test event for a Sink was received. |
| GET | /v1/Subscriptions | Retrieve a paginated list of Subscriptions belonging to the account used to make the request. |
| POST | /v1/Subscriptions | Create a new Subscription. |
| GET | /v1/Subscriptions/{Sid} | Fetch a specific Subscription. |
| POST | /v1/Subscriptions/{Sid} | Update a Subscription. |
| DELETE | /v1/Subscriptions/{Sid} | Delete a specific Subscription. |
| GET | /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents | Retrieve a list of all Subscribed Event types for a Subscription. |
| POST | /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents | Create a new Subscribed Event type for the subscription |
| GET | /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type} | Read an Event for a Subscription. |
| POST | /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type} | Update an Event for a Subscription. |
| DELETE | /v1/Subscriptions/{SubscriptionSid}/SubscribedEvents/{Type} | Remove an event type from a subscription. |
| GET | /v1/Types | Retrieve a paginated list of all the available Event Types. |
| GET | /v1/Types/{Type} | Fetch a specific Event Type. |
Questions
Does the Twilio - Events API need an API key?
Yes. The Twilio - Events API uses HTTP Basic authentication; the documentation explains how to get credentials.
Does the Twilio - Events API support HTTPS?
Yes, the Twilio - Events API is served over HTTPS.
How many endpoints does the Twilio - Events API have?
Its OpenAPI description lists 22 endpoints in version 1.42.0. All of them are shown on this page.
What are alternatives to the Twilio - Events API?
Other Phone APIs include Twilio - Accounts, ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management, Twilio - Api, Mobility API, Telnyx API.
Similar phone APIs
Compare alternatives →Twilio - Accounts
PhoneThis is the public Twilio REST API.
ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management
PhoneETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management described using OpenAPI.
Twilio - Api
PhoneThis is the public Twilio REST API.
Mobility API
PhoneTransit API can be used to obtain time-aggregated data representing moving the people between various spatial points within the Czech Republic. Having A - 'from' and B - 'to' points, the API can return count of people traveling from A to B or people that are from A and traveling to B, etc. The mobility data is based on moving mobile stations in O2 mobile network.
Telnyx API
PhoneSIP trunking, SMS, MMS, Call Control and Telephony Data Services.
Twilio - Autopilot
PhoneThis is the public Twilio REST API.
Listed from APIs.guru (CC0).