---
title: "Get ClearLoop Actions"
method: GET
path: "/clearloop/actions"
tags: ["clearloop"]
---

# Get ClearLoop Actions

`GET /clearloop/actions`

## Request

- Base URL: `https://api.copper.co/platform`
- URL: `https://api.copper.co/platform/clearloop/actions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/copper-co/apis/copper-platform-api/docs/clearloop/actions/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `fromTimestamp` string
- `toTimestamp` string
- `clientAccountId` string
- `portfolioIds` string[]
- `actionType` string
- `limit` string
- `offset` string
- `sortDirection` string
- `filterExecuted` boolean

## Response `200`

OK

- GetActionsResponse
  - `actions` ClearLoopAction[], required: Wrapper containing an array of delegation and undelegation action records
    - `action` string, required: Type of action performed: `add-funds` (delegate) or `remove-funds` (undelegate)
    - `amount` string, required: Amount of funds involved in the action
    - `clearLoopPortfolioId` string: ClearLoop portfolioId
    - `clientAccountId` string, required: Unique identifier of the client’s exchange account
    - `completedAt` string: Unix timestamp (in milliseconds) when the action was completed
    - `createdAt` string, required: Unix timestamp (in milliseconds) when the action was initiated
    - `currency` string, required: Currency in which the action was performed
    - `delegatedOrganizationId` string, required: Identifier of the organisation on the exchange to which the balance is delegated
    - `exchangeId` string: Identifier of the exchange where the delegated balance is held
    - `network` string: Network used for the currency
    - `orderId` string: Unique identifier of the order associated with the action
    - `organizationId` string, required: Identifier of the client organisation initiating the action
    - `status` string: Status of the action (e.g. `executed`)
    - `updatedAt` string: Unix timestamp (in milliseconds) when the action was last updated
    - `usdAmount` string: USD equivalent of the `amount` at the time of execution
  - `pagination` ClearLoopPagination
    - `limit` string: Numerical limit of records for any given page
    - `page` string: Current page index (numerical)
    - `pages` string: Total number of pages matching the query
    - `totalItems` string: Total number of records returned

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Conflict

---

[API](https://skmtc.dev/copper-co/apis/copper-platform-api.md) - [All operations](https://skmtc.dev/copper-co/apis/copper-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/copper-co/apis/copper-platform-api/revisions/44296120fc7d?raw)
