# Glossary

Canonical: https://docs.bluehola.com/docs/reference/glossary
OpenAPI: https://docs.bluehola.com/openapi.yaml

Only terms you will actually meet in these docs are listed. The ID prefix column is the quickest way to tell which kind of resource an unfamiliar id belongs to.

## Assets and identity

| Term | ID prefix | Meaning |
| --- | --- | --- |
| API Key | — | The single credential for a server-side integration, bound to one customer entity and its current Business Portfolios. Previously issued single-Portfolio Keys remain valid. The plaintext appears exactly once, at issue time; the platform stores only a hash. See [Authentication & Scopes](../guides/authentication.md). |
| scope | — | A fine-grained permission on an API Key, such as `messages:send`. Whether an endpoint checks scopes is stated in the "Authentication" note on that endpoint's page; a Key whose value is `*` or empty passes every check. |
| tenantId | `tenant_` | Account identifier. Call [`GET /whoami`](../authentication/get-whoami.md) to confirm which account the current Key belongs to. |
| Business Portfolio | `bm_` | The outermost container for a customer's assets; WABAs and phone numbers both hang off it. These docs use this term consistently when referring to a customer. |
| WABA | `waba_` | WhatsApp Business Account. Sits under a Business Portfolio and is what phone numbers and templates belong to. |
| Business phone number | `pn_` | The platform's own record of a phone number. Note that read endpoints return a **local snapshot**; for live state on the Meta side, query the [registration status](../assets-phone-numbers/get-v1-phone-numbers-id-registration-status.md). |
| platformVersion | — | The API process version that handled this request. Useful when checking whether a given fix has shipped. Do **not** base authorization decisions on it. |

## Messaging

| Term | ID prefix | Meaning |
| --- | --- | --- |
| wamid | `wamid.` | Meta's message identifier, returned once Meta has accepted the message. |
| Idempotency-Key | — | A request de-duplication key that you generate yourself, ≤200 characters. See [Idempotency & Retries](idempotency.md). |
| 24-hour customer service window | — | For 24 hours after the customer last messaged you, you may send free-form content. Once the window closes, only approved templates can be sent. |
| Template | — | A message template that requires Meta review. The only message type available once the 24-hour window has closed. |
| Flow | — | A multi-step interactive form inside a conversation. It must be published before it can be referenced in an `interactive` message. |
| Media id | — | Returned by Meta after uploading via `POST /v1/media`. It typically **expires after a few days** — do not treat it as a long-term asset library. |
| CTWA | — | Click to WhatsApp advertising. The first message it produces carries the ad click id. |
| Pixel / dataset | — | Meta's conversion dataset. Conversion events received while nothing is linked are stored as `skipped` and replayed automatically once a link exists. |

## Billing

| Term | Meaning |
| --- | --- |
| minor units | An integer in the smallest currency unit. Every amount field in these docs (`*Minor`) uses this convention — not floating-point major units. |
| Credit account | A single account-level wallet holding the currency, available balance and reserved balance. When no credit line has been opened, the balance endpoint returns **404** rather than all zeros. |
| Reservation / settlement / reversal | Submitting a message locks a `reserved` amount; when Meta returns a wamid it becomes an actual charge; when a status callback reports `failed` it is reversed automatically. |
| Budget cap | `allocatedMinor`: `null` means **no limit**, `0` means **frozen**. The two mean opposite things. |
| Credit line | Meta-side credit sharing. It is shared to a Business Portfolio first, then attached to a specific WABA — which is why other WABAs under the same Portfolio share that authorization. |
| Net charged vs. volume sent | `totalChargedCount` aggregates the ledger (+1 per charge, −1 per reversal); `totalMessages` counts rows in the message table (including uncharged and failed ones). **It is normal for the two to differ.** |

## Onboarding and webhooks

| Term | ID prefix | Meaning |
| --- | --- | --- |
| Embedded Signup (ES) | — | Meta's customer authorization popup flow. The platform orchestrates it as a resumable five-step state machine. |
| operationId | — | Identifies one onboarding orchestration. After a failure, use `retry` to **continue the same one** rather than creating a new one. |
| Invitation token | — | A one-time credential inside an invitation link: 43 characters of base64url, stored only as SHA-256. The plaintext appears exactly once, in the creation response. |
| PLBV | — | Meta's Business Verification status. |
| Endpoint | `whe_` | A webhook receiving endpoint. `DELETE` is a soft disable; history is retained. |
| Connection protocol | — | The newer signature scheme used by endpoints created with a `connectionId` (`Webhook-Signature: v1,<hex>`, with the timestamp included in the signature). Such endpoints start out `pending`. |
| X-Delivery-Id / Webhook-Id | `wd_` / `evt_` | The unique id of a delivery or an event, for de-duplication on the receiving side. Delivery is **at-least-once**. |
| probe event | — | The fallback classification Meta uses when a callback body cannot be parsed as a known event. This is **not** the console's "Test" button, which sends `webhook.verification`. |
