Customer Invitation Page (Public)
The endpoints under /v1/onboarding/invitations/{token} deliberately carry no API Key auth — the token in the link is itself the credential (rate-limited per source IP). They are called from the standalone landing page the customer sees, outside the developer console.
| Endpoint | Purpose |
|---|---|
| Get Invitation | Landing page initialization: the customer name, the Meta appId/configId and other non-confidential information. |
| Submit Meta Authorization Result | Submit code + wabaId + phoneNumberId and trigger the orchestration. A double-click on submit cannot produce two sets of assets. |
| Retry Onboarding | After a first failure, resume the same operation with a fresh code. |
| Poll Onboarding Progress | Returns a redacted step view, with no token, code or account information in it. |
| Report Drop-off & Self-Service Errors | Reporting used when the customer abandons the flow or self-reports an error on the page. |
Invalid, expired and revoked invitations all resolve to the same "invitation is no longer valid" outcome, without revealing which. The requiredInput field in a failure response tells the customer what to do next: authorization_code means they need to re-authorize for a fresh code; null means they cannot recover on their own and should contact their account manager.
On retry, only code may change — wabaId and phoneNumberId were bound on first submission, and pointing at different target assets is rejected.