connectors
GET
https://hermeticor.com /integrations/hubspot/callback Parameters
typequeryadditionalPropertiesstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/integrations/hubspot/callback"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/integrations/connections Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/integrations/connections" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"kind": "hubspot",
"name": "string",
"config": {},
"status": "active",
"lastSyncAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem104[]requiredShow child parameters
idstringrequiredkindstringrequirednamestringrequiredconfigobjectrequiredstatusstringrequiredlastSyncAtstringrequiredlastErrorstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/integrations/connections Request body
application/json
kindstringrequirednamestringrequiredcredentialsobjectrequiredconfigobject{
"kind": "hubspot",
"name": "string",
"credentials": {},
"config": {}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/integrations/connections" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"hubspot","name":"string","credentials":{},"config":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"kind": "hubspot",
"name": "string",
"config": {},
"status": "active",
"lastSyncAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequirednamestringrequiredconfigobjectrequiredstatusstringrequiredlastSyncAtstringrequiredlastErrorstringrequiredcreatedAtstringrequiredPATCH
https://hermeticor.com /v1/integrations/connections/{id}/settings CRM field and property mapping, lifecycle handoff rules, lead-status writeback and opt-out sync
Parameters
idstringpathrequiredRequest body
application/json
fieldMapobjectleadStatusWritebackbooleanstatusMapobjectleadStatusFieldstringpropertyMapobjectcreateMissingPropertiesbooleanlifecycleWritebackbooleanstageMapobjectlifecycleRegressbooleanexitLifecycleStagesstring[]exitLeadStatusesstring[]subscriptionTopicMapobjectpushOptOutsbooleanpropagateMergesbooleanpropagateErasurebooleanpushEnabledbooleanpushSegmentIdstringcompanyPropertyMapobjectmarketingEventsAccountIdstring{
"fieldMap": {},
"leadStatusWriteback": true,
"statusMap": {},
"leadStatusField": "string",
"propertyMap": {},
"createMissingProperties": true,
"lifecycleWriteback": true,
"stageMap": {},
"lifecycleRegress": true,
"exitLifecycleStages": [
"string"
],
"exitLeadStatuses": [
"string"
],
"subscriptionTopicMap": {},
"pushOptOuts": true,
"propagateMerges": true,
"propagateErasure": true,
"pushEnabled": true,
"pushSegmentId": "string",
"companyPropertyMap": {},
"marketingEventsAccountId": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/integrations/connections/{id}/settings" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fieldMap":{},"leadStatusWriteback":true,"statusMap":{},"leadStatusField":"string","propertyMap":{},"createMissingProperties":true,"lifecycleWriteback":true,"stageMap":{},"lifecycleRegress":true,"exitLifecycleStages":["string"],"exitLeadStatuses":["string"],"subscriptionTopicMap":{},"pushOptOuts":true,"propagateMerges":true,"propagateErasure":true,"pushEnabled":true,"pushSegmentId":"string","companyPropertyMap":{},"marketingEventsAccountId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/integrations/connections/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/integrations/connections/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPOST
https://hermeticor.com /v1/integrations/connections/{id}/test Make one real authenticated call to the connected system
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/integrations/connections/{id}/test" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true,
"message": "string"
}Schema
okbooleanrequiredmessagestringrequiredGET
https://hermeticor.com /v1/integrations/connections/{id}/webhook-url The URL the source (e.g. Segment) should send events to
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/integrations/connections/{id}/webhook-url" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"url": "string"
}Schema
urlstringrequiredPOST
https://hermeticor.com /v1/integrations/connections/{id}/sync Queue a sync now
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/integrations/connections/{id}/sync" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /webhooks/integrations/{workspaceId}/{connectionId} Parameters
workspaceIdstringpathrequiredconnectionIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/webhooks/integrations/{workspaceId}/{connectionId}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}POST
https://hermeticor.com /webhooks/integrations/{workspaceId}/{connectionId} Parameters
workspaceIdstringpathrequiredconnectionIdstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/webhooks/integrations/{workspaceId}/{connectionId}"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
{}Updated