# Invitation Management

Canonical: https://docs.bluehola.com/docs/onboarding/invitations
OpenAPI: https://docs.bluehola.com/openapi.yaml

# Invitation Management

Create a one-time invitation so the customer can complete Meta authorization on their own device. Your backend may use a customer API Key with `onboarding:write` to create links for that customer’s Portfolios. The person opening the page uses the invitation token and does not enter an API Key or App Secret.

Pass either `customerEntityId` (recommended) or `portfolioId` — exactly one. With `customerEntityId`, no Portfolio has to exist in advance: after the customer authorizes through the link, the Business Portfolio is found or created from the WABA owner. Both creation and management are confined to the Key’s own customer; invitation lists are filtered automatically.

| Endpoint | Purpose |
| --- | --- |
| [Create Onboarding Link](post-v1-onboarding-invitations.md) | Create an invitation for a given customer entity or Business Portfolio; returns a one-time link. |
| [List Invitations](get-v1-onboarding-invitations.md) | Invitations the current account has issued and their status. |
| [Revoke Invitation](delete-v1-onboarding-invitations-id.md) | Void an invitation that has not been used yet. |

:::warning

**The plaintext link appears exactly once, in the creation response.** The token is 43 characters of base64url and only its SHA-256 is stored, so a lost link can only be regenerated. `expiresInSeconds` defaults to 1800 seconds and can be set between 300 and 86400.

:::

Once the customer opens the link, it calls the [customer-side invitation endpoints](invitation-public.md) (no authentication required). See [Customer Onboarding](../guides/customer-onboarding.md) for the full flow.
