Enriquecer uma pessoa
O perfil de uma pessoa a partir de um e-mail, de um perfil no LinkedIn ou de um nome numa empresa, com o e-mail corporativo e o telefone quando pedido.
Completa o perfil de uma pessoa a partir do que você sabe: o e-mail, o perfil no LinkedIn, o nome e o site do empregador, ou o person_id que outra chamada retornou. O perfil tem o nome completo, o cargo e o empregador atuais, onde a pessoa está e o perfil no LinkedIn, então um e-mail ou um nome vira um link do LinkedIn. Custa US$ 0,02 quando um perfil é encontrado; não encontrar nada é grátis. include acrescenta na mesma chamada, cada um cobrado só quando encontrado: email, o e-mail corporativo no domínio do empregador, verificado (US$ 0,03), e phone, o telefone, normalmente um celular (US$ 0,10). Na busca por nome, alguém com esse nome em outra empresa não é retornado. Quando você só precisa do e-mail ou do telefone, POST /enrich/people/email/find e POST /enrich/people/phone/find pulam o perfil.
- Cobrança:
person_profileUS$ 0,02: Um perfil de pessoa encontrado.person_emailUS$ 0,03: Um e-mail corporativo encontrado no domínio do empregador, verificado antes de ser retornado.person_phoneUS$ 0,10: Um número de telefone encontrado que passou na validação do plano de numeração. - Modo:
merge(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.
apiKeyAuthorizationBearer <chave de API>Authorization: Bearer won_live_..., a key from the console.
Idempotency-Key?stringAny unique string. A retry with the same key and the same body returns the first response and is not charged again.
length <= 255application/json- body
email?stringThe person's email address, such as jane@example.com.
length <= 254linkedin_url?stringThe person's LinkedIn profile, such as https://www.linkedin.com/in/jane-doe.
length <= 300first_name?stringFirst name, with last_name and domain.
length <= 80last_name?stringLast name, with first_name and domain.
length <= 80domain?stringThe website of the person's employer, such as example.com, with first_name and last_name.
length <= 253company_id?stringA company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used.
length <= 40person_id?stringA 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.
length <= 40include?array<>Parts to add: email, phone. Each is billed by its own unit.
items <= 2[]min_email_status?stringverified (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.
"verified""verified""risky"max_cost?numberSpending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.
0 < valuedry_run?booleanIf true, only return the maximum cost of this call. Nothing runs, nothing is charged.
falseThe result. With dry_run, only the maximum cost.
application/json- response
data*The person, with the parts asked for in include.
query*The request as it was understood: country names as codes, the default dates filled in.
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.
curl -X POST 'https://api.won.dev/v1/enrich/people/find' \ -H 'Content-Type: application/json' \ -d '{ "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee", "include": [ "email", "phone" ]}'{ "data": { "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" }, "email": { "email": "jordan.lee@northfield-home.example", "status": "verified" }, "phone": { "number": "+17045550142", "type": "mobile", "country": "US", "whatsapp_url": "https://wa.me/17045550142" } }, "query": { "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee", "include": [ "email", "phone" ], "min_email_status": "verified" }, "notice": null, "usage": { "cost": 0.15, "breakdown": [ { "unit": "person_profile", "records": 1, "already_paid": 0, "cost": 0.02 }, { "unit": "person_email", "records": 1, "already_paid": 0, "cost": 0.03 }, { "unit": "person_phone", "records": 1, "already_paid": 0, "cost": 0.1 } ], "balance": 48.85, "replayed": false }}Última atualização em