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

> List all connected Unipile accounts (LinkedIn, WhatsApp, Instagram, Telegram, Gmail/Google, Microsoft/Outlook, IMAP email, and more) with their account_id.

List all connected Unipile accounts (LinkedIn, WhatsApp, Instagram, Telegram, Gmail/Google, Microsoft/Outlook, IMAP email, and more) with their account\_id.

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

## 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_accounts',
  {
    "limit": 123,
    "cursor": "cursor_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_list_accounts --input '{
  "limit": 123,
  "cursor": "cursor_123"
}' --json
```

## Example response

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

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.limit` | `integer` | No | — | Number of items to return (1-250). Minimum: 1. Maximum: 250. |
| `payload.cursor` | `string` | No | — | Pagination cursor from the previous response. null in a response means no more results. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "limit": {
        "type": "integer",
        "description": "Number of items to return (1-250).",
        "minimum": 1,
        "maximum": 250
      },
      "cursor": {
        "type": "string",
        "description": "Pagination cursor from the previous response; null in a response means no more results."
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `"AccountList"` | Yes | — | Allowed: `AccountList`. |
| `result.data.items` | `array` | Yes | — | — |
| `result.data.items[].object` | `"Account"` | Yes | — | — |
| `result.data.items[].type` | `"MOBILE"` | Yes | — | — |
| `result.data.items[].connection_params` | `object` | Yes | — | — |
| `result.data.items[].connection_params.im` | `object` | Yes | — | — |
| `result.data.items[].connection_params.im.phone_number` | `string` | Yes | — | — |
| `result.data.items[].connection_params.im.sim_serial_number` | `string` | Yes | — | — |
| `result.data.items[].connection_params.call` | `object` | Yes | — | — |
| `result.data.items[].connection_params.call.phone_number` | `string` | Yes | — | — |
| `result.data.items[].connection_params.call.sim_serial_number` | `string` | Yes | — | — |
| `result.data.items[].last_fetched_at` | `unknown` | No | — | An ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). ⚠️ All links expire upon daily restart, regardless of their stated expiration date. A new link must be generated each time a user clicks on your app to connect. |
| `result.data.items[].id` | `string` | Yes | — | A unique identifier. |
| `result.data.items[].name` | `string` | Yes | — | — |
| `result.data.items[].created_at` | `unknown` | Yes | — | An ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). ⚠️ All links expire upon daily restart, regardless of their stated expiration date. A new link must be generated each time a user clicks on your app to connect. |
| `result.data.items[].current_signature` | `string` | No | — | A unique identifier. |
| `result.data.items[].signatures` | `array` | No | — | — |
| `result.data.items[].signatures[].title` | `string` | Yes | — | — |
| `result.data.items[].signatures[].content` | `string` | Yes | — | — |
| `result.data.items[].groups` | `array` | Yes | — | — |
| `result.data.items[].sources` | `array` | Yes | — | — |
| `result.data.items[].sources[].id` | `string` | Yes | — | — |
| `result.data.items[].sources[].status` | `"OK" \| "STOPPED" \| "ERROR" \| "CREDENTIALS" \| "PERMISSIONS" \| "CONNECTING"` | Yes | — | — |
| `result.data.items[].connection_params.mail` | `object` | Yes | — | — |
| `result.data.items[].connection_params.mail.imap_host` | `string` | Yes | — | — |
| `result.data.items[].connection_params.mail.imap_port` | `number` | Yes | — | — |
| `result.data.items[].connection_params.mail.imap_user` | `string` | Yes | — | — |
| `result.data.items[].connection_params.mail.imap_encryption` | `"tls" \| "ssl" \| "starttls" \| "default"` | No | — | — |
| `result.data.items[].connection_params.mail.smtp_host` | `string` | Yes | — | — |
| `result.data.items[].connection_params.mail.smtp_port` | `number` | Yes | — | — |
| `result.data.items[].connection_params.mail.smtp_user` | `string` | Yes | — | — |
| `result.data.items[].connection_params.mail.id` | `string` | Yes | — | — |
| `result.data.items[].connection_params.mail.username` | `string` | Yes | — | — |
| `result.data.items[].connection_params.calendar` | `object` | Yes | — | — |
| `result.data.items[].connection_params.calendar.id` | `string` | Yes | — | — |
| `result.data.items[].connection_params.calendar.username` | `string` | Yes | — | — |
| `result.data.items[].connection_params.mail.mailbox_id` | `string` | No | — | — |
| `result.data.items[].connection_params.calendar.mailbox_id` | `string` | No | — | — |
| `result.data.items[].sync_token` | `string` | No | — | — |
| `result.data.items[].connection_params.im.id` | `string` | Yes | — | — |
| `result.data.items[].connection_params.im.connection_method` | `"credentials" \| "cookies" \| "unilogin"` | No | — | — |
| `result.data.items[].connection_params.im.last_visited_page` | `object` | No | — | — |
| `result.data.items[].connection_params.im.last_visited_page.url` | `string` | Yes | — | — |
| `result.data.items[].connection_params.im.last_visited_page.visited_at` | `unknown` | Yes | — | An ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ). ⚠️ All links expire upon daily restart, regardless of their stated expiration date. A new link must be generated each time a user clicks on your app to connect. |
| `result.data.items[].connection_params.im.publicIdentifier` | `string` | No | — | — |
| `result.data.items[].connection_params.im.username` | `string` | Yes | — | — |
| `result.data.items[].connection_params.im.premiumId` | `string \| null` | Yes | — | — |
| `result.data.items[].connection_params.im.premiumContractId` | `string \| null` | Yes | — | — |
| `result.data.items[].connection_params.im.premiumFeatures` | `array` | No | — | — |

The table shows the first 50 fields. Use the live contract below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe unipile_list_accounts --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.