Skip to main content
GET
/
bundle
/
{productType}
cURL
curl --request GET \
  --url https://api.belio.co.ke/bundle/{productType} \
  --header 'Authorization: Bearer <token>'
{
  "desc": {
    "result": [
      {
        "reference": "<string>",
        "band": "STARTER",
        "bandName": "<string>",
        "rates": {
          "Safaricom": 123,
          "Airtel": 123
        },
        "balances": [
          {
            "id": 123,
            "channel": "Safaricom",
            "balance": 123,
            "allotted": 123,
            "reserved": 123,
            "expiry": "2023-11-07T05:31:56Z"
          }
        ],
        "validity": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}
Refer to Authentication for information on how to obtain a Bearer token.
This endpoint requires the mobilize.bundle.list API client authorization scope to access the list of bundles. You can set up scopes on the API Clients page.

Rate Limit

This endpoint is rate limited to 1 request per second.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productType
enum<string>
default:SMS
required

Type of product associated with the bundle e.g SMS, DATA_BUNDLE

Available options:
SMS,
DATA_BUNDLE

Response

List of available bundles

desc
object

The response

I