Skip to content
Contactivity

Voice API and SIP trunking with hard spend limits

Buy phone numbers, connect your phone system over SIP, or control calls from your code. Calls draw from a prepaid balance, with daily spend limits.

Numbers
Local and toll-free
Ways to answer
SIP trunks, code, flows, phone menus
API
JSON over HTTPS, signed webhooks
Safeguards
Owned caller ID, spend limits

Products

Use one, or combine them on the same number.

All products
  • SIP trunking

    Connect a PBX, contact center or SIP devices. Register with credentials, send from fixed IPs, or have calls sent to your hosts.

    How it works
  • Programmable voice

    Answer and place calls from your code with CoXML or Call Control.

    How it works
  • Bring your own carrier

    Keep the carrier and numbers you have. Use our trunks, apps and flows with them.

    How it works
  • Phone numbers

    Local and toll-free numbers. Search by area code, state, or the digits and letters you want.

    How it works
  • Contactivity Verify

    Confirm a user owns a phone number: we call and speak a one-time code, and your app checks it with one API call.

    How it works

What you can build

Common setups, and the products each one uses.

  • Connect a contact center

    Point your PBX or contact center at a SIP trunk. Buy numbers here or keep them on your own carrier, and ring desk phones in order, all at once or round robin.

  • Keep your current carrier

    Add your carrier's gateways and numbers, then answer those numbers with our SIP trunks, voice apps and flows. Calls you forward leave through the same carrier.

  • Phone menus and call flows

    Gather digits or speech, play messages, record and forward calls from your own server, or draw the same flow on the canvas without code.

  • Confirm phone numbers at sign-up

    We call the number a user gives you and speak a one-time code. Your app sends the digits they type, and one API call says whether it matches.

How a call reaches you

Every number has one route. The route sends each call where you choose, and you can change it at any time.

  1. 1

    Get a number

    Buy a local or toll-free number, or add one you already have on your own carrier.

  2. 2

    Route it

    A route decides where the number's calls go. Change it at any time in the portal or with one API call.

  3. 3

    Answer it

    Send calls to a SIP trunk, a voice app on your server, a no-code flow or a phone menu.

Built for developers

Buy a number and call from it in a few lines.

  • JSON over HTTPS, one project per path
  • API keys scoped per project and per resource
  • Idempotency keys, so a retry never buys twice or calls twice
  • Signed webhooks and a delivery log
  • Compatibility API for TwiML, TeXML and Plivo XML apps
API reference
curl
# Find a 415 numbercurl "https://api.contactivity.io/v1/projects/$PROJECT_ID/available-numbers?area_code=415" \  -H "Authorization: Bearer $CONTACTIVITY_API_KEY"# Buy itcurl https://api.contactivity.io/v1/projects/$PROJECT_ID/numbers \  -H "Authorization: Bearer $CONTACTIVITY_API_KEY" \  -H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \  -d '{"phone_number": "+14155550134"}'# Call from itcurl https://api.contactivity.io/v1/projects/$PROJECT_ID/calls \  -H "Authorization: Bearer $CONTACTIVITY_API_KEY" \  -H "Content-Type: application/json" -H "Idempotency-Key: $(uuidgen)" \  -d '{"to": "+14155550100", "from": "+14155550134",       "coxml": "<Response><Say>Your order has shipped.</Say></Response>"}'

Request in, events out

Start a call with one request. Each step of the call comes back to your server as a signed webhook event.

Guardrails by default

Limits that protect your balance and the people you call are on from the first call.

Caller ID you own

Outbound calls show a number bought in your project or one you verified by phone. Anything else is refused.

Prepaid, with limits you can see

Calls draw from a balance. Daily spend limits, a highest destination rate and concurrency limits stop runaway cost.

Checks raise your limits

New accounts start in a sandbox. Card, payment and identity checks raise call rates and spend limits.

Every call on record

Call logs with cost, quality and the reason a call was refused, plus an error debugger and alert rules.

Start in the sandbox

Try trunks, voice apps and flows with calls to your own verified numbers, before you add a card.