Substy Developers
Account and agency

Get account action status

Check an actionId returned by request_account_action after the user completes verification. Returns its status, expiry and recorded outcome. PENDING or RUNNING does not confirm the requested account change; an expired action requires a new request.

GET/v1/agencies/{agencyId}/account/actions/{actionId}

Check an actionId returned by request_account_action after the user completes verification. Returns its status, expiry and recorded outcome. PENDING or RUNNING does not confirm the requested account change; an expired action requires a new request.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

agencyId*string
Length1 <= length
actionId*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agencies/string/account/actions/string" \  -H "Authorization: Bearer YOUR_API_KEY"
{  "data": {    "actionId": "string",    "kind": "set_primary_email",    "status": "PENDING",    "result": null,    "expiresAt": "string"  },  "meta": {    "requestId": "string"  }}