The rule-space, in code

Call Routing API: Managing the Rule-Space Programmatically

A number's routing is more than a destination: time rules, overflow paths, recording. The Routing Management area of our API exposes that rule-space to your software, so routing changes follow the systems that know about them first.

Prefer to talk? Call 1300 858 751
  • Forwarding and recording control
  • One of three API areas
  • RESTful JSON, bearer auth

Routing API questions

What does the Routing Management area control?

It manages call forwarding — where your numbers point — and toggles call recording, programmatically. The routing concepts it manipulates are the same ones the console exposes: destinations and the rules that choose among them.

Routing API versus forwarding API — what is the difference?

Focus, not capability. Forwarding is the narrow case: changing a number's destination. Routing is the wider rule-space: destinations plus the time, overflow and recording behaviour around them — all managed through the same API area.

What do I need before automating routing?

Numbers hosted with us (from $10 a month), the bearer-token authentication described on the API page, and a system that knows when a change should happen — a roster, a monitor, a campaign calendar. The API handles the change; your software supplies the when.

Every inbound number carries an invisible rule-space behind it: which phone rings, when, in what order, with what recorded. Most businesses manage that space by hand in a console. The Routing Management area of our API exists for the businesses that cannot afford the hand — where routing has to follow rosters, monitors and campaign calendars automatically. This page maps the rule-space and how the API reaches it.

The rule-space, mapped

Four routing concepts cover nearly every setup, all described in how 1300 numbers work:

  • Destinations — the landline, mobile or team a number points at. The base case, and the forwarding question.
  • Time rules — different behaviour by clock and calendar: after-hours paths, weekend destinations, public-holiday announcements.
  • Overflow — a second destination when the first is busy or unanswered, so spikes degrade to voicemail-to-email instead of ring-outs.
  • Recording — whether calls on the line are captured, toggled per your policy windows.

The Routing Management area of the API manages these programmatically — forwarding and recording control over RESTful JSON with bearer-token authentication, callable from any language that speaks HTTP.

Where API routing earns its keep

The console handles change-once setups perfectly well. The API earns its place where change is constant or systemic:

  1. Roster-driven destinations — after-hours paths applied by the rostering system, never forgotten.
  2. Monitored failover — your monitoring re-points a number when an answer point fails, before customers notice.
  3. Campaign lifecycles — launch points the campaign number at the new team; teardown restores it.
  4. Policy windows for recording — on where required, off where not, without a human remembering either.

The narrow forwarding case — destination changes alone — has its own walkthrough in API call forwarding, and the data side that closes the loop is the CDR area, described in call detail records via API.

Getting started

Routing automation needs three things: numbers hosted with us (standard 1300 and 1800 from $10 a month, searchable on available numbers), authentication as described on the API page, and a trigger system that knows the when. Start with one number and one pattern — a schedule-driven destination is the gentlest first automation — and expand to overflow and recording once the loop is trusted.

Automate the rule-space

Get numbers your software can route

1300 and 1800 numbers from $10 a month — routing your code can manage via REST.