outbound
GET
https://hermeticor.com /v1/outbound/subsequences Sequences started by a reply rule or reply label, with what starts them
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/subsequences" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"status": "string",
"startedBy": [
{
"kind": "sequence",
"id": "string",
"name": "string",
"category": "string"
}
]
}
],
"nextCursor": "string"
}Schema
itemsItemsItem179[]requiredShow child parameters
idstringrequirednamestringrequiredstatusstringrequiredstartedByStartedByItem[]requiredShow child parameters
kindstringrequiredidstringrequirednamestringrequiredcategorystringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/outbound/subsequences/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/subsequences/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"name": "string",
"status": "string",
"startedBy": [
{
"kind": "sequence",
"id": "string",
"name": "string",
"category": "string"
}
]
}Schema
idstringrequirednamestringrequiredstatusstringrequiredstartedByStartedByItem[]requiredShow child parameters
kindstringrequiredidstringrequirednamestringrequiredcategorystringrequiredPATCH
https://hermeticor.com /v1/workflows/{id}/enrollments/{enrollmentId}/variables Set values (usable as {{ vars.key }}) for this one prospect in this one sequence
Parameters
idstringpathrequiredenrollmentIdstringpathrequiredRequest body
application/json
variablesobjectrequired{
"variables": {}
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/workflows/{id}/enrollments/{enrollmentId}/variables" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"variables":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/outbound/reply-statuses The statuses a reply can have: the built-in categories and your own labels
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/reply-statuses" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"key": "string",
"label": "string",
"builtin": true
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
keystringrequiredlabelstringrequiredbuiltinbooleanrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/outbound/sequences/{id}/enroll-accounts ABM: enroll the contacts of these companies, grouped per account (per-account cap and stop rule from the sequence settings)
Parameters
idstringpathrequiredRequest body
application/json
companyIdsstring[]requiredownerUserIdstring{
"companyIds": [
"string"
],
"ownerUserId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/sequences/{id}/enroll-accounts" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"companyIds":["string"],"ownerUserId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"enrolled": 0,
"skipped": [
{
"profileId": "string",
"reason": "string"
}
],
"warnings": [
{
"profileId": "string",
"warning": "string"
}
],
"accounts": [
{
"accountId": "string",
"enrolled": 0,
"capped": 0
}
]
}Schema
enrolledintegerrequiredskippedSkippedItem[]requiredShow child parameters
profileIdstringrequiredreasonstringrequiredwarningsWarningsItem[]requiredShow child parameters
profileIdstringrequiredwarningstringrequiredaccountsobject[]requiredShow child parameters
accountIdstringrequiredenrolledintegerrequiredcappedintegerrequiredPOST
https://hermeticor.com /v1/outbound/sequences/{id}/export-leads CSV of the sequence's leads with their fields, variables and per-lead stats, built in the background; optional email when ready
Parameters
idstringpathrequiredRequest body
application/json
notifyEmailstring{
"notifyEmail": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/sequences/{id}/export-leads" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"notifyEmail":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
202 Default Response
Example
{
"id": "string",
"kind": "bulk",
"op": "string",
"status": "queued",
"progress": {
"total": 0,
"processed": 0,
"failed": 0
},
"error": "string",
"downloadUrl": "string",
"failures": [
{
"profileId": "string",
"message": "string"
}
],
"createdAt": "2024-01-01T00:00:00Z",
"finishedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequiredopstringrequiredstatusstringrequiredprogressobjectrequiredShow child parameters
totalintegerrequiredprocessedintegerrequiredfailedintegerrequirederrorstringrequireddownloadUrlstringfailuresFailuresItem[]Show child parameters
profileIdstringrequiredmessagestringrequiredcreatedAtstringrequiredfinishedAtstringrequiredGET
https://hermeticor.com /v1/outbound/task-types Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/outbound/task-types" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"key": "string",
"label": "string",
"color": "#6b7280",
"outcomes": [],
"position": 0,
"id": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem216[]requiredShow child parameters
keystringrequiredlabelstringrequiredcolorstringrequiredoutcomesstring[]requiredpositionintegerrequiredidstringrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/outbound/task-types Request body
application/json
keystringrequiredlabelstringrequiredcolorstringoutcomesstring[]positioninteger{
"key": "string",
"label": "string",
"color": "#6b7280",
"outcomes": [],
"position": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/outbound/task-types" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key":"string","label":"string","color":"#6b7280","outcomes":[],"position":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"key": "string",
"label": "string",
"color": "#6b7280",
"outcomes": [],
"position": 0,
"id": "string",
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
keystringrequiredlabelstringrequiredcolorstringrequiredoutcomesstring[]requiredpositionintegerrequiredidstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredUpdated