# enrichPerson

**Identifier:** `apollo_enrichPerson`

**Provider:** [Apollo.io](https://kirha.com/providers/apollo.md)

Enriches person data using various identifiers like name, email, or domain. Returns detailed information about the person including their employment history and organization details.

## Run it with the CLI

```bash
kirha tools run apollo_enrichPerson \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "apollo_enrichPerson",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "anyOf": [
    {
      "properties": {
        "apolloPersonId": {
          "type": "string"
        },
        "revealPersonalEmails": {
          "description": "Opt in to unlock the person's personal emails (consumes an Apollo credit). Off by default.",
          "type": "boolean"
        }
      },
      "required": [
        "apolloPersonId"
      ],
      "type": "object"
    },
    {
      "properties": {
        "linkedinUrl": {
          "type": "string"
        },
        "revealPersonalEmails": {
          "description": "Opt in to unlock the person's personal emails (consumes an Apollo credit). Off by default.",
          "type": "boolean"
        }
      },
      "required": [
        "linkedinUrl"
      ],
      "type": "object"
    },
    {
      "properties": {
        "companyName": {
          "type": "string"
        },
        "domainUrl": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "revealPersonalEmails": {
          "description": "Opt in to unlock the person's personal emails (consumes an Apollo credit). Off by default.",
          "type": "boolean"
        }
      },
      "required": [
        "email"
      ],
      "type": "object"
    },
    {
      "properties": {
        "companyName": {
          "type": "string"
        },
        "domainUrl": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "revealPersonalEmails": {
          "description": "Opt in to unlock the person's personal emails (consumes an Apollo credit). Off by default.",
          "type": "boolean"
        }
      },
      "required": [
        "firstName",
        "lastName",
        "domainUrl"
      ],
      "type": "object"
    },
    {
      "properties": {
        "companyName": {
          "type": "string"
        },
        "domainUrl": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "revealPersonalEmails": {
          "description": "Opt in to unlock the person's personal emails (consumes an Apollo credit). Off by default.",
          "type": "boolean"
        }
      },
      "required": [
        "companyName",
        "firstName",
        "lastName"
      ],
      "type": "object"
    }
  ]
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "apolloId": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "departments": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "email": {
      "type": "string"
    },
    "employmentHistory": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "apolloCompanyId": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "endDate": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "firstName": {
      "type": "string"
    },
    "fullName": {
      "type": "string"
    },
    "headline": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "linkedinUrl": {
      "type": "string"
    },
    "location": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "organization": {
      "additionalProperties": false,
      "properties": {
        "estimatedNumEmployees": {
          "type": "number"
        },
        "id": {
          "type": "string"
        },
        "industry": {
          "type": "string"
        },
        "linkedinUrl": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "primaryDomain": {
          "type": "string"
        },
        "shortDescription": {
          "type": "string"
        },
        "websiteUrl": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "personalEmails": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "seniority": {
      "type": "string"
    },
    "title": {
      "type": "string"
    }
  },
  "required": [
    "context"
  ],
  "type": "object"
}
```

## Related tools

Other Apollo.io tools that this tool refers to, or that refer to it.

- [`searchPeople`](https://kirha.com/providers/apollo/searchPeople.md)

-----

[All Apollo.io tools](https://kirha.com/providers/apollo.md) · [< Back to tools list](https://kirha.com/tools.md)