leads
GET
https://hermeticor.com /v1/leads/settings Auto-enrichment on search (uses your own provider credits)
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/settings" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"autoEnrichOnSearch": true,
"maxAutoEnrichPerSearch": 0
}Schema
autoEnrichOnSearchbooleanrequiredmaxAutoEnrichPerSearchintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPUT
https://hermeticor.com /v1/leads/settings Request body
application/json
autoEnrichOnSearchbooleanmaxAutoEnrichPerSearchinteger{
"autoEnrichOnSearch": true,
"maxAutoEnrichPerSearch": 0
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/leads/settings" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"autoEnrichOnSearch":true,"maxAutoEnrichPerSearch":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/leads/verify Request body
application/json
emailstringrequiredforceboolean{
"email": "string",
"force": false
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/verify" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"string","force":false}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"email": "string",
"status": "valid",
"risk": 0,
"flags": [
"string"
],
"provider": "string",
"checkedAt": "2024-01-01T00:00:00Z"
}Schema
emailstringrequiredstatusstringrequiredriskintegerrequiredflagsstring[]requiredproviderstringrequiredcheckedAtstringrequiredGET
https://hermeticor.com /v1/leads/verify/{email} Stored verification result for an address (404 until it has been verified)
Parameters
emailstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/verify/{email}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/leads/disposable-domains Request body
application/json
domainsstring[]required{
"domains": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/disposable-domains" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domains":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"added": 0
}Schema
addedintegerrequiredGET
https://hermeticor.com /v1/leads/companies Parameters
limitintegerquerycursorstringqueryqstringquerysuppressedbooleanqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/companies" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"domain": "string",
"name": "string",
"industry": "string",
"sizeBand": "string",
"country": "string",
"suppressed": true,
"suppressionReason": "string",
"leadCount": 0,
"contactCount": 0,
"createdAt": "2024-01-01T00:00:00Z",
"stage": "string",
"ownerUserId": "string",
"customFields": {},
"score": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem117[]requiredShow child parameters
idstringrequireddomainstringrequirednamestringrequiredindustrystringrequiredsizeBandstringrequiredcountrystringrequiredsuppressedbooleanrequiredsuppressionReasonstringrequiredleadCountintegerrequiredcontactCountintegerrequiredcreatedAtstringrequiredstagestringownerUserIdstringcustomFieldsobjectscoreintegernextCursorstringrequiredPOST
https://hermeticor.com /v1/leads/companies Create a company by domain. 201 when created; 200 with the existing company (unchanged: PATCH it) when the domain is already known
Request body
application/json
domainstringrequirednamestringindustrystringsizeBandstringcountrystringcustomFieldsobject{
"domain": "string",
"name": "string",
"industry": "string",
"sizeBand": "string",
"country": "string",
"customFields": {}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string","name":"string","industry":"string","sizeBand":"string","country":"string","customFields":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"domain": "string",
"name": "string",
"industry": "string",
"sizeBand": "string",
"country": "string",
"suppressed": true,
"suppressionReason": "string",
"leadCount": 0,
"contactCount": 0,
"createdAt": "2024-01-01T00:00:00Z",
"stage": "string",
"ownerUserId": "string",
"customFields": {},
"score": 0
}Schema
idstringrequireddomainstringrequirednamestringrequiredindustrystringrequiredsizeBandstringrequiredcountrystringrequiredsuppressedbooleanrequiredsuppressionReasonstringrequiredleadCountintegerrequiredcontactCountintegerrequiredcreatedAtstringrequiredstagestringownerUserIdstringcustomFieldsobjectscoreintegerPOST
https://hermeticor.com /v1/leads/companies/import Create or update up to 1000 companies by domain; a company that already exists is kept as it is, a bad domain is reported by row
Request body
application/json
rowsPostV1LeadsCompaniesBody[]requiredShow child parameters
domainstringrequirednamestringindustrystringsizeBandstringcountrystringcustomFieldsobject{
"rows": [
{
"domain": "string",
"name": "string",
"industry": "string",
"sizeBand": "string",
"country": "string",
"customFields": {}
}
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/import" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rows":[{"domain":"string","name":"string","industry":"string","sizeBand":"string","country":"string","customFields":{}}]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"imported": 0,
"skipped": [
{
"row": 0,
"domain": "string",
"reason": "string"
}
]
}Schema
importedintegerrequiredskippedSkippedItem2[]requiredShow child parameters
rowintegerrequireddomainstringrequiredreasonstringrequiredUpdated