> ## 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: Get Own Profile

> Get the profile of the person who owns a connected account (name, headline, provider id). Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Get the profile of the person who owns a connected account (name, headline, provider id).

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

## 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_get_own_profile',
  {
    "account_id": "123456789"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_get_own_profile --input '{
  "account_id": "123456789"
}' --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": {
    "provider": "LINKEDIN",
    "provider_id": "provider_123",
    "entity_urn": "example",
    "object_urn": "example",
    "first_name": "Jane",
    "last_name": "Doe",
    "profile_picture_url": "https://example.com",
    "email": "jane.doe@example.com",
    "premium": true,
    "open_profile": true,
    "organizations": [
      {
        "id": "id_123",
        "mailbox_id": "mailbox_123",
        "name": "Example"
      }
    ],
    "recruiter": {
      "user_id": "user_123",
      "owner_seat_id": "owner_seat_123",
      "contract_id": "contract_123"
    },
    "sales_navigator": {
      "user_id": "user_123",
      "owner_seat_id": "owner_seat_123",
      "contract_id": "contract_123"
    },
    "object": "AccountOwnerProfile"
  }
}
```

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

## Input reference

Retrieve informations about account owner.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.account_id` | `string` | Yes | — | The ID of the account to trigger the request from. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieve informations about account owner.",
    "properties": {
      "account_id": {
        "type": "string",
        "description": "The ID of the account to trigger the request from."
      }
    },
    "required": [
      "account_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.provider` | `"LINKEDIN"` | Yes | — | — |
| `result.data.provider_id` | `string` | Yes | — | — |
| `result.data.entity_urn` | `string` | Yes | — | — |
| `result.data.object_urn` | `string` | Yes | — | — |
| `result.data.first_name` | `string` | Yes | — | — |
| `result.data.last_name` | `string` | Yes | — | — |
| `result.data.profile_picture_url` | `string \| null` | Yes | — | — |
| `result.data.public_profile_url` | `string` | No | — | — |
| `result.data.public_identifier` | `string` | No | — | — |
| `result.data.headline` | `string` | No | — | — |
| `result.data.location` | `string` | No | — | — |
| `result.data.email` | `string` | Yes | — | — |
| `result.data.premium` | `boolean` | Yes | — | — |
| `result.data.open_profile` | `boolean` | Yes | — | — |
| `result.data.occupation` | `string` | No | — | — |
| `result.data.organizations` | `array` | Yes | — | — |
| `result.data.organizations[].id` | `string` | Yes | — | — |
| `result.data.organizations[].mailbox_id` | `string` | Yes | — | — |
| `result.data.organizations[].name` | `string` | Yes | — | — |
| `result.data.recruiter` | `object \| null` | Yes | — | — |
| `result.data.recruiter.user_id` | `string` | Yes | — | — |
| `result.data.recruiter.owner_seat_id` | `string` | Yes | — | — |
| `result.data.recruiter.contract_id` | `string` | Yes | — | — |
| `result.data.recruiter.error` | `"MULTIPLE_SESSIONS" \| "DISCONNECTED"` | Yes | — | — |
| `result.data.sales_navigator` | `object \| null` | Yes | — | — |
| `result.data.sales_navigator.user_id` | `string` | Yes | — | — |
| `result.data.sales_navigator.owner_seat_id` | `string` | Yes | — | — |
| `result.data.sales_navigator.contract_id` | `string` | Yes | — | — |
| `result.data.sales_navigator.error` | `"DISCONNECTED"` | Yes | — | — |
| `result.data.object` | `"AccountOwnerProfile"` | Yes | — | — |
| `result.data.self` | `boolean \| null` | No | — | — |
| `result.data.contact` | `boolean \| null` | No | — | — |
| `result.data.mutual_contact` | `boolean \| null` | No | — | — |
| `result.data.deleted` | `boolean \| null` | No | — | — |
| `result.data.bot` | `boolean \| null` | No | — | — |
| `result.data.verified` | `boolean \| null` | No | — | — |
| `result.data.restricted` | `boolean \| null` | No | — | — |
| `result.data.fake` | `boolean \| null` | No | — | — |
| `result.data.close_friend` | `boolean \| null` | No | — | — |
| `result.data.username` | `string \| null` | No | — | — |
| `result.data.phone` | `string \| null` | No | — | — |
| `result.data.status` | `object \| null` | No | — | — |
| `result.data.status.name` | `string` | Yes | — | — |
| `result.data.status.expires` | `number` | No | — | — |
| `result.data.status.was_online` | `number` | No | — | — |
| `result.data.restriction_reason` | `array \| null` | No | — | — |
| `result.data.restriction_reason[].platform` | `string` | Yes | — | — |
| `result.data.restriction_reason[].reason` | `string` | Yes | — | — |
| `result.data.restriction_reason[].text` | `string` | Yes | — | — |

The table shows the first 50 fields. Expand the raw schema below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe unipile_get_own_profile --json`.

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