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

# GetLeads: Lookup Colleagues

> Find contacts at a known company from its email domain or LinkedIn company URL. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Find contacts at a known company from its email domain or LinkedIn company URL.

<Info>
  Tool ID: `getleads_lookup_colleagues`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'getleads_lookup_colleagues',
  {
    "email_domain": "jane.doe@example.com",
    "linkedin_company_url": "https://www.linkedin.com/in/jane-doe",
    "job_titles": [
      "VP of Engineering"
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute getleads_lookup_colleagues --input '{
  "email_domain": "jane.doe@example.com",
  "linkedin_company_url": "https://www.linkedin.com/in/jane-doe",
  "job_titles": [
    "VP of Engineering"
  ]
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "ok": true,
    "contacts": [
      {}
    ],
    "total_available": 123
  }
}
```

Use `deepline tools get getleads_lookup_colleagues --json` for the latest machine-readable contract.

## Input reference

Returns contacts at the same company, identified by email domain or LinkedIn company URL. 1 credit per contact returned.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.email_domain` | `string` | No | — | Work email domain (e.g. acme.com). Mutually exclusive with linkedin\_company\_url. |
| `payload.linkedin_company_url` | `string` | No | — | LinkedIn company URL. Mutually exclusive with email\_domain. |
| `payload.job_titles` | `array` | No | — | Optional title filter. |
| `payload.limit_per_item` | `integer` | No | `100` | Maximum: 5000. |
| `payload.offset` | `integer` | No | `0` | — |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Returns contacts at the same company, identified by email domain or LinkedIn company URL. 1 credit per contact returned.",
    "properties": {
      "email_domain": {
        "type": "string",
        "description": "Work email domain (e.g. acme.com). Mutually exclusive with linkedin_company_url."
      },
      "linkedin_company_url": {
        "type": "string",
        "description": "LinkedIn company URL. Mutually exclusive with email_domain."
      },
      "job_titles": {
        "type": "array",
        "description": "Optional title filter.",
        "items": {
          "type": "string"
        }
      },
      "limit_per_item": {
        "type": "integer",
        "default": 100,
        "maximum": 5000
      },
      "offset": {
        "type": "integer",
        "default": 0
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.ok` | `boolean` | No | — | — |
| `result.data.contacts` | `array` | No | — | — |
| `result.data.total_available` | `integer` | No | — | — |
| `result.data.offset` | `integer` | No | — | — |
| `result.data.limit` | `integer` | No | — | — |
| `result.data.returned` | `integer` | No | — | — |
| `result.data.has_more` | `boolean` | No | — | — |
| `result.data.next_offset` | `integer` | No | — | — |
| `result.data.message` | `string` | No | — | — |
| `result.data.code` | `string` | No | — | — |
| `result.data.normalized_inputs` | `record` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "contacts": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "Contact record. Fields vary based on dataset and column selection.",
              "additionalProperties": true
            }
          },
          "total_available": {
            "type": "integer"
          },
          "offset": {
            "type": "integer"
          },
          "limit": {
            "type": "integer"
          },
          "returned": {
            "type": "integer"
          },
          "has_more": {
            "type": "boolean"
          },
          "next_offset": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "normalized_inputs": {
            "type": "object"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `1.75` per pricing unit.

## Related documentation

* [GetLeads provider guide](/docs/providers/getleads/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


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