workflows
GET
https://hermeticor.com /v1/workflows/{id}/nodes/{nodeId}/queue/{profileId} Parameters
idstringpathrequirednodeIdstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/nodes/{nodeId}/queue/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"stuckReason": "schedule_lost",
"profileEmail": "string",
"lastError": "string"
}Schema
idstringrequiredstuckReasonstringprofileEmailstringlastErrorstring4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/workflows/{id}/nodes/{nodeId}/queue/{profileId} Parameters
idstringpathrequirednodeIdstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/workflows/{id}/nodes/{nodeId}/queue/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredGET
https://hermeticor.com /v1/workflows/{id}/removed-subscribers Parameters
limitintegerquerycursorstringqueryprofileIdstringqueryemailstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/removed-subscribers" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"stuckReason": "schedule_lost",
"profileEmail": "string",
"lastError": "string"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem63[]requiredShow child parameters
idstringrequiredstuckReasonstringprofileEmailstringlastErrorstringnextCursorstringrequiredPOST
https://hermeticor.com /v1/workflows/{id}/removed-subscribers Remove a subscriber from the journey
Parameters
idstringpathrequiredRequest body
application/json
profileIdstringrequired{
"profileId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/removed-subscribers" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"profileId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/workflows/{id}/removed-subscribers/{profileId} Parameters
idstringpathrequiredprofileIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/removed-subscribers/{profileId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/workflows/goal-completions Everyone who reached a journey goal, across journeys
Parameters
limitintegerquerycursorstringqueryworkflowIdstringqueryprofileIdstringquerysincestringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/goal-completions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"enrollmentId": "string",
"workflowId": "string",
"workflowName": "string",
"profileId": "string",
"profileEmail": "string",
"reachedAt": "2024-01-01T00:00:00Z",
"enteredAt": "2024-01-01T00:00:00Z",
"endedBy": "string",
"state": "string",
"appliedTags": [],
"appliedListIds": []
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredenrollmentIdstringrequiredworkflowIdstringrequiredworkflowNamestringrequiredprofileIdstringrequiredprofileEmailstringrequiredreachedAtstringrequiredenteredAtstringrequiredendedBystringrequiredstatestringrequiredappliedTagsstring[]requiredappliedListIdsstring[]requirednextCursorstringrequiredGET
https://hermeticor.com /v1/workflows/activity-log Flat step log across journeys, filterable by journey, contact, step and kind
Parameters
limitintegerquerycursorstringqueryworkflowIdstringqueryprofileIdstringquerysincestringquerykindstringquerynodeIdstringqueryCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/activity-log" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"enrollmentId": "string",
"workflowId": "string",
"workflowName": "string",
"profileId": "string",
"profileEmail": "string",
"nodeId": "string",
"kind": "string",
"handle": "string",
"note": "string",
"at": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredenrollmentIdstringrequiredworkflowIdstringrequiredworkflowNamestringrequiredprofileIdstringrequiredprofileEmailstringrequirednodeIdstringrequiredkindstringrequiredhandlestringrequirednotestringrequiredatstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/workflows/bulk-edit Archive, pause, tag or move several journeys at once
Request body
application/json
idsstring[]requiredactionstringrequiredtagsstring[]folderstring{
"ids": [
"string"
],
"action": "archive",
"tags": [
"string"
],
"folder": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/bulk-edit" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids":["string"],"action":"archive","tags":["string"],"folder":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"done": 0,
"failed": [
{
"id": "string",
"reason": "string"
}
]
}Schema
doneintegerrequiredfailedFailedItem[]requiredShow child parameters
idstringrequiredreasonstringrequiredUpdated