---
title: "Fetch pending actions"
method: GET
path: "/{gatewayname}/engine/user/actions"
---

# Fetch pending actions

`GET /{gatewayname}/engine/user/actions`

## Request

- Base URL: `https://gatewayapi.smallcase.com/v1`
- URL: `https://gatewayapi.smallcase.com/v1/{gatewayname}/engine/user/actions`
- Auth: none required

The API returns the pending actions, if any, for all the smallcases or for a given smallcase. The API provides the data like fix, rebalance, sell, buy and sip actions for the user

**<<apiUseCaseTerm>>**:  This API is ideal when you want to notify the user about their pending actions on the smallcases, or if you want any specific handling based on any pending action

## Path parameters

- `gatewayname` string, required

## Query parameters

- `iscid` string

## Headers

- `x-gateway-secret` string, required
- `x-gateway-authtoken` string, required

## Response `200`

200

- object
  - `success` boolean
  - `errors` unknown
  - `data` object
    - `actions` object
      - `rebalance` object[]
        - `iscid` string
        - `scid` string
        - `date` string
        - `name` string
        - `label` string
        - `version` integer
        - `rationale` string
        - `hidden` boolean
        - `imageUrl` string
      - `fix` object[]
        - `hidden` boolean
        - `iscid` string
        - `date` string
        - `name` string
        - `batchId` string
        - `scid` string
        - `source` string
        - `filled` integer
        - `quantity` integer
        - `originalLabel` string
        - `imageUrl` string
      - `sip` object[]
        - `iscid` string
        - `scid` string
        - `name` string
        - `source` string
        - `frequency` string
        - `amount` integer
        - `scheduledDate` string
        - `imageUrl` string

---

[API](https://skmtc.dev/smallcase/apis/smallcase-data-v1.md) - [All operations](https://skmtc.dev/smallcase/apis/smallcase-data-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/smallcase/apis/smallcase-data-v1/revisions/9e1b64a1d830?raw)
