Skip to main content

Recovery Request Lookups by Account

These two endpoints of the Recovery UX API find a Safe account's recovery requests by account address instead of by request ID. Start with the UX API reference for the main flow, authentication, and how moduleAddress selects the Social Recovery Module. To fetch one request by its ID, use /v1/recoveries/fetchById.

Endpoints at a Glance​

EndpointKey paramsReturns
GET /v1/recoveries/fetchByAddressaccount, chainId, moduleAddress?, nonceArray of recovery requests
GET /v1/recoveries/listByAddressaccount, chainId, moduleAddress?; optional filters status, executed, finalized, nonce, createdAt, orderBy, order, limit, offsetArray of recovery requests

Fetch recovery by address​

Fetch all discoverable requests matching a Safe account, chain, module, and recovery nonce. The response is an array, which can be empty. Supply nonce as a hexadecimal string; it is the account's nonce on the module named by moduleAddress.

GET /v1/recoveries/fetchByAddress​

curl -G "https://yourcompany.recovery.candide.dev/v1/recoveries/fetchByAddress" \
-H 'Authorization: Bearer YOUR_BEARER_TOKEN' \
--data-urlencode "account=0xD422B9d638a7BA4eBeF9e33Af9456007eAB4ccba" \
--data-urlencode "chainId=1" \
--data-urlencode "moduleAddress=0x00480F5ecC008995469fA7e12c70Ef3DC9FEe7fD" \
--data-urlencode "nonce=0x1"

List all recoveries by address​

Lists the recovery requests made for a Safe account on one module, with filtering, pagination, and ordering. The executed and finalized filters are cross-checked with the on-chain events indexed for that module.

GET /v1/recoveries/listByAddress​

curl -G "https://yourcompany.recovery.candide.dev/v1/recoveries/listByAddress" \
-H 'Authorization: Bearer YOUR_BEARER_TOKEN' \
--data-urlencode "account=0xD422B9d638a7BA4eBeF9e33Af9456007eAB4ccba" \
--data-urlencode "chainId=1" \
--data-urlencode "moduleAddress=0x00480F5ecC008995469fA7e12c70Ef3DC9FEe7fD" \
--data-urlencode "limit=20" \
--data-urlencode "offset=0"

Choosing between the two endpoints:

  • /v1/recoveries/fetchByAddress: Use when you know the exact nonce. Ideal for checking a specific pending request or looking up the current recovery state.
  • /v1/recoveries/listByAddress: Use when you need to query multiple requests with filtering, pagination, or sorting. Better for dashboard UIs showing recovery history.