Open documentation ↗Overview
# Introduction Welcome to the SureVoIP RESTful hypermedia API (sometimes known as a VoIP REST API, Telecom REST API, SIP API, Hypermedia API or just VoIP API.) The SureVoIP API is a way for you to automate your interaction with the SureVoIP platforms. With the API, you can create your own scripts, applications or mashups which can: * List calls * create customers * search numbers * provision numbers * send SMS texts * create outbound calls * schedule announcements * schedule call hangups with an announcement * subscribe to events/alerts * track calls * retrieve invoices * grab your SIP details * check your IP address * be 100% self-sufficient * and much more!
The SureVoIP RESTful API is a phone API from surevoip.co.uk. Requests are authenticated with HTTP Basic auth. It is served over HTTPS. Its OpenAPI description documents 28 endpoints.
At a glance
- Authentication
- HTTP Basic
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Phone
- Base URL
https://api.surevoip.co.uk- Version
- 9dcb0dc8
- Endpoints
- 28
- OpenAPI
- Specification ↗
- Spec updated
- 2021-07-11
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://api.surevoip.co.uk/" \
-H "Accept: application/json" \
-H "Authorization: Basic BASE64_USER_PASSWORD"const response = await fetch("https://api.surevoip.co.uk/", {
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://api.surevoip.co.uk/",
headers={
"Accept": "application/json",
"Authorization": "Basic BASE64_USER_PASSWORD",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | / | List global resources |
| GET | /announcements | List global announcements |
| POST | /announcements | Add a new announcement audio file |
| GET | /areacodes | List areacodes |
| GET | /billing | List global billing detail |
| GET | /calls | Validate a phone number by calling it once |
| POST | /calls | Create phone calls with or without announcements and scheduled hangups |
| GET | /charges | List charges |
| POST | /charges | Create charges for invoices |
| GET | /contacts | List contacts |
| GET | /customers | List all customers or find your own account |
| GET | /customers/{account} | Represents a customer |
| GET | /customers/{account}/announcements | List of announcement audio files |
| GET | /customers/{account}/announcements/{announcement_id} | Represents an announcement audio file |
| DELETE | /customers/{account}/announcements/{announcement_id} | Delete an announcement audio file |
| GET | /faxes | List global ongoing faxes |
| GET | /hosted | List Hosted VoIP domains |
| GET | /ip-address | Return the IP address from where your API request originated |
| GET | /mobile | List mobile accounts |
| GET | /numbers | List available SureVoIP Ofcom number allocations for purchase |
| GET | /numbers/areacodes | Search available numbers by areacode |
| GET | /partners | List SureVoIP Partner accounts |
| GET | /porting | List ported numbers |
| GET | /service-status | List all Service Status messages |
| GET | /sip | List all SIP accounts |
| GET | /sms | List SMS |
| POST | /support/echo | Return your POSTed data for testing |
| GET | /topups | List all account credit topups |
Questions
Does the The SureVoIP RESTful API API need an API key?
Yes. The The SureVoIP RESTful API API uses HTTP Basic authentication; the documentation explains how to get credentials.
Does the The SureVoIP RESTful API API support HTTPS?
Yes, the The SureVoIP RESTful API API is served over HTTPS.
How many endpoints does the The SureVoIP RESTful API API have?
Its OpenAPI description lists 28 endpoints in version 9dcb0dc8. All of them are shown on this page.
What are alternatives to the The SureVoIP RESTful API 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).