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

# Unipile: List User Reactions

> List a LinkedIn user’s reactions to posts and comments. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List a LinkedIn user’s reactions to posts and comments.

> [!NOTE]
>
> Tool ID: `unipile_list_user_reactions`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'unipile_list_user_reactions',
  {
    "account_id": "123456789",
    "identifier": "example_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_list_user_reactions --input '{
  "account_id": "123456789",
  "identifier": "example_123"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe unipile_list_user_reactions --json` for the complete live contract.

## Input reference

Returns a list of reactions to posts or comments from a user.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.cursor` | `string` | No | — | A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved. Minimum length: 1. |
| `payload.limit` | `integer` | No | — | A limit for the number of items returned in the response. The value can be set between 1 and 100. Minimum: 1. Maximum: 100. |
| `payload.account_id` | `string` | Yes | — | The id of the account to perform the request from. |
| `payload.identifier` | `string` | Yes | — | The user's provider internal id. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns a list of reactions to posts or comments from a user.",
    "properties": {
      "cursor": {
        "type": "string",
        "description": "A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.",
        "minLength": 1
      },
      "limit": {
        "type": "integer",
        "description": "A limit for the number of items returned in the response. The value can be set between 1 and 100.",
        "minimum": 1,
        "maximum": 100
      },
      "account_id": {
        "type": "string",
        "description": "The id of the account to perform the request from."
      },
      "identifier": {
        "type": "string",
        "description": "The user's provider internal id."
      }
    },
    "required": [
      "account_id",
      "identifier"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `"PostReactionList"` | Yes | — | Allowed: `PostReactionList`. |
| `result.data.items` | `array` | Yes | — | — |
| `result.data.items[].object` | `"PostReaction"` | Yes | — | Allowed: `PostReaction`. |
| `result.data.items[].value` | `"LIKE" \| "PRAISE" \| "APPRECIATION" \| "EMPATHY" \| "INTEREST" \| "ENTERTAINMENT"` | Yes | — | Allowed: `LIKE`, `PRAISE`, `APPRECIATION`, `EMPATHY`, `INTEREST`, `ENTERTAINMENT`. |
| `result.data.items[].post_id` | `string` | Yes | — | A unique identifier. Minimum length: 1. |
| `result.data.items[].comment_id` | `string` | No | — | A unique identifier. Minimum length: 1. |
| `result.data.items[].author` | `object` | Yes | — | — |
| `result.data.items[].author.id` | `string` | Yes | — | A unique identifier. Minimum length: 1. |
| `result.data.items[].author.type` | `"INDIVIDUAL" \| "COMPANY"` | Yes | — | — |
| `result.data.items[].author.name` | `string \| null` | Yes | — | — |
| `result.data.items[].author.headline` | `string \| null` | Yes | — | — |
| `result.data.items[].author.profile_url` | `string \| null` | Yes | — | — |
| `result.data.items[].author.profile_picture_url` | `string \| null` | Yes | — | — |
| `result.data.items[].author.network_distance` | `"FIRST_DEGREE" \| "SECOND_DEGREE" \| "THIRD_DEGREE" \| "OUT_OF_NETWORK"` | No | — | — |
| `result.data.cursor` | `string \| null` | Yes | — | — |
| `result.data.paging` | `object` | Yes | — | — |
| `result.data.paging.page_count` | `number` | Yes | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "object": {
            "type": "string",
            "enum": [
              "PostReactionList"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "PostReaction"
                  ]
                },
                "value": {
                  "type": "string",
                  "enum": [
                    "LIKE",
                    "PRAISE",
                    "APPRECIATION",
                    "EMPATHY",
                    "INTEREST",
                    "ENTERTAINMENT"
                  ]
                },
                "post_id": {
                  "type": "string",
                  "description": "A unique identifier.",
                  "minLength": 1
                },
                "comment_id": {
                  "type": "string",
                  "description": "A unique identifier.",
                  "minLength": 1
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "A unique identifier.",
                      "minLength": 1
                    },
                    "type": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "INDIVIDUAL"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "COMPANY"
                          ]
                        }
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "headline": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "profile_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "profile_picture_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "network_distance": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "FIRST_DEGREE"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "SECOND_DEGREE"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "THIRD_DEGREE"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "OUT_OF_NETWORK"
                          ]
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "name",
                    "headline",
                    "profile_url",
                    "profile_picture_url"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "object",
                "value",
                "post_id",
                "author"
              ],
              "additionalProperties": false
            }
          },
          "cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "paging": {
            "type": "object",
            "properties": {
              "page_count": {
                "type": "number"
              }
            },
            "required": [
              "page_count"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "object",
          "items",
          "cursor",
          "paging"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Unipile provider guide](https://deepline.com/docs/providers/unipile/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


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