Get Account Balance
Retrieve the current credit balance available in your Bulkit wallet.
Last updated · Markdown version
This is useful for:
- pre-flight credit checks before sending campaigns
- monitoring available balance in dashboards and billing systems
- alerting when your account balance is low
Endpoint title
Get Account Balance
What this endpoint does
Returns the real-time cash credit balance, active Smart Bundle credits, last updated timestamp, and wallet currency for the authenticated Bulkit client account.
HTTP method and path
HTTP
GET /api/v2/account/creditsAuthorization requirements
This endpoint supports:
- Bearer token (recommended):
Authorization: Bearer <api_key> - Legacy headers:
X-API-KeyandX-API-Secret - URL query parameter:
?apikey=<api_key>
Bearer token authorization is preferred.
Endpoint code block
HTTP
GET https://api.bulkitsms.com/api/v2/account/creditsAuthorization example
HTTP
Authorization: Bearer bk_live_8n6JQv3K1h9Lp0MdRequest examples
cURL / Bash
curl -X GET "https://api.bulkitsms.com/api/v2/account/credits" \
-H "Authorization: Bearer bk_live_8n6JQv3K1h9Lp0Md"Parameters
This endpoint does not require a JSON request body.
Authentication parameters
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
Authorization | Header | Yes (recommended) | string | Bearer <your_api_key> |
X-API-Key | Header | Optional (legacy) | string | Your Bulkit key |
X-API-Secret | Header | Optional (legacy) | string | Your Bulkit secret |
apikey | Query | Optional fallback | string | API key used in URL authorization |
Success response example
JSON
{
"status": "success",
"data": {
"client_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"balance": 2.97,
"bundle_credits": 429,
"last_change": "2026-10-24T06:30:00Z",
"currency": "KES"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
client_id | string | UUID representing your Bulkit client account. |
balance | number | Available cash float balance (in KES), accurate to 2 decimal places. Does not expire. |
bundle_credits | integer | Total active, unexpired SMS units remaining across all your Smart Bundles. These credits take priority over cash balance during SMS dispatch. |
last_change | string | ISO 8601 timestamp of the most recent balance transaction. |
currency | string | Wallet currency code (KES). |
Error response examples
Invalid credentials
JSON
{
"status": "error",
"message": "Invalid API Key or Secret"
}Unauthorized request
JSON
{
"status": "error",
"message": "Invalid API Key or Secret"
}Notes and best practices
- Credit Priority (FEFO): When dispatching SMS, Bulkit always consumes active
bundle_creditsfirst before debiting your cashbalance. See Smart Bundles for full details. - Zero-Cash Sending: If you have active
bundle_credits, you can successfully dispatch SMS even if your cashbalanceis0.00. - Check balance before high-volume SMS or WhatsApp broadcasts.
- Use
Authorization: Bearer <token>in production systems. - Balances are returned as exact floating-point values (e.g.
2.97), enabling real-time micro-deductions per message unit. - The
currencyfield is typicallyKES.