Skip to content

Twilio - Content API

by twilio.com

HTTP BasicHTTPSPhone
Open documentation ↗

Overview

This is the public Twilio REST API.

Twilio - Content is a phone API from twilio.com. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 6 endpoints.

At a glance

Authentication
HTTP Basic
HTTPS
Yes
CORS
Unknown
Category
Phone
Base URL
https://content.twilio.com
Version
1.42.0
Endpoints
6
Spec updated
2023-04-20

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://content.twilio.com/v1/Content" \
  -H "Accept: application/json" \
  -H "Authorization: Basic BASE64_USER_PASSWORD"
JavaScript
const response = await fetch("https://content.twilio.com/v1/Content", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "Authorization": "Basic BASE64_USER_PASSWORD",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://content.twilio.com/v1/Content",
    headers={
    "Accept": "application/json",
    "Authorization": "Basic BASE64_USER_PASSWORD",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v1/ContentRetrieve a list of Contents belonging to the account used to make the request
GET/v1/Content/{Sid}Fetch a Content resource by its unique Content Sid
DELETE/v1/Content/{Sid}Deletes a Content resource
GET/v1/Content/{Sid}/ApprovalRequestsFetch a Content resource's approval status by its unique Content Sid
GET/v1/ContentAndApprovalsRetrieve a list of Contents with approval statuses belonging to the account used to make the request
GET/v1/LegacyContentRetrieve a list of Legacy Contents belonging to the account used to make the request

Questions

Does the Twilio - Content API need an API key?

Yes. The Twilio - Content API uses HTTP Basic authentication; the documentation explains how to get credentials.

Does the Twilio - Content API support HTTPS?

Yes, the Twilio - Content API is served over HTTPS.

How many endpoints does the Twilio - Content API have?

Its OpenAPI description lists 6 endpoints in version 1.42.0. All of them are shown on this page.

What are alternatives to the Twilio - Content 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.

Compare alternatives →

Listed from APIs.guru (CC0).