leads
GET
https://hermeticor.com /v1/notes Newest notes across contacts and companies, newest first; page with `before`
Parameters
limitintegerquerybeforestringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/notes" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"resource": "contact",
"resourceId": "string",
"body": "string",
"authorId": "string",
"at": "2024-01-01T00:00:00Z"
}
],
"nextBefore": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredresourcestringrequiredresourceIdstringrequiredbodystringrequiredauthorIdstringrequiredatstringrequirednextBeforestringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/leads/companies/{id}/notes Parameters
limitintegerquerycursorstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/companies/{id}/notes" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"companyId": "string",
"body": "string",
"authorId": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem153[]requiredShow child parameters
idstringrequiredcompanyIdstringrequiredbodystringrequiredauthorIdstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/leads/companies/{id}/notes Parameters
idstringpathrequiredRequest body
application/json
bodystringrequired{
"body": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/{id}/notes" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"companyId": "string",
"body": "string",
"authorId": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredcompanyIdstringrequiredbodystringrequiredauthorIdstringrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/leads/companies/{id}/notes/{noteId} Parameters
idstringpathrequirednoteIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/leads/companies/{id}/notes/{noteId}" \
-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/companies/{id}/notes/{noteId} Edit a company note
Parameters
idstringpathrequirednoteIdstringpathrequiredRequest body
application/json
bodystringrequired{
"body": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/leads/companies/{id}/notes/{noteId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/leads/companies/{id}/merge Merge duplicate companies into this one (contacts, notes and list memberships move; suppressions are untouched)
Parameters
idstringpathrequiredRequest body
application/json
mergeIdsstring[]required{
"mergeIds": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/{id}/merge" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mergeIds":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 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,
"leads": [
{
"id": "string",
"providerKind": "string",
"firstName": "string",
"lastName": "string",
"title": "string",
"company": "string",
"domain": "string",
"email": "string",
"phone": "string",
"linkedinUrl": "string",
"country": "string",
"hasEmail": true,
"emailStatus": "valid",
"status": "preview",
"profileId": "string",
"provenance": {},
"createdAt": "2024-01-01T00:00:00Z"
}
],
"profileIds": [
"string"
],
"contacts": [
{
"isPrimary": true,
"jobTitle": "string",
"role": "string",
"profileId": "string"
}
]
}Schema
idstringrequireddomainstringrequirednamestringrequiredindustrystringrequiredsizeBandstringrequiredcountrystringrequiredsuppressedbooleanrequiredsuppressionReasonstringrequiredleadCountintegerrequiredcontactCountintegerrequiredcreatedAtstringrequiredstagestringownerUserIdstringcustomFieldsobjectscoreintegerleadsItemsItem115[]requiredShow child parameters
idstringrequiredproviderKindstringrequiredfirstNamestringrequiredlastNamestringrequiredtitlestringrequiredcompanystringrequireddomainstringrequiredemailstringrequiredphonestringrequiredlinkedinUrlstringrequiredcountrystringrequiredhasEmailbooleanrequiredemailStatusstringrequiredstatusstringrequiredprofileIdstringrequiredprovenanceobjectrequiredcreatedAtstringrequiredprofileIdsstring[]requiredcontactsContactsItem[]Show child parameters
isPrimarybooleanrequiredjobTitlestringrequiredrolestringrequiredprofileIdstringrequiredPATCH
https://hermeticor.com /v1/leads/companies/{id}/stage Account stage and owner; written through to the outbound account so do-not-contact gates enrollment
Parameters
idstringpathrequiredRequest body
application/json
stagestringownerUserIdstring{
"stage": "new",
"ownerUserId": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/leads/companies/{id}/stage" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"stage":"new","ownerUserId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/leads/companies/unify-accounts Fold outbound accounts into lead companies by domain, keeping their status, owner and website
Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/unify-accounts" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"linked": 0,
"created": 0
}Schema
linkedintegerrequiredcreatedintegerrequiredGET
https://hermeticor.com /v1/leads/company-lists 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/company-lists" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"description": "string",
"companyCount": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem154[]requiredShow child parameters
idstringrequirednamestringrequireddescriptionstringrequiredcompanyCountintegerrequiredcreatedAtstringrequirednextCursorstringrequiredUpdated