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

# BetterContact: Get Result

> Get the email and phone results of a contact enrichment request, given its request ID. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Get the email and phone results of a contact enrichment request, given its request ID.

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

## 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(
  'bettercontact_get_result',
  {
    "request_id": "request_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute bettercontact_get_result --input '{
  "request_id": "request_123"
}' --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": {
    "id": "id_123",
    "status": "pending"
  }
}
```

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

## Input reference

Fetch the terminal BetterContact result envelope for a previously launched enrichment request.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.request_id` | `string` | Yes | — | The BetterContact request id returned by the create endpoint. Minimum length: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Fetch the terminal BetterContact result envelope for a previously launched enrichment request.",
    "properties": {
      "request_id": {
        "type": "string",
        "description": "The BetterContact request id returned by the create endpoint.",
        "minLength": 1,
        "aliases": [
          "id"
        ]
      }
    },
    "required": [
      "request_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 | — | — |
| `result.data.status` | `"pending" \| "processing" \| "terminated"` | Yes | — | Allowed: `pending`, `processing`, `terminated`. |
| `result.data.summary` | `object` | No | — | — |
| `result.data.summary.total` | `integer` | No | — | — |
| `result.data.summary.valid` | `integer` | No | — | — |
| `result.data.summary.catch_all` | `integer` | No | — | — |
| `result.data.summary.catch_all_safe` | `integer` | No | — | — |
| `result.data.summary.catch_all_not_safe` | `integer` | No | — | — |
| `result.data.summary.undeliverable` | `integer` | No | — | — |
| `result.data.summary.not_found` | `integer` | No | — | — |
| `result.data.summary.email_enrichment` | `object` | No | — | — |
| `result.data.summary.email_enrichment.enriched` | `integer` | No | — | — |
| `result.data.summary.email_enrichment.not_enriched` | `integer` | No | — | — |
| `result.data.data` | `array` | No | — | — |
| `result.data.data[].enriched` | `boolean` | No | — | — |
| `result.data.data[].email_provider` | `string` | No | — | — |
| `result.data.data[].contact_id` | `integer` | No | — | — |
| `result.data.data[].contact_first_name` | `string` | No | — | — |
| `result.data.data[].contact_last_name` | `string` | No | — | — |
| `result.data.data[].contact_full_name` | `string` | No | — | — |
| `result.data.data[].contact_email_address` | `string` | No | — | — |
| `result.data.data[].contact_email_address_status` | `"deliverable" \| "catch_all_safe" \| "catch_all_not_safe" \| "undeliverable" \| "not_found"` | No | — | Allowed: `deliverable`, `catch_all_safe`, `catch_all_not_safe`, `undeliverable`, `not_found`. |
| `result.data.data[].contact_email_address_provider` | `string` | No | — | — |
| `result.data.data[].contact_phone_number` | `string \| null` | No | — | — |
| `result.data.data[].contact_phone_number_cc` | `string \| null` | No | — | — |
| `result.data.data[].contact_phone_number_provider` | `string` | No | — | — |
| `result.data.data[].contact_additional_phone_number` | `string` | No | — | — |
| `result.data.data[].contact_gender` | `string \| null` | No | — | — |
| `result.data.data[].contact_job_title` | `string \| null` | No | — | — |
| `result.data.data[].contact_linkedin_profile_url` | `string \| null` | No | — | — |
| `result.data.data[].contact_location` | `string` | No | — | — |
| `result.data.data[].contact_country` | `string` | No | — | — |
| `result.data.data[].company_name` | `string` | No | — | — |
| `result.data.data[].company_domain` | `string` | No | — | — |
| `result.data.data[].company_website` | `string` | No | — | — |
| `result.data.data[].company_linkedin_url` | `string` | No | — | — |
| `result.data.data[].company_industries` | `string` | No | — | — |
| `result.data.data[].company_employees_number` | `string` | No | — | — |
| `result.data.data[].do_not_contact` | `boolean` | No | — | — |
| `result.data.data[].custom_fields` | `array` | No | — | — |
| `result.data.data[].custom_fields[].name` | `string` | Yes | — | Custom field name. |
| `result.data.data[].custom_fields[].value` | `string` | Yes | — | Custom field value. |
| `result.data.data[].custom_fields[].position` | `integer` | No | — | Position of the custom field in the returned list. |
| `result.data.message` | `string` | No | — | — |
| `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": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "processing",
              "terminated"
            ]
          },
          "summary": {
            "type": "object",
            "properties": {
              "total": {
                "type": "integer"
              },
              "valid": {
                "type": "integer"
              },
              "catch_all": {
                "type": "integer"
              },
              "catch_all_safe": {
                "type": "integer"
              },
              "catch_all_not_safe": {
                "type": "integer"
              },
              "undeliverable": {
                "type": "integer"
              },
              "not_found": {
                "type": "integer"
              },
              "email_enrichment": {
                "type": "object",
                "properties": {
                  "enriched": {
                    "type": "integer"
                  },
                  "not_enriched": {
                    "type": "integer"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "enriched": {
                  "type": "boolean"
                },
                "email_provider": {
                  "type": "string"
                },
                "contact_id": {
                  "type": "integer"
                },
                "contact_first_name": {
                  "type": "string"
                },
                "contact_last_name": {
                  "type": "string"
                },
                "contact_full_name": {
                  "type": "string"
                },
                "contact_email_address": {
                  "type": "string"
                },
                "contact_email_address_status": {
                  "type": "string",
                  "enum": [
                    "deliverable",
                    "catch_all_safe",
                    "catch_all_not_safe",
                    "undeliverable",
                    "not_found"
                  ]
                },
                "contact_email_address_provider": {
                  "type": "string"
                },
                "contact_phone_number": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contact_phone_number_cc": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contact_phone_number_provider": {
                  "type": "string"
                },
                "contact_additional_phone_number": {
                  "type": "string"
                },
                "contact_gender": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contact_job_title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contact_linkedin_profile_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contact_location": {
                  "type": "string"
                },
                "contact_country": {
                  "type": "string"
                },
                "company_name": {
                  "type": "string"
                },
                "company_domain": {
                  "type": "string"
                },
                "company_website": {
                  "type": "string"
                },
                "company_linkedin_url": {
                  "type": "string"
                },
                "company_industries": {
                  "type": "string"
                },
                "company_employees_number": {
                  "type": "string"
                },
                "do_not_contact": {
                  "type": "boolean"
                },
                "custom_fields": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Custom field name."
                      },
                      "value": {
                        "type": "string",
                        "description": "Custom field value."
                      },
                      "position": {
                        "type": "integer",
                        "description": "Position of the custom field in the returned list."
                      }
                    },
                    "required": [
                      "name",
                      "value"
                    ],
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "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

* [BetterContact provider guide](https://deepline.com/docs/providers/bettercontact/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.