Connect Infobip
Infobip is a global cloud communications platform offering omnichannel engagement across SMS, WhatsApp, Voice, Email, and other channels. The Infobip integration imports your daily usage and cost data into Cloud Intelligence™ so you can analyze your communications spend in Cloud Analytics.
Prerequisites
- An Infobip account with access to API key management in Developer Tools > API Keys.
- Your Infobip dedicated API domain (base URL), found on your Infobip homepage or account settings (format:
xxxxx.api.infobip.com). - A DoiT account with the Billing Profiles Admin permission.
Required credentials
| Field | Description | Where to find it |
|---|---|---|
| Account Name / Identifier | A friendly identifier or display name for this Infobip account | You choose this name (e.g., my-infobip-account) |
| API Base URL / Domain | Your dedicated Infobip API subdomain | Infobip Portal homepage or dashboard (e.g., xxxxx.api.infobip.com, without https://) |
| API Key | Dedicated API key with the required permissions | Infobip Portal > Developer Tools > API Keys |
Your Infobip API key must carry both of the following scopes:
billing:usage:view: Required by DoiT's daily ingestion pipeline to query billing usage (POST /billing/1/usage/query).- Account Management scope (balance read): Required by the onboarding connection test (
GET /account/1/balance).
Because Infobip enforces strict scope separation, an API key with only the balance scope will pass the connection test but fail daily billing ingestion with a 403 Forbidden error. An API key with only billing:usage:view will fail the onboarding connection test. Ensure both scopes are granted when generating the key.
Create an API key
-
Sign in to the Infobip Portal.
-
Navigate to Developer Tools > API Keys.
-
Select Create API Key and give it a name (e.g.,
doit-cloud-intelligence). -
Under permissions / scopes, grant:
billing:usage:view(under Billing)- Account balance read access (under Account Management)
-
Generate and copy the API Key.
CautionThe secret key is only displayed upon creation. Copy and store it securely.
Connect your Infobip account
-
Sign in to Cloud Intelligence, select Data ingestion and integrations > Integrations from the top navigation mega menu.
-
Search for Infobip in the integrations catalog.
-
Select Connect + on the integration card.
-
Enter your Account Name / Identifier, API Base URL / Domain (e.g.,
synthtenant1.api.infobip.com), and paste your API Key. -
Select Test connection to verify DoiT can connect to your Infobip account.
-
If the test is successful, select Save to complete the setup.
If the test fails or you need further assistance, please open an expert inquiry.
- One connection per company: Connect only once per Infobip company. The Infobip billing API returns company-wide usage across all accounts and sub-accounts under that company; connecting multiple accounts will duplicate costs.
- Initial backfill: Upon initial connection, DoiT imports historical usage data for the last 60 days (within Infobip's 3-month rolling history window). The import process can take some time. You'll receive an email when the data is available in Cloud Analytics.
Data refresh and unfinalized data
DoiT refreshes your Infobip usage data daily via an asynchronous billing query. Infobip marks usage in the current billing cycle as unfinalized until month-end reconciliation; DoiT queries with unfinalized data enabled so you have real-time visibility into current-month spend.
Reporting dimensions
Once connected, Infobip data maps to the following standard Cloud Analytics dimensions:
| Cloud Analytics dimension | Infobip value | Example |
|---|---|---|
| Provider | Infobip | Infobip |
| Billing Account | Account Name / Identifier | my-infobip-account |
| Project/Account ID | Account Key (ACCOUNT_KEY) | ACC1 |
| Service | Category Name | SMS, WhatsApp, Voice |
| SKU | Category and Country ({CATEGORY_CODE}_{COUNTRY_CODE}) | SMS_US, WHATSAPP_GB |
| Location | Country Name | United States, United Kingdom |
| Usage | Message or unit count | 1500 |
| Cost | Total cost | $12.50 |
In addition to standard dimensions, the following Infobip-specific labels are available:
| Label | Description |
|---|---|
Account Name (account_name) | Infobip sub-account or tenant name |
Account Key (account_key) | Infobip account identifier |
Channel (category_name) | Communication channel (e.g., SMS, WhatsApp, Voice) |
Category Code (category_code) | Channel code (e.g., SMS, WHATSAPP) |
Country (country_name) | Destination country name |
Country Code (country_code) | ISO destination country code (e.g., US, GB) |