leads
GET
https://hermeticor.com /v1/leads/providers Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/providers" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"kind": "apollo",
"role": "finder",
"name": "string",
"priority": 0,
"enabled": true,
"creditsUsed": 0,
"creditLimit": 0,
"createdAt": "2024-01-01T00:00:00Z",
"keyVerified": true
}
],
"nextCursor": "string"
}Schema
itemsItemsItem114[]requiredShow child parameters
idstringrequiredkindstringrequiredrolestringrequirednamestringrequiredpriorityintegerrequiredenabledbooleanrequiredcreditsUsedintegerrequiredcreditLimitintegerrequiredcreatedAtstringrequiredkeyVerifiedbooleanrequiredfalse: the key is stored unchecked; a rejected key shows on first use as 502 provider_error. null: no key (smtp)
nextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/leads/providers Request body
application/json
kindstringrequirednamestringrequiredapiKeystringpriorityintegercreditLimitinteger{
"kind": "apollo",
"name": "string",
"apiKey": "string",
"priority": 100,
"creditLimit": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/providers" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"apollo","name":"string","apiKey":"string","priority":100,"creditLimit":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"kind": "apollo",
"role": "finder",
"name": "string",
"priority": 0,
"enabled": true,
"creditsUsed": 0,
"creditLimit": 0,
"createdAt": "2024-01-01T00:00:00Z",
"keyVerified": true
}Schema
idstringrequiredkindstringrequiredrolestringrequirednamestringrequiredpriorityintegerrequiredenabledbooleanrequiredcreditsUsedintegerrequiredcreditLimitintegerrequiredcreatedAtstringrequiredkeyVerifiedbooleanrequiredfalse: the key is stored unchecked; a rejected key shows on first use as 502 provider_error. null: no key (smtp)
DELETE
https://hermeticor.com /v1/leads/providers/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/leads/providers/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/leads/providers/{id} Parameters
idstringpathrequiredRequest body
application/json
enabledbooleanpriorityintegercreditLimitinteger{
"enabled": true,
"priority": 0,
"creditLimit": 0
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/leads/providers/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"priority":0,"creditLimit":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/leads/credits Code samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/credits" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"providers": [
{
"id": "string",
"name": "string",
"kind": "apollo",
"used": 0,
"limit": 0
}
],
"totalUsed": 0
}Schema
providersobject[]requiredShow child parameters
idstringrequirednamestringrequiredkindstringrequiredusedintegerrequiredlimitintegerrequiredtotalUsedintegerrequiredGET
https://hermeticor.com /v1/leads/recent-searches Searches run recently, newest first
Parameters
limitintegerqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/recent-searches" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"providerId": "string",
"criteria": {
"titles": [],
"seniorities": [],
"industries": [],
"companySizes": [],
"locations": [],
"technologies": [],
"domains": []
},
"resultCount": 0,
"runs": 0,
"updatedAt": "2024-01-01T00:00:00Z"
}
]
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredproviderIdstringrequiredcriteriaobjectrequiredShow child parameters
titlesstring[]requiredsenioritiesstring[]requiredindustriesstring[]requiredcompanySizesstring[]requiredlocationsstring[]requiredtechnologiesstring[]requireddomainsstring[]requiredresultCountintegerrequiredrunsintegerrequiredupdatedAtstringrequiredDELETE
https://hermeticor.com /v1/leads/recent-searches Code samples
cURL
curl -X DELETE "https://hermeticor.com/v1/leads/recent-searches" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/leads/recent-searches/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/leads/recent-searches/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated