> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List recoveries

> List your recoveries, newest first.

Your recoveries in this credential's mode, newest first. Keep passing the
`cursor` from each page until `has_more` is `false`.


## OpenAPI

````yaml openapi.json GET /api/v2/company_wallet/recoveries
openapi: 3.1.0
info:
  title: Agentcard API
  version: 2.0.0
  description: >-
    The Agentcard v2 API — connect your users and verify their identity from
    your own backend. Every call is authenticated with a platform access token
    minted from your `client_id` + `client_secret`.
servers:
  - url: https://api.agentcard.sh
    description: >-
      There is one base URL. Sandbox vs production is decided by the client
      credential you use, never by the host.
security:
  - platformToken: []
tags:
  - name: Authentication
    description: >-
      Exchange your client credentials for a platform access token, and
      introspect what a token acts as.
  - name: Connect
    description: >-
      Connect a user to your platform: send a one-time code, verify it, record
      consent, and keep the connection alive.
  - name: Identity verification
    description: >-
      Verify a connected user's identity: upload their ID, submit any extra
      fields we ask for, then show a short face scan.
paths:
  /api/v2/company_wallet/recoveries:
    get:
      tags:
        - Company wallet
      summary: List recoveries
      description: Your recoveries in this credential's mode, newest first.
      operationId: companyWalletRecoveryList
      parameters:
        - name: limit
          in: query
          required: false
          description: Rows per page, 1 to 100. Defaults to 25.
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 25
        - name: cursor
          in: query
          required: false
          description: The `cursor` from the previous page.
          schema:
            type: string
        - name: user_id
          in: query
          required: false
          description: Only this user's recoveries.
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: Only recoveries in this status.
          schema:
            type: string
            enum:
              - requested
              - processing
              - completed
              - rejected
      responses:
        '200':
          description: One page of recoveries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyWalletRecoveryList'
        '400':
          description: '`invalid_request` or `invalid_cursor`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - platformToken: []
components:
  schemas:
    CompanyWalletRecoveryList:
      type: object
      required:
        - object
        - data
        - cursor
        - has_more
      properties:
        object:
          type: string
          description: Always `list`.
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/CompanyWalletRecovery'
        cursor:
          type:
            - string
            - 'null'
          description: Pass it as `cursor` to read the next page. Null on the last page.
        has_more:
          type: boolean
          description: Whether another page follows.
    Error:
      type: object
      description: Every v2 error uses the same envelope.
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: A stable, machine-readable string (snake_case). Branch on this.
            message:
              type: string
              description: A human-readable explanation, safe to log.
            docs:
              type: string
              description: A link back to the reference.
            field_errors:
              type: object
              additionalProperties:
                type: string
              description: Only on `invalid_fields` — names each field to fix.
            warnings:
              type: array
              items:
                type: string
              description: >-
                Only on document upload errors — actionable feedback safe to
                show the user.
    CompanyWalletRecovery:
      type: object
      required:
        - object
        - id
        - status
        - user_id
        - amount_cents
        - livemode
        - created_at
      properties:
        object:
          type: string
          description: Always `company_wallet_recovery`.
          enum:
            - company_wallet_recovery
        id:
          type: string
        status:
          type: string
          enum:
            - requested
            - processing
            - completed
            - rejected
          description: >-
            `requested` and `processing` while it's under way, then `completed`
            or `rejected`.
        user_id:
          type:
            - string
            - 'null'
          description: The user the money came from.
        amount_cents:
          type: integer
          description: What's recovered.
        failure_reason:
          type:
            - string
            - 'null'
          description: Why a `rejected` recovery was rejected.
        tx_hash:
          type:
            - string
            - 'null'
          description: The onchain transaction that moved it, once there is one.
        livemode:
          type: boolean
          description: '`false` on a sandbox credential.'
        created_at:
          type: string
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          description: When it completed.
  responses:
    Unauthorized:
      description: >-
        `unauthorized` — the platform access token is missing or expired.
        Exchange your client credentials for a fresh one.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    platformToken:
      type: http
      scheme: bearer
      description: >-
        A platform access token. Get one on the **Create an access token**
        endpoint by exchanging your `client_id` + `client_secret`, then send it
        as `Authorization: Bearer <token>`. Tokens live one hour.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.