> ## 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.

# Aviato: Get Post Reshares

> List the people who reshared a LinkedIn post. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List the people who reshared a LinkedIn post.

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

## 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(
  'aviato_get_post_reshares',
  {
    "postUrn": "example"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute aviato_get_post_reshares --input '{
  "postUrn": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "results": [
      {
        "urn": "example",
        "actor": {
          "linkedinURL": "https://www.linkedin.com/in/jane-doe",
          "name": "Example",
          "entityType": "example"
        },
        "postRange": {
          "earliest": "2026-01-15T12:00:00Z",
          "latest": "2026-01-15T12:00:00Z"
        },
        "postAge": "example",
        "socialActivityCounts": {
          "commentsCount": 123,
          "sharesCount": 123,
          "reactionsCount": 123
        },
        "images": [
          "example"
        ],
        "url": "https://example.com"
      }
    ],
    "totalResults": 123,
    "pages": 123
  }
}
```

Use `deepline describe aviato_get_post_reshares --json` for the latest machine-readable contract.

## Input reference

Get reshares for a LinkedIn post

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.postUrn` | `string` | Yes | — | LinkedIn post URN |
| `payload.page` | `integer` | No | `1` | Page number |
| `payload.perPage` | `integer` | No | `10` | Number of items per page |
| `payload.paginationToken` | `string` | No | — | Token required for pagination, will be returned upon first request. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Get reshares for a LinkedIn post",
    "properties": {
      "postUrn": {
        "type": "string",
        "description": "LinkedIn post URN"
      },
      "page": {
        "type": "integer",
        "description": "Page number",
        "default": 1
      },
      "perPage": {
        "type": "integer",
        "description": "Number of items per page",
        "default": 10
      },
      "paginationToken": {
        "type": "string",
        "description": "Token required for pagination, will be returned upon first request."
      }
    },
    "required": [
      "postUrn"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.results` | `array` | Yes | — | — |
| `result.data.results[].urn` | `string` | Yes | — | — |
| `result.data.results[].actor` | `object` | Yes | — | — |
| `result.data.results[].actor.linkedinURL` | `string` | Yes | — | — |
| `result.data.results[].actor.name` | `string` | Yes | — | — |
| `result.data.results[].actor.image` | `string` | No | — | — |
| `result.data.results[].actor.entityType` | `string` | Yes | — | — |
| `result.data.results[].actor.linkedinID` | `string` | No | — | — |
| `result.data.results[].postRange` | `object` | Yes | — | — |
| `result.data.results[].postRange.earliest` | `string` | Yes | — | Format: `date-time`. |
| `result.data.results[].postRange.latest` | `string` | Yes | — | Format: `date-time`. |
| `result.data.results[].postAge` | `string` | Yes | — | — |
| `result.data.results[].socialActivityCounts` | `object` | Yes | — | — |
| `result.data.results[].socialActivityCounts.commentsCount` | `integer` | No | — | — |
| `result.data.results[].socialActivityCounts.sharesCount` | `integer` | No | — | — |
| `result.data.results[].socialActivityCounts.reactionsCount` | `integer` | No | — | — |
| `result.data.results[].socialActivityCounts.reactionTypeCounts` | `array` | No | — | — |
| `result.data.results[].socialActivityCounts.reactionTypeCounts[].count` | `integer` | Yes | — | — |
| `result.data.results[].socialActivityCounts.reactionTypeCounts[].reactionType` | `string` | Yes | — | — |
| `result.data.results[].images` | `array` | Yes | — | — |
| `result.data.results[].video` | `object` | No | — | — |
| `result.data.results[].video.url` | `string` | No | — | — |
| `result.data.results[].video.thumbnail` | `string` | No | — | — |
| `result.data.results[].resharedPost` | `record` | No | — | Recursive OpenAPI schema reference #/components/schemas/type\_social:LinkedinPost. |
| `result.data.results[].commentary` | `string` | No | — | — |
| `result.data.results[].header` | `string` | No | — | — |
| `result.data.results[].headerEntity` | `object` | No | — | — |
| `result.data.results[].headerEntity.entityType` | `string` | Yes | — | — |
| `result.data.results[].headerEntity.image` | `string` | No | — | — |
| `result.data.results[].headerEntity.linkedinURL` | `string` | No | — | — |
| `result.data.results[].headerEntity.linkedinID` | `string` | No | — | — |
| `result.data.results[].headerEntity.name` | `string` | No | — | — |
| `result.data.results[].url` | `string` | Yes | — | — |
| `result.data.totalResults` | `integer` | Yes | — | — |
| `result.data.pages` | `integer` | Yes | — | — |
| `result.data.paginationToken` | `string` | No | — | — |
| `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": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "urn": {
                  "type": "string"
                },
                "actor": {
                  "type": "object",
                  "properties": {
                    "linkedinURL": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "image": {
                      "type": "string"
                    },
                    "entityType": {
                      "type": "string"
                    },
                    "linkedinID": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "linkedinURL",
                    "name",
                    "entityType"
                  ],
                  "additionalProperties": false
                },
                "postRange": {
                  "type": "object",
                  "properties": {
                    "earliest": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "latest": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "earliest",
                    "latest"
                  ],
                  "additionalProperties": false
                },
                "postAge": {
                  "type": "string"
                },
                "socialActivityCounts": {
                  "type": "object",
                  "properties": {
                    "commentsCount": {
                      "type": "integer"
                    },
                    "sharesCount": {
                      "type": "integer"
                    },
                    "reactionsCount": {
                      "type": "integer"
                    },
                    "reactionTypeCounts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "count": {
                            "type": "integer"
                          },
                          "reactionType": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "count",
                          "reactionType"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                },
                "images": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "video": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "thumbnail": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "resharedPost": {
                  "type": "object",
                  "description": "Recursive OpenAPI schema reference #/components/schemas/type_social:LinkedinPost.",
                  "additionalProperties": true
                },
                "commentary": {
                  "type": "string"
                },
                "header": {
                  "type": "string"
                },
                "headerEntity": {
                  "type": "object",
                  "properties": {
                    "entityType": {
                      "type": "string"
                    },
                    "image": {
                      "type": "string"
                    },
                    "linkedinURL": {
                      "type": "string"
                    },
                    "linkedinID": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "entityType"
                  ],
                  "additionalProperties": false
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "urn",
                "actor",
                "postRange",
                "postAge",
                "socialActivityCounts",
                "images",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "totalResults": {
            "type": "integer"
          },
          "pages": {
            "type": "integer"
          },
          "paginationToken": {
            "type": "string"
          }
        },
        "required": [
          "results",
          "totalResults",
          "pages"
        ],
        "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.28` per pricing unit.

## Related documentation

* [Aviato provider guide](https://deepline.com/docs/providers/aviato/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.