Each release of the API that changes what it does is listed here, newest
first, with the version of the reference
it published. The version is in the reference’s heading, and in
info.version of the
OpenAPI document.
An entry lists each operation, field, webhook event and error code that was:
| Marked | Means |
|---|---|
| Added | New, and safe to ignore until you use it. |
| Changed | Works differently, without breaking a client written for the old behaviour. |
| Deprecated | Still works, and has a Sunset date at least 12 months away. The entry says what to use instead. See Versions and retiring calls. |
| Removed | Stopped working, at the end of its notice. |
From launch, at 2.0.0, we only add things within v2, so a change that would break a client comes as a deprecation first.
Until launch the API is a pre-release. Its versions are 2.0.0-pre.N, and
each release that changes the reference adds one to N. A pre-release version
can change in any way. The changes since the first published version are
under Pre-release updates below.
Pre-release updates
Brings the API level with the portal: almost everything a wholesaler can do on a portal screen can now be done by API, under the same rules.
Added
- Order a Fibre Uplift by API.
POST /data/orderstakesinstallfibreUpliftat a location whose Service Qualification saysupliftAvailable, on an uplift plan (abandwidthProductSkuending-UPL): it is placed as an NFAS order onto a new NTD, as the portal places it, after nbn’s own uplift qualification is read again. Without anappointmentIdit waits for one; its timeslots are the uplift’s own, and are reserved withalternativeTechnologyFibre.POST /nbn/orders/delayedtakesfibreUplifttruewith itsappointmentIdand places it at once. An uplift on any other plan, or an uplift plan on any other order, is a 422. - PPPoE can be ordered on a service that ends on our network. Service
qualification’s service types list
Layer 3 - PPPoE (Mapped)besideLayer 3 - IPoE,POST /data/provisioning/pppoeprovisions an order as PPPoE in your account’s realm, andPATCH /data/radius/{ref}/passwordchanges a live PPPoE service’s password. - Check a path’s capacity before ordering.
GET /data/capacitytakes alocId, how manyservicesyou plan to order there and theirdownMbps, and answershasCapacity: whether the path serving that premises has room for them. WithdeliveryMode=l2it checks your interconnect too. It is advice only; an order placed while it answers false is still accepted. - Layer 2 handoff can be ordered.
POST /data/provisioning/layer2, the layer 2 provisioning on/nbnand/opticommorders, andGET /data/layer2/destinationswork, for an account with an active interconnect. A handoff service is not billed from its build: billing starts once its path to your interconnect is applied, on the day it is first seen live or 10 business days after the path is applied, whichever comes first. - An interconnect port’s state. Each destination from
GET /data/layer2/destinationshasportState(waiting_for_link,upordown), read from our switch every minute, andlldpNeighbour, the name your device sends over LLDP while the port is up, or null. On a0NATdestinationouterVlanis null: each service on a single-tag interconnect has its own tag on the port. - A Res Line always has a number. A
PATCHorDELETEon/numbers/{number}that would leave a Res Line with no number answers409res_line_needs_number, naming the line inerror.resLines; send it again withresLineResolutionsto give the line a new number, move another number to it, suspend it or cancel it. A Res Line’snumbersRoutedHerelists the numbers whose route rings it. - Priority assist for an end user. The NBN Connect products,
POST /opticomm/productOrders(a Connect),POST /data/orders/delayed, the NBN and Opticomm timeslot searches and reservations, and/nbn/product_qualification/order_feasibilitytake an optionalendUser, its number, asPOST /data/ordersdoes.priorityAssistis checked against that end user’s Priority Assistance registration, or the account’s when none is named; another account’s end user is a 422 onpriorityAssist. A Connect that names one is that end user’s order. Priority Assistance is not offered yet, sopriorityAssisttrue is still refused. - Public ids. Every record the API names carries a public id, and every path, field and webhook names records by it, never by an internal number.
- Error codes. Each error has a stable
code, and itsdocUrllinks to that code on Errors. A refused field is named inerror.fields. - OAuth apps. An integrator’s app can act for an account that connects it, with consent, PKCE and refresh tokens. See OAuth apps.
- Step links. A port’s or a data order’s step can be handed to someone else to finish, and the links listed, resent and cancelled. See Delegated steps.
- Event feed and audit log.
GET /eventskeeps every webhook event for 30 days, to catch up after an outage, and one event can be sent to an endpoint again. The audit log and your own recent API calls can be read by API. - Sandbox. A self-service sandbox with test addresses, keywords that
choose an order’s outcome,
CN-Sandbox-Simulatefor error answers, test outages and simulated payments, and a reset. See Sandbox. - API keys and users. Keys rotate with an overlap, can expire and belong to the account. Users, invites, notice choices and partners by API.
- Account.
GET /accountsays what the account may order and holds its billing details, notification settings, usage, reports and usage alerts. - Voice. SIP trunks with their controls, number formats, suspend and resume; residential lines; number search, hold and order; number routing, bulk changes and list exports; ports; caller ID authorisations; call history, exports, recordings and live calls; allowed countries and the daily spend cap; SMS and fax history, sending and settings.
- Data. The services and orders lists with the portal’s filters; tags; contract terms and disconnect quotes; session history; batch qualification; proof of occupancy; NNI and POI utilisation; NBN quotes search; new and additional installs and the one-call sale with a new end user.
- End users. End users and their services, notes, logins, representatives, addresses, safety records and identity codes; imports; suspend and reactivate; their invoices, credit notes, payments, disputes, hardship cases, ledger and spend.
- Retail billing. The retail price book, call plans, own charges, own rated usage, invoice settings, reminder schedules, notices, payment gateway status, Xero and end-user portal branding.
- Billing. Invoice groups, statement, credit alerts, invoice disputes, payment methods and receipts, and partner commissions.
- Other. Bundles, colocation, outages naming your affected services and end users, outage notice subscriptions, search, and complaints and fault tickets.
- Webhook events. Events for numbers, ports, SMS, fax, recordings, caller ID, trunks, billing, end users, usage alerts and spend holds, scheduled ceases, line tests and health reports. Each is listed with its fields and a sample on Webhook event types.
- Version header. Every answer carries
API-Version. - Client libraries. Official PHP, Python and JavaScript clients are generated from the reference in each release. They are not published yet.
techTypeon the NBN product lists, filtering by product family (NFAS,NCASand so on).numberReleaseDeclinedinGET /account/summary’sneedsAttention, and asneedsAttentiononGET /numbers: a number whose release was declined when it ran, because a trunk had taken it as its default caller ID since theDELETE.- Booked changes.
GET /account/booked-changeslists every change booked for a later date (a data disconnect, a trunk plan change), andDELETE /account/booked-changes/{id}cancels one. EventsbookedChange.applied,bookedChange.cancelled,bookedChange.failed(the change reached its date but could not be made, with thereason) andbookedChange.rescheduled(Check Networks moved a booked disconnect to another day; the same booking, withpreviousEffectiveOn). A booked change’sheldis true while we hold a booked disconnect the carrier could not take; it stays listed on the day it was booked for. - Hang up a trunk’s calls.
POST /trunks/{username}/calls/hangupends every live call on a trunk in one step, never a call to 000, 112 or 106, and answers with theended,skippedandfailedcounts. It needsvoice:updateand anIdempotency-Key. - Your own references.
externalRefandmetadataon trunks, numbers, data services and tickets: set on create orPATCH, returned on every read and webhook, and?externalRef=on each list.PATCH /data/services/{ref}is new for them. Data orders show your reference assalesReference. - Background exports.
POST /exportswrites call records, SMS, invoice lines or data usage as CSV or NDJSON in the background;GET /exports/{exportId}gives its state and a signed download link, andGET /exportslists recent ones. Eventsexport.readyandexport.failed. - Your own time zone. Send
CN-Time-Zonewith an IANA zone name and every time in a JSON response comes in that zone with its offset, and a date alone in a list filter is that day in that zone. Without it, everything is UTC, as before. - VPN.
/vpn/groupsand/vpn/usersmanage VPN groups and users, andPOST /vpn/usersorders seats. New scopesvpn:read,vpn:create,vpn:update,vpn:delete, andvpn:credentialsfor a user’s profile download, which holds its private key. - Health reports on any network.
POST /data/services/{ref}/healthasks for one, andGET /data/services/{ref}/health,.../health/latestandGET /data/health/{id}read them, in one shape for NBN and Opticomm. externalRefandmetadataon orders.POST /numbers,POST /data/ordersand a trunk drafted into a bundle take them, and set them on what the order makes. A block of numbers takesmetadataonly.- Billing texts off for one end user.
billingSmsonGETandPATCH /end-users/{endUser}/settings: false stops their billing texts when they ask you to, as the switch on their page in the portal does. Their billing emails still go. - An end user’s time zone.
timezoneon an end user: returned on every read, and set or cleared (null is your zone) withPATCH /end-users/{endUser}. Their bills are cut on it from their next billing period. - Aged Receivables as at a past day.
GET /account/reports/aged_receivablestakesasAt(YYYY-MM-DD): the position at the end of that day, leaving out invoices, payments and credits dated after it. The result’sasAtnames the day; it isnullfor every other report. - Estimate rows in reports. A report’s
estimateRowslists the rows that are an estimate rather than invoiced figures: the margin report’s “Usage so far (not yet billed)” rows and its “Total with usage so far”. - Reset a data service’s session.
DELETE /data/radius/{ref}/session(data:update) drops a live session on our network, so a new password or plan takes effect when the service connects again.202once dropped;409no_live_sessionwith nothing connected;422session_not_resettablewhere it cannot be reset. It shares a limit withGET /data/radius/{ref}/online: 2 a second and 30 a minute for the account. The portal’s data service page has a Reset Session button too. - A month’s usage for every service.
GET /data/usage?period=YYYY-MM(data:read) lists one row per data service, paged:downloadBytes,uploadBytes,totalBytes,allowanceBytes,percentUsedandcomplete, matchingGET /data/services/{ref}/usagefor the month. Filter byendUserandnetwork. - What is wrong at one service.
GET /data/services/{ref}/incidents(data:read) lists the outages covering the service, with their cause, premises affected andserviceCounts; the planned work around it; and the degradations at its POI.include=resolvedadds the last 30 days. - Line tests on any network.
GET /data/services/{ref}/diagnostics/typeslists the tests a service allows, with when to use each, when to raise a fault instead, and its inputs.POST /data/services/{ref}/diagnostics(data:update) runs one; a second while it runs is409withrunningTestId, and the carrier’s test system down is503.GET /data/services/{ref}/diagnosticsandGET /data/diagnostics/{id}read them. The carrier relays under/nbnand/opticommare unchanged. - A re-rated call is marked. A call record has
rerated, andpreviousCostExGst,previousCostGstandpreviousCostIncGstwith the price before the most recent re-rate (null when it was not re-rated), onGET /voice/cdrs,GET /voice/cdrs/{cgrid}, their exports and thecdrsbackground export. - How soon a data suspension takes effect. A data service we hold
suspended carries
suspensionTakesEffect:within 15 minutesfor a service we cut, a service handed to you at layer 2 included, andwithin 1 business dayfor an Opticomm L3 service. OnGET /data/services,GET /data/services/{ref}andGET /end-users/{endUser}/servicesit isnullwhile the service is not suspended; on/nbn/productsand/opticomm/productit is present only on a suspended service. NotOnOurRadius. A service handed to you at layer 2 on your interconnect never logs on to our RADIUS.GET /data/radius/{ref}/onlineand/sessionanswer it withstatus: NotOnOurRadiusandsource: handoff,GET /data/radius/{ref}withdetailSource: handoff, andGET /data/services/{ref}with asessionofNotOnOurRadius.- Hosted PBX on an end user’s services.
GET /end-users/{endUser}/serviceslists an end user’s hosted PBX as kindhostedPbx, with the PBX’s id asreferenceand its name aslabel. A closed one is not listed. Hosted PBX is not available yet, so no end user has one until it is. - Delayed orders. Schedule an order to be sent to the carrier at a time
you choose, at least 15 minutes and at most 30 days away, and change the
time, send it now or cancel it before then:
/data/orders/delayedfor every network and/nbn/orders/delayedfor NBN, with their reschedule, submit and cancel routes. Nothing is sent to the carrier until the time. Subscribe toorder.delayedto hear when an order is scheduled, given a new time, or held for you because it could not be sent; while it is held for you, itssubmitDateTimeon the lists and reads isnull. See Scheduling an order for later. - A bundle sent later.
POST /bundles/{id}/submittakessendAt: the whole bundle waits for that time, at least 15 minutes and at most 30 days away. Its draft data orders are held for it and each is checked again when it goes; its number orders and trunk wait with them, and nothing goes to a carrier or is provisioned before then. The prepay check is made once, at the submit. A bundle’ssendAtis the time it holds them for.PATCH /bundles/{id}/send-timemoves them all to a new time, andDELETE /bundles/{id}/send-timereturns the bundle to how it was before the submit. Neither reaches a carrier, so theirIdempotency-Keyis optional, as on a delayed order’s reschedule and cancel. - A bundle’s prices, each draft’s readiness, and checking out some. A
bundle read carries
total, its draft data orders’ running total at today’s prices withunpricedDrafts, and each draft carries itsprice,canCheckout,checkoutBlockedReasonandcheckoutBlockedMessage(prices needbilling:read).POST /bundles/{id}/submittakesorders, the ids of the drafts to check out; the rest stay drafts in the bundle. Its answer has one entry per draft inorders:submitted,scheduledorrefusedwith its reason, and one refusal stops none of the rest. A draft whose price rose is refused withprice_changedand the new price; accept it withacceptNewPriceonPATCH /bundles/{id}/items/{itemId}. Each draft and the bundle showdraftRemoval, when the draft is removed, andPOST /bundles/{id}/keepkeeps the bundle’s drafts for longer. A data order for a bundle that already holds 200 drafts answers422with codebundle_draft_limit. - Delayed orders take add-ons and an end user.
POST /data/orders/delayedandPOST /nbn/orders/delayedtakeendUserandaddonsasPOST /data/ordersdoes: left out, the plan’s default add-ons; a list, exactly that list; an empty list, none./nbn/orders/delayedtakesendUserTypetoo, and its order records the location’s own access technology, not always FTTP. - A delayed NBN order is built for the location’s technology.
POST /nbn/orders/delayedtakesinstallationWorkforce,copperPairId,potsInterconnect,installOptionCentralSplitterand the HFC delivery fields, as the Product Order for that technology does, and the order is built as that Product Order builds it: HFC uses port 1, and copper takes the pair and its options. A copper order namescopperPairId, any otherntdId; one that names neither is a422on the field. - A safety record’s safe postal address.
safePostalAddresson a safety record, in the shape of an end user’s address: where their bills are posted underbillDeliverysafe_post, never their own address, and what their bill and statement PDFs print (no address while there is none). Set on create orPATCH(null clears it) and returned only by the safe-contacts reveal, as the safe number and email are.safe_postwith no safe postal address is422onsafePostalAddress. - Safe-contacts reveal.
POST /end-users/{endUser}/safety-records/{recordId}/safe-contacts/reveal, onsafety:read, returns a safety record’ssafeContactNumber,safeContactEmailandsafePostalAddress, and is audited as a reveal of the end user’s contacts naming the key and the record, never the values. - A waived early termination charge. When we waive a data service’s early
termination charge, the charge reads
0.00and says so:contract.earlyTerminationChargeWaivedonGET /data/services/{ref}, andchargeWaivedonGET /data/services/{ref}/disconnect-quoteand on each of its lines. - Markups by product type.
markupsByTypeonGET /retail/price-bookandPUT /retail/price-book/markup: a markup per product type (the product’s service category, such ashosted_pbx), used before your default markup for a product you have not priced. ThePUTtakesdefaultMarkupPct,markupsByTypeor both; one left out stays as it is. A call category’s markup prices that kind of call when no call plan does. - Is Billed.
isBilledonGETandPATCH /end-users/{endUser}/settings: false for an end user you bill some other way, who then gets no bill from the platform.trueagain is422while a service of theirs has no retail price, and the error says what to set. ontUpgrade.completed. Sent once when an Opticomm ONT upgrade on one of your data services ends:succeeded, the target speed (targetSku,targetSpeed) andspeedChangeSubmitted, the outcome that was emailed only until now.- An outage’s updates, each with its time. Each outage in
GET /data/services/{ref}/incidentscarriesupdates, a list of{at, text}, newest last: the update current when the outage was published, and every one we posted since. Before, only the latest text was kept, asadditionalInfo, which is still the newest update. - A Postman collection. Every call in the reference, built from it at
each release and grouped as it is, with a sandbox and a production
environment, published beside the OpenAPI document at
https://api.checknetworks.tools/docs/. It fetches and renews the token itself, and sends a newIdempotency-Keyon every write that takes one. See Quick start.
Changed
-
POST /bundles/{id}/submitwithsendAtno longer holds an nbn draft a technician attends (a new NTD, a Fibre Uplift, or no NTD chosen): it is placed now with the appointment booked on it, answeredplacedinordersand listed inreleased, and the rest are held. If such a draft has no appointment booked, the call is a422naming the drafts, and nothing is held or placed. -
priorityAssistin a query string takestrue/falseor1/0, onGET /nbn/appointments/query/newandGET /nbn/product_qualification/order_feasibility. Before,trueonquery/newcould be refused as invalid. In a JSON body it stays a boolean. Opticomm routes keepYes/No. Atruefor a customer not on our Priority Assistance register is refused with a 422 onpriorityAssist. -
GET /opticomm/timeSlotssendspriorityAssiston. AYesfrom a customer on the register now asks the carrier for priority timeslots, as the appointment booking does; before, it was checked and not sent. -
With no
endUser, your own registration counts. WhenpriorityAssistis asked for and noendUseris named, it is accepted when your account’s own registration covers it, or the one on your own end user (the end user made when you register yourself). Another end user’s registration counts only when that end user is named. -
IP transit is marked Not available yet. The blackhole endpoints under
/transit/services, thetransit:*scopes and thetransit.blackhole.*events stay in the reference, each marked Not available yet: until IP transit is offered the endpoints answer404, no key can be granted the scopes and an endpoint cannot subscribe to the events. API scopes lists thetransit:*scopes too, with the same mark. -
POST /nbn/orders/delayedschedules an order a technician attends (a new NTD, or a copper pair a technician attends) by its appointment: send theappointmentIdof a slot reserved on the day you want, and the order is placed with nbn at once with it, so the slot is locked in. It answers201withstatusSubmitted, the nbnorderIdand theappointmentId, andsubmitTimestampis not needed. Without anappointmentIdsuch an order is still refused with422appointment_required, now onappointmentIdwith a message that says to send one. On such an order,PATCH /nbn/orders/delayed/{delayedOrderRef}/rescheduleanswers409placed_with_appointment(move the appointment instead), andDELETE /nbn/orders/delayed/{delayedOrderRef}answers202WithdrawalRequested: our team withdraws it with nbn by hand. -
POST /numbersrefusesrouteTyperedirectorsip_addressfor a Res Line’s first number with a422: a Res Line always has a number that rings it. Once the line has one, a further number can be forwarded or sent to a SIP address. -
POST /nbn/orders/delayedtakes the Product Order for the location’s technology (NFAS, NHAS, NCAS or NWAS) rather than always NFAS’s, so a copper order namescopperPairIdand nontdId, andrestorationSlaSkuis required. It is checked as that Product Order is when it is held: an order that one would refuse is refused with the same422, and one that needs an appointment cannot be held. -
order.delayedis sent only for an order you scheduled for later. If you listened to it, you no longer get one when the carrier asks us to try an order again, or when we stop resending such an order after too many tries and hold it for a person: we resend it ourselves, and the order staysInProgress. Watchorder.statusChangedfor it as for any order. Such an order is not onGET /data/orders/delayedorGET /nbn/orders/delayed, and a bundle shows it asinProgress, notdraft. -
DELETE /trunks/{username}withacknowledgeEarlyTermination=trueanswers503when the early termination charge can’t be recorded just then. Nothing changes: the trunk is not deleted and nothing is billed, so send the request again shortly. -
POST /data/sq/batchesanswers503when the batch can’t be started just then. Nothing is kept or counted against your allowance, so send the request again shortly. -
An order whose plan we stopped selling after the order was made is no longer failed when it is submitted.
POST /data/orders, thePOST /nbn/orders/products/…routes andPOST /opticomm/productOrdersanswer422with a reason that names the plan, and the order stays a draft (it wasFailedbefore), so you can choose another plan. -
A data order’s
priceonGET /data/orders/{id}comes from the same price as the portal’s bundle total and the batch estimate. It isnullwhere no price book prices the plan for you, as the reference says (it read0.00a month before), its GST is worked out once on the order’s subtotal, and an account we do not charge GST shows0.00GST. -
On a prepaid account, a data order you send holds its setup and first charge against your balance until that charge is invoiced, or the order is cancelled, rejected or fails. A later order is refused for credit when your balance less what is held does not cover it, and the refusal’s reason says how much is held. Before, each order was checked against the whole balance, so several sent together could each pass. Draft orders cost nothing until they are sent, so adding them to a bundle is never refused for this: the bundle’s checkout is, as below.
-
On a prepaid account,
POST /bundles/{id}/submitanswers422and sends nothing when the ready data orders’ up-front cost together does not fit your balance less what is held. Thereasonnames the total, the shortfall and what is held. Before, the orders were sent and each was refused on its own once the balance ran out. -
A bundle can now be filled in the portal from a qualification batch, with a draft data order for each serviceable row, at most 200 to a bundle.
GET /bundles/{id}lists those drafts as it lists any other, andPOST /bundles/{id}/submitsends them. Adding a batch’s rows to a bundle by API is not offered yet. -
The refusal of a country list that names New Zealand now says the trunk’s call permissions by their portal labels, “Allow Calls to New Zealand Mobile Numbers” and “Allow Calls to New Zealand Fixed/Local Numbers”, where it said “NZ Mobile and NZ National”. The error
codeis unchanged. -
GET /account/reportslists, andGET /account/reports/{key}serves, only the reports the portal offers the account:aged_receivables,payments_received,marginandunbilled_servicesonly while it bills its end users, and404otherwise. -
Breaking, for the safety-record read. A safety record’s safe contacts are masked on every read of it:
safeContactNumber,safeContactEmailandsafePostalAddressare always null onGET,POSTandPATCHof/end-users/{endUser}/safety-records, and the new requiredsafeContactsMaskedsays whether any is recorded. Read them with the safe-contacts reveal. Writing them is unchanged: aPATCHthat leaves one out keeps it, and null clears it. -
While you bill your end users, a service is given to an end user you bill only when something prices it for them:
PATCHof a data service, trunk or VPN user to an end user (409for a VPN user),POST /vpn/userswith anendUser(422onendUser), a data order draft for one, ordering a trunk, residential line or VPN user for one, and opening a fax plan for one are refused until then, with a reason that says what to set. A call with no call plan of yours is priced at what we charged you for it plus your markup, never re-rated at our call rates; with no markup either it holds the invoice. -
While you bill your end users, taking away a price that a live service of an end user you bill depends on is
422when nothing else would price it:DELETE /retail/price-book/items/{itemId}(onitemId), clearingdefaultMarkupPctor a type inmarkupsByTypeonPUT /retail/price-book/markup(ondefaultMarkupPct), clearingplanIdonPUT /retail/price-book/items/{itemId}/plan, and clearingpriceorplanIdonPUT /end-users/{endUser}/services/{assignmentId}/billing(onprice). The error counts the services it would leave unpriced and names up to five by product and end user. Something already unpriced does not block an unrelated change, and a change that still leaves a price is never refused. -
productTypeon the NBN product lists filters by the traffic class each product shows (TC4orEE). It used to take a product family, which is nowtechType; a family sent asproductTypeis400. -
Webhook money fields are dollar strings, as the API’s own are, and every payment event has one shape.
-
A call made with an API key acts as the key, not as the user who made it.
-
DELETE /numbers/{number}is the only way to release a number. The body form was never released and is gone. -
NBN tests and quotes no longer take the carrier’s own test switch. A call that sends it is refused; use the sandbox to try a call.
-
Data usage months and days follow the billing month in Brisbane time.
-
Creating end users from Xero contacts reports a failure part way.
POST /integrations/xero/contacts/end-usersused to answer only the error when Xero failed part way, though the end users before it had been made. It now answers201with those increated, the failure inerror, and the contacts not tried innotTried. Both fields are always present:errorisnullandnotTriedempty when every contact was tried. -
The margin report reads a closed period the same whenever it is run. A month’s usage counts as invoiced only when its invoice was issued by the report’s last day; before, an invoice issued after the period took that usage out of the period’s report.
-
Payments Received labels a payment matched to an end user but not yet applied “Matched, not yet applied”, and totals it on its own row, out of the Received total, which now agrees with the ledger.
-
/account/usagemonths are on your bill’s calendar, your account’s time zone, and a month already billed on the zone its invoice was cut in. For an account on Brisbane time the months do not change. The daily data curve’s days are that zone’s days; they were UTC’s. -
Billing date filters are on your bill’s calendar.
issuedFromandissuedToon invoices and credit notes read the day each document shows, on the zone it was cut in;paidFrom,paidTo,GET /data/services/{ref}/usageand thedataUsageexport’s days are on your account’s time zone. They were all Brisbane’s.CN-Time-Zone, when sent, wins over the bill’s zone (the export’s days excepted). -
Ticket report days are on your account’s time zone.
fromandtoonGET /tickets/summaryandGET /tickets/export, their defaults, and the months involumeByMonth, read your account’s calendar days; they were UTC’s, so a ticket raised before 10:00 Brisbane counted on the day before. -
End-user invoice and credit note date filters are on the bill’s calendar.
issuedFromandissuedToonGET /end-users/invoicesandGET /end-users/credit-notesread the day each document shows, on the zone it was cut in, as on your own invoices; a bad date or a start after the end is422in the standard shape. A payment’spaidOnand a ledger adjustment’sdateare on your account’s time zone. They were UTC days. -
GET /account/invoicesstatus=unpaidno longer returns an overdue invoice. It is issued and not yet overdue, on the invoice’s own calendar, asstatus=overduereads it. From midnight to 10:00 Brisbane an invoice due the day before was returned by both. -
GET /account/reports/{key}periods are your account’s days.fromandto, and the default of this month to today, are calendar dates on your account’s time zone, so the 04:00 end-user bill run on the 1st is in that month’s GST Summary, Payments Received and Margin. They were UTC days. -
“Today” in a date you send is your today.
preferredCutoverOnanddateOfBirthonPOST /ports, andcustomerAuthorityDateandpreferredAppointmentDateonPOST /data/orders, are checked against today on your account’s time zone, or the one you sent inCN-Time-Zone. They were checked against UTC’s, so before 10:00 Brisbane today’s authority date was refused and a cutover of today accepted. -
CN-Time-Zonekeeps a response’s shape and your own values. An empty object ({}) came back as an empty list ([]); it stays an object. Your references (orderReference,customerReference,customerRef,salesReference,paymentReference,paidReference) and yourname,description,noteandnotestext come back as you set them, even when they look like a time, and the carrier-shaped/nbnand/opticommbodies are relayed as the carrier sent them. -
GET /nbn/product_qualification/service_typeslistsLayer 2 - TC4only where it can be ordered: where one of your active interconnects covers the location’s POI. Elsewhere it lists the Layer 3 types alone. -
A portal sign-in link is used by a button, not by opening it. The link from
POST /end-users/{endUser}/portal-sessionsnow opens a page with a Continue to your portal button, and only the button uses it up, so a mail scanner or link preview no longer spends it before the end user clicks. It still works once, for five minutes. -
endUseris the end user’s number everywhere. Data orders, data services and notices named the end user by an object ({reference, name}); they now send its number asendUser, as every other resource does, and its name asendUserName. On data services,expand=endUseradds the end user in full asendUserDetail. -
Idempotency-Keyis required on three more writes:POST /data/services/assign, and the two delegated-step creates,POST /ports/{reference}/delegationsandPOST /data/orders/{orderId}/delegations, each of which emails a live link. Without the header they answer400; a retry with the same key returns the first answer and sends no second email. -
POST /vpn/usersanswers403with the reason for an account your account manager has not enabled for VPN, as every other order does. The account’s existing groups and users can still be read, changed and removed. -
GET /data/serviceslists a service with no request date last. A service taken over from another provider was never requested here; it came first in the default newest-first order, and now comes after every service that has a date. Asortputs a service with no value in its field last too, in either direction. -
POST /bundlesanswers403for an account that may not order data services. Such an account could start a bundle and add numbers and a trunk to it, and was refused only when it submitted. -
A retried
POST /data/orderskeeps its proof of occupancy. When the first call made the order but stopped before sending it, a retry with the sameorderReferencesent it without theoccupancyDocumentIdit named. The document is now kept with the order before it is sent. -
A retried
POST /data/orderswithnewEndUserkeeps its end user. When the first call’s order was not sent, its new end user was removed, and a retry with a newIdempotency-Keyplaced the order with no end user. The retry’s end user now goes on the order, as on one placed first time. -
Ending an end user’s service that has already ended keeps its end date.
POST /end-users/{endUser}/services/{assignmentId}/endandDELETE /end-users/{endUser}/services/{assignmentId}answer as before, with the first end date, so a retry no longer moves it later and bills the days since. A service due to end later is still ended today. -
A final invoice with nothing left to bill marks the end user finally invoiced. When the last invoice already billed everything through the last end date,
GET /end-users/{endUser}/invoices/finalis allowed with one reason,already_billed_through_end, andPOST /end-users/{endUser}/invoices/finalanswers200with thatcode, amessageandfinallyInvoicedThrough, and makes no invoice. It used to answer422“Nothing is left to bill” every time. -
Usage after an end user’s final invoice is refused.
POST /end-users/{endUser}/usageandPOST /usage/batchanswer422onusageDatefor a day after a finally invoiced end user’s last end date, which no invoice would bill. It used to be accepted. -
POST /account/usersneeds anIdempotency-Key, and answers400without one, so a retry returns the first invitation instead of sending a second email that cancels the link in the first. A client that did not send the key must now send it. -
POST /account/usersnames the invitationinviteId. It answeredid, which no/account/users/{userId}call takes;inviteIdis the id/account/invites/{inviteId}takes. The user’s ownidcomes once the invitation is accepted. -
webhook.endpointDisablednames the endpoint by its public id.webhookIdis the uuidGET /webhooks/{webhookId}takes, so the event’sresourceUrlopens it; it was a number no call accepted. -
GET /account/audit-loglists what a connected OAuth app did on your account, as anapiKeyactor named by the app. Those entries were missing. -
A token the new secret issues works at once after a roll. A roll with no overlap refused every token issued in or before its own second, the new secret’s too; now only the old secret’s tokens are refused.
-
GET /account/notices/{noticeId}answers404for an id that is not a notice’s uuid, as its siblings do. It answered500. -
A recorded payment can’t be dated in the future.
POST /end-users/invoices/{invoiceId}/paymentsanswers422onpaidOnfor a day after today on Brisbane’s calendar. -
An end user’s ledger is read up to 12 months at a time.
GET /end-users/{endUser}/ledgeranswers400whentois more than 12 months afterfrom. -
One hardship case at a time, and the key is required to open one.
POST /end-users/{endUser}/hardshipanswers400without anIdempotency-Key, so a retry replays the first answer, and409while the end user has a case under assessment or active. -
A usage alert’s channel needs someone on it.
POSTandPATCH /account/usage-alertsanswer422foremailwith no address orsmswith no mobile, and removing the last recipient of a ticked channel is422.channelsleft out on create is now the ones yourrecipientsreach, not both. -
A usage alert’s metric moved to another unit needs a new threshold.
PATCH /account/usage-alerts/{alertId}with a spendmetricchanged to a count, or back, and nothresholdanswers422and changes nothing. -
A daily spend cap at or below today’s spend holds the trunk at once.
PATCH /trunks/{username}with adailySpendCapExGstat or belowspendTodayExGst,"0.00"included, answers withspendCapHeld: trueand sendsvoice.hold.placed; it used to wait for the next call to end. -
PUT /trunks/{username}/source-restrictionskeeps the entries we added. A replace changes only the entries you set; one we added, for example to stop fraud, stays in the lists it returns. Acidrslist that leaves out the address the request came from answers422naming it, unless you send the newconfirmLockout: true. Empty lists always go through. -
DELETE /trunks/{username}releases a lone default caller ID. A trunk whose only number is itsdefaultCallerIdis deleted with the number released; it used to answer422. If the number can’t be released just then, the answer is503and nothing changes. -
A resent invoice follows the family violence safety record.
POST /end-users/invoices/{invoiceId}/resendsends to the safe email on an end user’s record, and answers422without sending where the method agreed with them does not allow email. -
POST /end-users/lookupnever confirms a masked contact. For an end user whose contacts a family violence safety record withholds, their email, phone and service address no longer count as a match, so the lookup answers the same404as for no one. -
POST /residential-linesandPOST /portsneed anIdempotency-Key, as other billable creates do, and answer400without one. A line bills when it is ordered, so a retry without a key could order a second. -
New Zealand is off the allowed-countries list. A call to New Zealand is
NZMobileorNZNational, never international, so the list never stopped one.availableCountriesno longer hasNZ, a list naming it is a422, and saved lists dropped it. Control New Zealand calls with a trunk’scallingPermissions. -
A routing chain’s
trunkstep takes the trunk’sid, as well as itssipUsername, as a single route does, and a trunk with no SIP username (an IP-authenticated one) reads back by itsid. It read back asnull. -
A bulk number job can read
running.POST /numbers/bulksaves its job as each number is done, so a call that stops part way leaves a job with the results so far,status: running. A call that finishes answers202withstatus: done, as before. -
qonGET /smsmatches%and_as themselves, as the call history and recording searches do. They were wildcards, soq=%matched every message. -
An account can hold 50 numbers at once.
POST /numbers/holdsanswers409saying so past that, until a held number is ordered or its hold ends. Numbers being ordered count too. We can raise the limit for your account. -
qon the webhook delivery lists works.GET /webhooks/deliveriesandGET /webhooks/{webhookId}/deliveriesmatchqon the event type and on part of the event id. Anyqanswered500. -
A date alone in
toon the webhook delivery lists includes that day, on yourCN-Time-Zonecalendar when you send one, as every other list’s date filter does. It read as the start of the day, soto=2026-11-20left out every delivery on the 20th. -
A suspended account may look up numbers and check its fax domain.
POST /numbers/lookupandPOST /fax/settings/domain-checkonly read, so they no longer answer403 account_suspended. Every otherPOSTstill does. -
End-user logins need
end-users:sign-into give a way in.POST /end-users/{endUser}/logins,PATCH /end-users/{endUser}/logins/{loginId},POST /end-users/{endUser}/logins/{loginId}/password-resetandPOST /end-users/{endUser}/invites/{inviteId}/resendneedend-users:sign-inas well asend-users:update, and answer403 missing_scopewithout it. Removing a login and revoking an invite still needend-users:updateonly. -
One open hand-over per step, and limited resends.
POST /ports/{reference}/delegationsandPOST /data/orders/{orderId}/delegationsanswer409while the step already has an open link, to any address.POST .../delegations/{delegationId}/resendanswers429withRetry-Afterwithin 5 minutes of the last email, or past 5 resends in a day. Neither sends an email. -
A refresh retried within 60 seconds keeps the app connected. An OAuth app’s refresh token sent again within 60 seconds of the refresh that replaced it is refused with
temporarily_unavailable(400) and recorded asretried; the app stays connected. After 60 seconds it is still taken as a stolen copy and disconnects the app. -
A line with no mailbox reads
attachAudio: true.GET /residential-lines/{username}/voicemailsaidfalsefor a line whose mailbox was never set up, though turning it on attaches the audio. It now readstrue, the value the new mailbox gets. -
A trunk plan change replaced by a newer one sends
trunk.planChangeCancelled, before the newer change’strunk.planChangeScheduled(ortrunk.planChangedfor an upgrade that applies at once). It sent onlybookedChange.cancelled. -
A trunk’s
defaultCallerIdis never changed when it ports away. It moved to another of the trunk’s numbers. Now it stays until you set another, and 48 hours after the port completes a trunk still presenting it is suspended (suspendedBy: checkNetworks; 000 still connects). Setting anotherdefaultCallerIdlifts it. -
A fixed-line port can be sent to the number’s holder for its Porting Authority.
POST /portstakesauthorityHolder(name,email) in place ofconsents.portingAuthority. The port is saved in the new stateawaiting_authority, and the holder is emailed aconfirmAuthoritylink, the third step/ports/{reference}/delegationshands over. Their confirmation moves the port torequested; the history gainsauthorityConfirmed. The holder is reminded after 7 days, and the port is cancelled after 14 without it. The authority and its email name your brand as the gaining provider, with Check Networks as your carrier. -
A withdrawn or cancelled port cancels its open delegation links. They read
status: sentuntil they expired. -
POST /integrations/xero/pushis in your Audit Log against the key that asked, as other API writes are, so with several keys you can see which one started a push. -
A
ModifyonPOST /opticomm/productOrdersneedsdata:updateas well asdata:create, and answers403without it, as aDisconnectneedsdata:delete. A key given out to place new orders could change a live service’s speed. -
The unsubscribe link in a status notice stops every list. A person who follows it gets no more status notices at that address, from the public status page or any account’s list; their subscription leaves
GET /outages/subscriptions.DELETE /outages/subscriptions/{id}still stops only your own. -
The NBN product lists refuse filters that can never match.
GET /nbn/productsand the other product lists answer400forproductType=TC1orTC2, which no product reports, instead of an empty list;productTypetakesTC4andEE.statusonGET /nbn/productstakesActiveandDeletedonly, and answers400for an order state such asNew,InProgress,HeldorPending. -
Reading an Opticomm user’s session never asks Opticomm.
GET /data/radius/{ref}/onlineand/sessionused to start a Session History test at Opticomm when the last one was over five minutes old, even on adata:readkey. They now answer from the latest check, withretrievedAt;202while one is on its way; andstatus: NotCheckedwhen none is held. Ask for a check with the newPOST /data/radius/{ref}/session-check(data:update,Idempotency-Keyrequired, the carrier-write limit), which answers202withRetry-Afterand is refused for a service that is not live. -
A login password reset says where it went.
POST /end-users/{endUser}/logins/{loginId}/password-resetaddsoutcome:sent,sent_to_safe_contact(the end user’s family violence safety record names a safe contact),held(the record allows no email; our staff are alerted, andsentis false) orthrottled. -
A safety record’s bill delivery is a fixed choice. A safety record has
billDelivery:safe_email,safe_post,portal_onlyornone, which the end user’s bills and billing notices follow while the record is active, andbillDeliveryNotefor anything more.billDeliveryRequestis deprecated: it reads and setsbillDeliveryNote, and what it held before is now the note, with no choice made. -
A re-rated call is listed and counted once.
GET /voice/cdrs, its exports andGET /voice/cdrs/summarylisted both the call’s first record and its re-rated one, and added both up. They now hold only the newest, under the call’s owncgrid, whichGET /voice/cdrs/{cgrid}reads. The record of a re-rated call had anullcgrid. -
priorityAssisttrue is refused unless the customer is on our Priority Assistance register. The flag goes to the carrier as its own priority assist, sotrue(orYes) onPOST /data/orders,POST /data/orders/delayed, the NBN Connect orders, a Connect onPOST /opticomm/productOrders,POST /nbn/appointments/reserve,GET /nbn/appointments/query/new,POST /opticomm/appointments,GET /opticomm/timeSlotsandGET /nbn/product_qualification/order_feasibilityanswers422onpriorityAssistfor a customer not on it, before anything is drafted or sent to the carrier.false,Noor no field work as before. -
An order waiting for you keeps
priorityAssistonly while the register allows it. WhenPATCH /data/orders/{id}answers a wait, the order is placed again from what it was made with, and itspriorityAssistis asked of the register again. If the end user is no longer on it, or Priority Assistance is off for your account, the order goes ahead withpriorityAssistfalserather than being refused. An order you made with nopriorityAssist, for an end user on the register, keeps the flag it was given when the wait is answered; it used to lose it. -
POST /end-users/{endUser}/suspendsuspends an end user on the Priority Assistance register when you give areason, instead of answering422. The suspension and its reason are recorded against their registration, naming your key. -
A service handed to you at layer 2 is no longer read as one on our RADIUS. Its RADIUS reads said
checknetworks, offline, with no session. They now sayNotOnOurRadius(see Added);DELETE /data/radius/{ref}/session,POST /data/radius/{ref}/session-checkandGET /data/services/{ref}/sessionsrefuse it with422.
2.0.0-pre.1
The first pre-release of v2. Everything in the reference was new in it:
- Account and users: the account, its users, API keys and tokens.
- Data: address search, service qualification, orders, services, layer 2, provisioning and RADIUS.
- NBN and Opticomm: the carrier-shaped routes for addresses, qualification, orders, product inventory, provisioning, appointments, diagnostics, service health, quotes and outages.
- Voice: numbers, emergency addresses, SIP trunks, fax plans, call records and SMS.
- Support and outages: support tickets, network outages and watches.
- Webhooks: endpoints, signed delivery with retries, and events for the account, tickets, orders, services, RADIUS, outages, voice, quotes and end users.