After the First Authorization Attempt Fails
/v1/onboarding/invitations/{token}/retry[Customer-side, unauthenticated] After the first authorization attempt fails, continue the same operation with a new Meta code (no new onboarding task is created). Only code is accepted: wabaId/phoneNumberId are already recorded on the operation, and pointing at different target assets on retry is not allowed. Only a failed, unexpired invitation can be retried; a completed one returns 409.
This endpoint does not require an API Key.
Request
Base URL: https://api.bluehola.com
Parameters
| Name | In | Required | Type / constraints | Description |
|---|---|---|---|---|
token | path | Yes | string | The one-time token from the invitation link |
Request body
A request body is required.
Request body fields
| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes | A new, one-time Meta OAuth authorization code |
Content-Type: application/json
Example:
{
"code": "<FRESH_META_OAUTH_CODE>"
}
Schema:
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "string · required — a new, one-time Meta OAuth authorization code"
}
},
"required": [
"code"
],
"example": {
"code": "<FRESH_META_OAUTH_CODE>"
}
}
Response
| Status | Description |
|---|---|
202 | Accepted |
4xx | Client error |
For the common error envelope and how to handle it, see Error Codes.
Notes
Diagnostics when the claim fails
The claim condition is stricter than for complete: it requires the invitation status to be exactly failed, the link to be unexpired, and an operationId to already be bound. When the claim fails, this does not return a generic error — it diagnoses the specific reason first and returns the matching message:
completed→ "no retry needed"pending(never successfully submitted) → "not submitted yet, please complete authorization first"running(currently processing) → "processing, please wait", marked withretryable:truefor the landing page to poll onfailedbut the link has expired → equivalent to "the invitation is no longer valid"
Resume semantics
Under the hood this reuses retryEmbeddedSignup, resuming from the step that last failed — subscription or phone registration steps that already succeeded are not re-run. If this retry throws again, the invitation is put back to failed (rather than pending, as a failure inside complete would be) — deliberately preserving the "already submitted once" semantics, so the next attempt still goes through this endpoint rather than mistakenly falling back to the first-submission complete endpoint.