crm
GET
https://hermeticor.com /v1/leads/companies/{id}/crm Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/leads/companies/{id}/crm" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"connectionId": "string",
"connectionName": "string",
"kind": "string",
"externalId": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem240[]requiredShow child parameters
connectionIdstringrequiredconnectionNamestringrequiredkindstringrequiredexternalIdstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/leads/companies/{id}/crm/push Create or update the company in the CRM (found by link, domain or name) and associate its contacts already in the CRM
Parameters
idstringpathrequiredRequest body
application/json
connectionIdstringrequired{
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/{id}/crm/push" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"externalId": "string",
"created": true,
"associated": 0
}Schema
externalIdstringrequiredcreatedbooleanrequiredassociatedintegerrequiredPOST
https://hermeticor.com /v1/leads/companies/{id}/crm/connect Find the company in the CRM and link it without creating anything; empty fields and the owner are filled from the CRM
Parameters
idstringpathrequiredRequest body
application/json
connectionIdstringrequired{
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/leads/companies/{id}/crm/connect" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"found": {
"externalId": "string",
"name": "string",
"domain": "string",
"industry": "string",
"country": "string",
"ownerId": "string",
"custom": {}
},
"ownerSet": true,
"fieldsSet": [
"string"
]
}Schema
foundobjectrequiredShow child parameters
externalIdstringrequirednamestringrequireddomainstringindustrystringcountrystringownerIdstringcustomobjectownerSetbooleanrequiredfieldsSetstring[]requiredGET
https://hermeticor.com /v1/profiles/{id}/crm CRM records this contact is linked to
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/profiles/{id}/crm" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/profiles/{id}/crm/push Push this contact to the CRM now
Parameters
idstringpathrequiredRequest body
application/json
connectionIdstringrequired{
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/crm/push" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"result": "pushed"
}Schema
resultstringrequiredPOST
https://hermeticor.com /v1/profiles/{id}/crm/find Find this contact in the CRM by email and link it (nothing is created)
Parameters
idstringpathrequiredRequest body
application/json
connectionIdstringrequired{
"connectionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/profiles/{id}/crm/find" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connectionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"externalId": "string"
}Schema
externalIdstringrequiredGET
https://hermeticor.com /v1/integrations/connections/{id}/crm/sources Lists, reports, list views, campaigns or filters that can be imported
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/integrations/connections/{id}/crm/sources" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"kind": "list",
"size": 0
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequirednamestringrequiredkindstringrequiredsizeintegerrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/integrations/crm-imports Parameters
connectionIdstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/integrations/crm-imports" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"connectionId": "string",
"sourceId": "string",
"name": "string",
"kind": "string",
"listId": "string",
"memberCount": 0,
"lastImportedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"status": "queued",
"refreshHours": 0,
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem241[]requiredShow child parameters
idstringrequiredconnectionIdstringrequiredsourceIdstringrequirednamestringrequiredkindstringrequiredlistIdstringrequiredmemberCountintegerrequiredlastImportedAtstringrequiredlastErrorstringrequiredstatusstringrequiredrefreshHoursintegerrequiredupdatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/integrations/connections/{id}/crm/imports Import (or re-import) the members of a CRM source; no consent is granted by importing
Parameters
idstringpathrequiredRequest body
application/json
sourceIdstringrequirednamestringrequiredlistIdstringrefreshHoursinteger{
"sourceId": "string",
"name": "string",
"listId": "string",
"refreshHours": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/integrations/connections/{id}/crm/imports" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sourceId":"string","name":"string","listId":"string","refreshHours":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"connectionId": "string",
"sourceId": "string",
"name": "string",
"kind": "string",
"listId": "string",
"memberCount": 0,
"lastImportedAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"status": "queued",
"refreshHours": 0,
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredconnectionIdstringrequiredsourceIdstringrequirednamestringrequiredkindstringrequiredlistIdstringrequiredmemberCountintegerrequiredlastImportedAtstringrequiredlastErrorstringrequiredstatusstringrequiredrefreshHoursintegerrequiredupdatedAtstringrequiredUpdated