Skip to main content

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​

NameInRequiredType / constraintsDescription
tokenpathYesstringThe one-time token from the invitation link

Request body​

A request body is required.

Request body fields​

FieldTypeRequiredDescription
eventstringYesFINISH* / CANCEL / ERROR
currentStepstringNoThe screen the customer was on when they abandoned
errorCodestringNoMeta's error code
errorMessagestringNoMeta's error text
metaSessionIdstringNoMeta's session_id
timestampintegerNoUnix 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​

StatusDescription
202Accepted
4xxClient 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.