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

# Amplemarket: Get Contacts ID

> Retrieve contact. Amplemarket Get Contacts Id reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Retrieve contact.

<Info>
  Tool ID: `amplemarket_get_contacts_id`
</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(
  'amplemarket_get_contacts_id',
  {
    "id": "id_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute amplemarket_get_contacts_id --input '{
  "id": "id_123"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "id": "123e4567-e89b-42d3-a456-426614174000",
    "email": "jane.doe@example.com"
  }
}
```

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

## Input reference

Retrieve contact

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `string` | Yes | — | Contact id |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieve contact",
    "properties": {
      "id": {
        "type": "string",
        "description": "Contact id"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `string` | Yes | — | Format: `uuid`. |
| `result.data.name` | `string \| null` | No | — | — |
| `result.data.first_name` | `string \| null` | No | — | — |
| `result.data.last_name` | `string \| null` | No | — | — |
| `result.data.email` | `string \| null` | Yes | — | — |
| `result.data.linkedin_url` | `string \| null` | No | — | Format: `uri`. |
| `result.data.title` | `string \| null` | No | — | — |
| `result.data.location` | `string \| null` | No | — | — |
| `result.data.time_zone` | `string \| null` | No | — | — |
| `result.data.company_name` | `string \| null` | No | — | — |
| `result.data.company_domain` | `string \| null` | No | — | — |
| `result.data.owner` | `string \| null` | No | — | — |
| `result.data.last_contacted_at` | `string \| null` | No | — | Format: `date_time`. |
| `result.data.phone_numbers` | `array` | No | — | — |
| `result.data.phone_numbers[].object` | `"phone_number"` | Yes | — | Allowed: `phone_number`. |
| `result.data.phone_numbers[].id` | `string` | Yes | — | Format: `uuid`. |
| `result.data.phone_numbers[].number` | `string` | Yes | — | — |
| `result.data.phone_numbers[].type` | `"mobile" \| "office" \| "phone" \| "landline" \| "voip" \| "direct"` | Yes | — | Allowed: `mobile`, `office`, `phone`, `landline`, `voip`, `direct`. |
| `result.data.phone_numbers[].source` | `"amplemarket" \| "crm" \| "user_uploaded" \| "uploaded_by_user"` | No | — | Origin of the phone number. Amplemarket returns uploaded\_by\_user for numbers supplied through post\_contacts. Allowed: `amplemarket`, `crm`, `user_uploaded`, `uploaded_by_user`. |
| `result.data.phone_numbers[].is_wrong_number` | `boolean` | Yes | — | — |
| `result.data.phone_numbers[].is_dnc_listed` | `boolean` | No | — | Present only when the account has phone number DNC list enabled |
| `result.data.phone_numbers[].kind` | `string` | No | — | Phone number kind. Amplemarket returns this alongside the documented type field. |
| `result.data.phone_numbers[].uploaded_id` | `string` | No | — | Identifier of the uploaded phone number record, present when a caller supplied the number. |
| `result.data.recent_activity` | `array` | No | — | — |
| `result.data.recent_activity[].event_at` | `string` | Yes | — | Format: `date_time`. |
| `result.data.recent_activity[].event_type` | `string` | Yes | — | — |
| `result.data.recent_activity[].automatic` | `boolean \| null` | No | — | — |
| `result.data.recent_activity[].type` | `string \| null` | No | — | — |
| `result.data.recent_activity[].description` | `string \| null` | No | — | — |
| `result.data.recent_activity[].subject` | `string \| null` | No | — | — |
| `result.data.recent_activity[].body` | `string \| null` | No | — | — |
| `result.data.recent_activity[].sequence_id` | `string \| null` | No | — | — |
| `result.data.recent_activity[].sequence_name` | `string \| null` | No | — | — |
| `result.data.recent_activity[].sequence_type` | `string \| null` | No | — | — |
| `result.data.recent_activity[].index` | `integer \| null` | No | — | — |
| `result.data.recent_activity[].tags` | `array \| null` | No | — | — |
| `result.data.recent_activity[].notes` | `string \| null` | No | — | — |
| `result.data.recent_activity[].call_disposition` | `string \| null` | No | — | — |
| `result.data.recent_activity[].call_notes` | `string \| null` | 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": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "first_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "linkedin_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "location": {
            "type": [
              "string",
              "null"
            ]
          },
          "time_zone": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_contacted_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date_time"
          },
          "phone_numbers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "object": {
                  "type": "string",
                  "enum": [
                    "phone_number"
                  ]
                },
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "number": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "mobile",
                    "office",
                    "phone",
                    "landline",
                    "voip",
                    "direct"
                  ]
                },
                "source": {
                  "type": "string",
                  "description": "Origin of the phone number. Amplemarket returns uploaded_by_user for numbers supplied through post_contacts.",
                  "enum": [
                    "amplemarket",
                    "crm",
                    "user_uploaded",
                    "uploaded_by_user"
                  ]
                },
                "is_wrong_number": {
                  "type": "boolean"
                },
                "is_dnc_listed": {
                  "type": "boolean",
                  "description": "Present only when the account has phone number DNC list enabled"
                },
                "kind": {
                  "type": "string",
                  "description": "Phone number kind. Amplemarket returns this alongside the documented type field."
                },
                "uploaded_id": {
                  "type": "string",
                  "description": "Identifier of the uploaded phone number record, present when a caller supplied the number."
                }
              },
              "required": [
                "object",
                "id",
                "number",
                "type",
                "is_wrong_number"
              ],
              "additionalProperties": true
            }
          },
          "recent_activity": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "event_at": {
                  "type": "string",
                  "format": "date_time"
                },
                "event_type": {
                  "type": "string"
                },
                "automatic": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "body": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sequence_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sequence_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sequence_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "index": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tags": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                },
                "notes": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "call_disposition": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "call_notes": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "event_at",
                "event_type"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "email"
        ],
        "additionalProperties": true
      },
      "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

* [Amplemarket provider guide](/docs/providers/amplemarket/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.