Skip to main content
GET
/
clearloop
/
actions
Get ClearLoop Actions
curl --request GET \
  --url https://api.copper.co/platform/clearloop/actions
{
  "actions": [
    {
      "action": "<string>",
      "amount": "<string>",
      "clientAccountId": "<string>",
      "completedAt": "<string>",
      "createdAt": "<string>",
      "currency": "<string>",
      "delegatedOrganizationId": "<string>",
      "orderId": "<string>",
      "organizationId": "<string>",
      "status": "<string>",
      "usdAmount": "<string>"
    }
  ],
  "pagination": {
    "limit": "<string>",
    "page": "<string>",
    "pages": "<string>",
    "totalItems": "<string>"
  }
}

Query Parameters

fromTimestamp
string

Unix timestamp (in milliseconds) to retrieve records from this point in time

toTimestamp
string

Unix timestamp (in milliseconds) to retrieve records up to this point in time

clientAccountId
string

Unique identifier of the exchange account for which records are retrieved

portfolioIds
string[]

List of Copper portfolio IDs to filter records

actionType
string

Type of action: add-funds (delegate to the exchange) or remove-funds (undelegate from the exchange)

limit
string

Maximum number of records to return (pagination limit)

offset
string

Number of records to skip before starting to return results (pagination offset)

sortDirection
string
default:asc

Sort order for results: asc for ascending or desc for descending

Response

OK

actions
object[]
required

Wrapper containing an array of delegation and undelegation action records

pagination
object

Object containing pagination-related info