API Management

Connect any API service to the CBS the same way: Vendor → Work → API set. IN = data comes into the CBS from the vendor (CIC alerts, delivery reports, replies). OUT = the CBS calls the vendor (send an SMS or WhatsApp message).

API call logs
@if (error && !adding) {
{{ error }}
} @if (info) {
{{ info }}
}
Vendors
{{ vendors.length }}
{{ activeVendors }} active
APIs
{{ totalIn + totalOut }}
{{ totalIn }} IN · {{ totalOut }} OUT
Calls in 24 hours
{{ summary.callsToday }}
both directions
Failed in 24 hours
{{ summary.failedToday }}
see the call logs

Vendors

@if (loading && !vendors.length) {
Loading…
} @else {
@for (v of vendors; track v.id) { @if (v.links.length) { } }
Vendor Work APIs Environment 24 h calls Last call Active
{{ v.name }}
{{ v.code }}
{{ v.work }} @if (count(v, 'IN')) { IN × {{ count(v, 'IN') }} } @if (count(v, 'OUT')) { OUT × {{ count(v, 'OUT') }} } @if (!v.apis.length) { none yet } {{ v.environment }} {{ calls(v).calls }} @if (calls(v).failed) { · {{ calls(v).failed }} failed } {{ v.lastCallOn ? (v.lastCallOn | slice: 0 : 16) : '—' }} Set up
{{ v.code }} also has: @for (l of v.links; track l.route) { {{ l.label }} }
}
@if (adding) {

Add an API vendor

@if (error) {
{{ error }}
}

Next you set up the connection and add its APIs, each marked IN or OUT.

}