Skip to main content
When the internet path to a zone is not available, wede delivers through the channels assigned to your organisation (SMS, voice, satellite, LoRa or others), in the order you set. These endpoints let your administrators read what the organisation has and set that order without wede. The same view is the Communications page of the dashboard. Inside the SMS channel, wede can also send through the provider that delivers best: see SMS providers in the measured order. You only ever see what is assigned to your organisation: each provider by its name, whether it is bought from wede or is your own API connected to wede, the price you pay (for channels bought from wede), the stock allocated for the year, this year’s usage, the usage above what your plan includes and what was already invoiced. Adding or removing a provider is done with wede.

Authentication

Session token (Authorization: Bearer <token>) of a company_admin or company_tech. Any other role, wede staff included, receives 403 forbidden. API keys are not accepted.

Read communications

Response 200
object[]
One entry per channel assigned to your organisation, in fallback order (channels not yet in the order come last).
boolean
true when the channel has at least one active provider in the order. A channel turned off is skipped.
integer
Seconds wede waits for a delivery on this channel before trying the next.
object[]
The providers assigned to your organisation for this channel: name, ownership (wede, bought from wede; own_api, your own provider connected to wede), verified (a real delivery already went through), in_cascade (part of the order), priority (position in the order), timeout_seconds, is_active, and price for providers bought from wede.
object | null
SMS providers only. What wede measured over the last measure.window_days days, from the delivery receipts: SMS handed to the provider (sends), delivered, failed (refused by the provider, undelivered or rejected), delivery_rate and median_seconds (usual time to the delivery receipt). enough is true from measure.min_resolved results. wede never stores the number or the text of an SMS to measure it.
integer
SMS providers in the order only. The order wede sends in now: your order, or the measured order when sms_measured_order is on.
boolean
Whether the SMS providers of your order go in the measured order (on by default). See SMS providers in the measured order.
string
wede when the channel is bought from wede; own_provider when every provider of the channel is your own API, billed by your provider.
object | null
The price you pay per unit for channels bought from wede, as in Billing. null for channels billed by your own provider.
object | null
The stock allocated to your organisation for the year (allocated, used, remaining, source: plan or manual). null when nothing is allocated.
object
Units sent through wede on this channel this year (units), counted as the providers charge them: each SMS segment to each recipient, each started minute of a call, each satellite or LoRa message (see What wede counts). What goes through your own providers and what your organisation receives is counted apart and never appears here. For SMS, segments are the segments sent to field teams.
integer
Units included in your plan for the year.
object | null
Usage above what your plan includes this year (overage_units) and its amount at your price. null for channels billed by your own provider. estimate_total sums every channel.
object | null
What was already invoiced this year above the plan on this channel (units and amount). Usage above the plan is invoiced every month, from October 2026, on the monthly invoice. waived_units: units above the plan before 1 October 2026, which are never invoiced. null for channels billed by your own provider.

Set the fallback order

Replaces the order. Channels come in the order wede should try them; inside each channel, providers are integration ids in the order wede should try them. A channel with no providers leaves the order.
object[]
required
Up to 20 items, each with channel, providers (up to 10 integration ids assigned to your organisation for that channel), optional enabled (default true) and optional timeout_seconds (1 to 600, default 30).
Returns 200 with the same body as the read. New events follow the new order from then on. The change is written to the audit log.

SMS providers in the measured order

With two or more SMS providers in your order, wede can send through the one that delivers best. It measures every SMS it hands to a provider from the delivery receipts: how many are delivered and how long the receipt takes. Providers with at least measure.min_resolved results over the last measure.window_days days swap places among themselves, by delivery rate and then by time to the receipt, and close values count as equal so the order does not change on noise. A provider with fewer results keeps the place you gave it. The order of the channels is always yours, and voice always runs last. It is on by default. Turn it off to send always in your order:
boolean
required
true: the measured order; false: always your order.
Returns 200 with the same body as the read. The change is written to the audit log.

Errors