Report When a Customer Abandons the Flow or Self-Reports an Error on the Invitation Page
POST
/v1/onboarding/invitations/{token}/es-events[Customer-side, unauthenticated] Report when a customer abandons the flow or self-reports an error on the invitation page. Always 202.
Authentication
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 |
|---|---|---|---|
event | string | Yes | FINISH* / CANCEL / ERROR |
currentStep | string | No | The screen the customer was on when they abandoned |
errorCode | string | No | Meta's error code |
errorMessage | string | No | Meta's error text |
metaSessionId | string | No | Meta's session_id |
timestamp | integer | No | Unix seconds |
Content-Type: application/json
Schema:
{
"type": "object",
"properties": {
"event": {
"type": "string",
"description": "string · required — FINISH* / CANCEL / ERROR"
},
"currentStep": {
"type": "string",
"description": "string · optional — the screen the customer was on when they abandoned"
},
"errorCode": {
"type": "string",
"description": "string · optional — Meta's error code"
},
"errorMessage": {
"type": "string",
"description": "string · optional — Meta's error text"
},
"metaSessionId": {
"type": "string",
"description": "string · optional — Meta's session_id"
},
"timestamp": {
"type": "string",
"description": "integer · optional — unix seconds"
}
},
"required": [
"event"
]
}
Response
| Status | Description |
|---|---|
202 | Accepted |
4xx | Client error |
For the common error envelope and how to handle it, see Error Codes.
Notes
Ownership (account / Portfolio) is resolved only from the token in the link; the body cannot specify it — the same rule as /complete. This also returns 202 for an invalid token: this is diagnostic data, and returning an error would only turn this endpoint into a probe for "does this token exist". Like the other customer-side endpoints, it is rate-limited per source IP.