Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de enriquecimento

Encontrar um e-mail corporativo

O e-mail corporativo de uma pessoa no domínio do empregador, verificado antes de ser retornado. Cobrado só quando encontrado.

Encontra o e-mail corporativo de uma pessoa no domínio próprio do empregador, a partir do nome e do site do empregador, do perfil no LinkedIn ou do person_id que outra chamada retornou, como uma busca de pessoas. O e-mail fica guardado com esse ID, então a pessoa pode ser adicionada a uma campanha por ele. Todo endereço é verificado antes de ser retornado. Custa US$ 0,03 quando um e-mail é encontrado; não encontrar nada é grátis. As fontes são consultadas numa ordem fixa, da mais barata para a mais cara, até que uma tenha um endereço no domínio, e a resposta vem em cerca de 30 segundos. Um perfil no LinkedIn é primeiro transformado num nome e num empregador atual: um endereço de um empregador anterior nunca é retornado, nem uma caixa compartilhada como info@. Por padrão, só caixas verified voltam; min_email_status: "risky" também retorna endereços em domínios que aceitam qualquer endereço. Para checar um endereço que você já tem, use POST /enrich/email/verify.

  • Cobrança: person_email US$ 0,03: Um e-mail corporativo encontrado no domínio do empregador, verificado antes de ser retornado.
  • Modo: waterfall (o que cada modo significa)

Uma chave de teste (won_test_...) responde a esta requisição com a mesma empresa e as mesmas pessoas de exemplo, sem custo.

POST
/enrich/people/email/find

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

Authorization: Bearer won_live_..., a key from the console.

Parâmetros de cabeçalho

Idempotency-Key?string

Any unique string. A retry with the same key and the same body returns the first response and is not charged again.

Tamanholength <= 255

Corpo da requisição

application/json
  1. body
first_name?string

First name, with last_name and domain.

Tamanholength <= 80
last_name?string

Last name, with first_name and domain.

Tamanholength <= 80
domain?string

The website of the person's employer, such as example.com. Only an address on this domain is returned.

Tamanholength <= 253
company_id?string

A company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used.

Tamanholength <= 40
linkedin_url?string

The person's LinkedIn profile, instead of the name and the website, or with them.

Tamanholength <= 300
person_id?string

A person ID this account was given in the last 90 days, such as per_4m7q2x9k1c8d, instead of naming the person: their name, employer website and LinkedIn profile on file are used. What you pass besides it wins.

Tamanholength <= 40
min_email_status?string

verified (default) returns only mailboxes that were confirmed to exist. risky also returns addresses on domains that accept every address, which cannot be confirmed. Same price.

Padrão"verified"
Valores"verified""risky"
max_cost?number

Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.

Intervalo0 < value
dry_run?boolean

If true, only return the maximum cost of this call. Nothing runs, nothing is charged.

Padrãofalse

Corpo da resposta

The result. With dry_run, only the maximum cost.

application/json
  1. response
data*

The email, and who it is for.

query*

The request as it was understood, with the website that was searched.

notice*|

A plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise.

usage*

What this call was charged, and the balance left.

Requisição de exemplo
curl -X POST 'https://api.won.dev/v1/enrich/people/email/find' \  -H 'Content-Type: application/json' \  -d '{  "first_name": "Jordan",  "last_name": "Lee",  "domain": "northfield-home.example"}'
Resposta de exemplo
{  "data": {    "email": {      "email": "jordan.lee@northfield-home.example",      "status": "verified"    },    "person": {      "id": "per_4m7q2x9k1c8d",      "name": "Jordan Lee",      "first_name": "Jordan",      "last_name": "Lee",      "title": "Director of Global Sourcing",      "seniority": "executive",      "department": "purchasing",      "company": "SAMPLE Northfield Home Furnishings",      "company_domain": "northfield-home.example",      "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",      "location": "Charlotte, North Carolina, United States"    }  },  "query": {    "first_name": "Jordan",    "last_name": "Lee",    "domain": "northfield-home.example",    "min_email_status": "verified"  },  "notice": null,  "usage": {    "unit": "person_email",    "records": 1,    "already_paid": 0,    "cost": 0.03,    "balance": 48.97,    "replayed": false  }}

Última atualização em