Skip to content

Twilio - Wireless API

by twilio.com

HTTP BasicHTTPSPhone
Open documentation ↗

Overview

This is the public Twilio REST API.

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

At a glance

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

Make a first request

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

cURL
curl -X GET "https://wireless.twilio.com/v1/Commands" \
  -H "Accept: application/json" \
  -H "Authorization: Basic BASE64_USER_PASSWORD"
JavaScript
const response = await fetch("https://wireless.twilio.com/v1/Commands", {
  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://wireless.twilio.com/v1/Commands",
    headers={
    "Accept": "application/json",
    "Authorization": "Basic BASE64_USER_PASSWORD",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/v1/CommandsRetrieve a list of Commands from your account.
POST/v1/CommandsSend a Command to a Sim.
GET/v1/Commands/{Sid}Fetch a Command instance from your account.
DELETE/v1/Commands/{Sid}Delete a Command instance from your account.
GET/v1/RatePlansListRatePlan
POST/v1/RatePlansCreateRatePlan
GET/v1/RatePlans/{Sid}FetchRatePlan
POST/v1/RatePlans/{Sid}UpdateRatePlan
DELETE/v1/RatePlans/{Sid}DeleteRatePlan
GET/v1/SimsRetrieve a list of Sim resources on your Account.
GET/v1/Sims/{Sid}Fetch a Sim resource on your Account.
POST/v1/Sims/{Sid}Updates the given properties of a Sim resource on your Account.
DELETE/v1/Sims/{Sid}Delete a Sim resource on your Account.
GET/v1/Sims/{SimSid}/DataSessionsListDataSession
GET/v1/Sims/{SimSid}/UsageRecordsListUsageRecord
GET/v1/UsageRecordsListAccountUsageRecord

Questions

Does the Twilio - Wireless API need an API key?

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

Does the Twilio - Wireless API support HTTPS?

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

How many endpoints does the Twilio - Wireless API have?

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

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