API ReferenceCurrent account activations
Get the caller's current-account activation
Returns the caller's most recent current-account activation in any lifecycle state — the one representing their present onboarding — so a client that no longer holds the activation id (reinstall, new device) can resume the OTP step or read the terminal outcome. Returns 404 when the caller has no current account, or has one but has never started an activation.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/user/accounts/current/activation"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "AWAITING_OTP", "created_at": "2019-08-24T14:15:22Z", "otp_confirmed_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z", "rejection_reason": "string", "current_verification": { "channel": "string" }, "resource_id": "string"}{ "code": "BAD_REQUEST", "description": "Bad Request"}{ "code": "UNAUTHORISED", "description": "Unauthorised"}{ "code": "WAITING_LIST", "description": "User is in the waiting list"}{ "code": "TOO_MANY_REQUESTS", "description": "Too Many Requests"}{ "code": "INTERNAL_SERVER_ERROR", "description": "Internal Server Error"}