Skip to content
Telephony/CPaaS

surevoip.co.uk

The SureVoIP RESTful sandbox and mock API

# 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 numbe Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
30
Collections
-
Event types
-
example request
curl https://your-surevoip-uk.slurry.io/ \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 9dcb0dc8.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 30.

  • GET/
  • GET/announcements
  • POST/announcements
  • GET/areacodes
  • GET/billing
  • GET/calls
  • POST/calls
  • GET/charges
  • POST/charges
  • GET/contacts
  • GET/customers
  • GET/customers/{account}