> ## 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: Linkedin Raw Request

> Advanced: sends an arbitrary request to a LinkedIn internal endpoint (request_url, method, body) through the customer’s connected account.

Advanced: sends an arbitrary request to a LinkedIn internal endpoint (request\_url, method, body) through the customer’s connected account.

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

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe unipile_linkedin_raw_request --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": {
    "object": "LinkedinRawData",
    "data": {}
  }
}
```

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

## Input reference

This magic route is intended for advanced users who wish to use LinkedIn's features beyond our current capabilities. It enables you to create custom functionalities that are not yet supported by our platform, using connected accounts. To utilize this route, you will need to identify the specific endpoint containing the desired data using web developer tools on LinkedIn, and then copy the URL along with its parameters for implementation.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.account_id` | `string` | Yes | — | A unique identifier. Minimum length: 1. |
| `payload.request_url` | `string` | Yes | — | An url pointing to some Linkedin API feature Pattern: `^https://www.linkedin.com/.*$`. |
| `payload.force_api` | `boolean` | No | — | Set to true if you need to use an API for which you might not have an active subscription. |
| `payload.bypass_redirect` | `boolean` | No | `true` | If true, do not follow HTTP redirects automatically. |
| `payload.method` | `"GET" \| "POST" \| "PUT" \| "PATCH" \| "DELETE"` | No | — | The method to be used for the request to be performed. Default is GET. Allowed: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`. |
| `payload.headers` | `object` | No | — | A headers object to be added to requests if needed. Set value as null if you need a specific header not to be included in the default headers of the request. |
| `payload.body` | `object` | No | — | A body object to be passed for POST requests. |
| `payload.binary_body` | `string` | No | — | Binary data in base 64 format to be sent as body of POST requests. Overrides the body object param. |
| `payload.query_params` | `object` | No | — | A query parameters object. |
| `payload.encoding` | `boolean` | No | `true` | Whether the query params or the body (in case of x-www-form-urlencoded content) should be encoded on the go. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "This magic route is intended for advanced users who wish to use LinkedIn's features beyond our current capabilities. It enables you to create custom functionalities that are not yet supported by our platform, using connected accounts. To utilize this route, you will need to identify the specific endpoint containing the desired data using web developer tools on LinkedIn, and then copy the URL along with its parameters for implementation.",
    "properties": {
      "account_id": {
        "type": "string",
        "description": "A unique identifier.",
        "minLength": 1
      },
      "request_url": {
        "type": "string",
        "description": "An url pointing to some Linkedin API feature",
        "pattern": "^https://www.linkedin.com/.*$"
      },
      "force_api": {
        "type": "boolean",
        "description": "Set to true if you need to use an API for which you might not have an active subscription."
      },
      "bypass_redirect": {
        "type": "boolean",
        "description": "If true, do not follow HTTP redirects automatically.",
        "default": true
      },
      "method": {
        "type": "string",
        "description": "The method to be used for the request to be performed. Default is GET.",
        "enum": [
          "GET",
          "POST",
          "PUT",
          "PATCH",
          "DELETE"
        ]
      },
      "headers": {
        "type": "object",
        "description": "A headers object to be added to requests if needed. Set value as null if you need a specific header not to be included in the default headers of the request.",
        "additionalProperties": true
      },
      "body": {
        "type": "object",
        "description": "A body object to be passed for POST requests.",
        "additionalProperties": true
      },
      "binary_body": {
        "type": "string",
        "description": "Binary data in base 64 format to be sent as body of POST requests. Overrides the body object param."
      },
      "query_params": {
        "type": "object",
        "description": "A query parameters object.",
        "additionalProperties": true
      },
      "encoding": {
        "type": "boolean",
        "description": "Whether the query params or the body (in case of x-www-form-urlencoded content) should be encoded on the go.",
        "default": true
      }
    },
    "required": [
      "account_id",
      "request_url"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `"LinkedinRawData"` | Yes | — | Allowed: `LinkedinRawData`. |
| `result.data.data` | `unknown` | 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": [
              "LinkedinRawData"
            ]
          },
          "data": {}
        },
        "required": [
          "object",
          "data"
        ],
        "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.