---
agentTools:
  projectIndex: https://digitalpilot.readme.io/llms.txt
---

# Reveal a contact email

Unlocks one cached personal email and adds the contact to Lead Center with name, title, LinkedIn, phone, and other Hunter fields. Decision makers cost 2 credits; everyone else costs 1 credit. Returns 402 and does not unlock when the workspace has too few credits. Already unlocked emails are returned from cache at no credit cost.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://api.digitalpilot.app",
      "description": "Production server"
    }
  ],
  "info": {
    "title": "DigitalPilot API",
    "description": "Using the REST API allows you to programmatically execute a wide range of code operations which are also available through the user interface.",
    "version": "1.1.0"
  },
  "paths": {
    "/v1/tags/{id}/contacts/reveal-email": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "summary": "Reveal a contact email",
        "description": "Unlocks one cached personal email and adds the contact to Lead Center with name, title, LinkedIn, phone, and other Hunter fields. Decision makers cost 2 credits; everyone else costs 1 credit. Returns 402 and does not unlock when the workspace has too few credits. Already unlocked emails are returned from cache at no credit cost.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "0YFe6H1"
            },
            "description": "The workspace (tag) ID"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "domain": {
                    "type": "string",
                    "description": "Company domain",
                    "example": "stripe.com"
                  },
                  "contact_id": {
                    "type": "string",
                    "description": "Contact ID from domain search",
                    "example": "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"
                  }
                }
              }
            }
          },
          "description": "Unlocks one cached personal email and adds the contact to Lead Center with name, title, LinkedIn, phone, and other Hunter fields. Decision makers cost 2 credits; everyone else costs 1 credit. Returns 402 and does not unlock when the workspace has too few credits. Already unlocked emails are returned from cache at no credit cost."
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "domain": "stripe.com",
                    "contact": {
                      "id": "a1b2c3",
                      "value": "jane@stripe.com",
                      "type": "personal",
                      "first_name": "Jane",
                      "last_name": "Doe",
                      "position": "CEO",
                      "decision_maker": true,
                      "email_revealed": true,
                      "reveal_credits": 2
                    }
                  },
                  "meta": {
                    "credits_used": 2,
                    "credits_remaining": 498,
                    "already_revealed": false
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "example": {
                  "error": "Invalid request"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "example": {
                  "error": "Unauthorized"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient credits",
            "content": {
              "application/json": {
                "example": {
                  "error": "Insufficient credits"
                }
              }
            }
          },
          "404": {
            "description": "Contact not found",
            "content": {
              "application/json": {
                "example": {
                  "error": "Contact not found"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "example": {
                  "error": "Too Many Requests"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "example": {
                  "error": "Internal server error"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 183,
      "2": 97,
      "3": 197,
      "4": 10,
      "5": 143,
      "6": 143,
      "7": 0,
      "8": 25,
      "9": 18,
      "10": 83,
      "11": 124
    }
  }
}
```