workflows
GET
https://hermeticor.com /v1/goals Every goal of every journey (flow goals and goal steps) with its conversion figures
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/goals" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"workflowId": "string",
"workflowName": "string",
"nodeId": "string",
"kind": "flow",
"name": "string",
"match": {},
"tags": [
"string"
],
"listIds": [
"string"
],
"enrolled": 0,
"converted": 0,
"rate": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem183[]requiredShow child parameters
idstringrequiredworkflowIdstringrequiredworkflowNamestringrequirednodeIdstringrequiredkindstringrequirednamestringrequiredmatchrequiredtagsstring[]requiredlistIdsstring[]requiredenrollednumberrequiredconvertednumberrequiredratenumberrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/goals/stats Totals across goals and the best performers
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/goals/stats" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"goals": 0,
"enrolled": 0,
"converted": 0,
"rate": 0,
"top": [
{
"id": "string",
"workflowId": "string",
"workflowName": "string",
"nodeId": "string",
"kind": "flow",
"name": "string",
"match": {},
"tags": [
"string"
],
"listIds": [
"string"
],
"enrolled": 0,
"converted": 0,
"rate": 0
}
]
}Schema
goalsnumberrequiredenrollednumberrequiredconvertednumberrequiredratenumberrequiredtopItemsItem183[]requiredShow child parameters
idstringrequiredworkflowIdstringrequiredworkflowNamestringrequirednodeIdstringrequiredkindstringrequirednamestringrequiredmatchrequiredtagsstring[]requiredlistIdsstring[]requiredenrollednumberrequiredconvertednumberrequiredratenumberrequiredGET
https://hermeticor.com /v1/goals/{goalId} Parameters
goalIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/goals/{goalId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"workflowId": "string",
"workflowName": "string",
"nodeId": "string",
"kind": "flow",
"name": "string",
"match": {},
"tags": [
"string"
],
"listIds": [
"string"
],
"enrolled": 0,
"converted": 0,
"rate": 0
}Schema
idstringrequiredworkflowIdstringrequiredworkflowNamestringrequirednodeIdstringrequiredkindstringrequirednamestringrequiredmatchrequiredtagsstring[]requiredlistIdsstring[]requiredenrollednumberrequiredconvertednumberrequiredratenumberrequiredGET
https://hermeticor.com /v1/goals/{goalId}/tags Tags the journey adds right after this goal
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagegoalIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/goals/{goalId}/tags" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
"string"
],
"nextCursor": "string"
}Schema
itemsstring[]requirednextCursorstringrequiredGET
https://hermeticor.com /v1/goals/{goalId}/lists Lists the journey adds people to right after this goal
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pagegoalIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/goals/{goalId}/lists" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/workflows/{id}/entry-skips People who could not enter (journey not live, outside its window, no start step, profile gone, cap reached), newest first
Parameters
limitintegerquerycursorstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/entry-skips" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"workflowId": "string",
"profileId": "string",
"reason": "string",
"triggerType": "string",
"at": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredworkflowIdstringrequiredprofileIdstringrequiredreasonstringrequiredtriggerTypestringrequiredatstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/workflows/{id}/enroll-object-segment Enroll the people linked to each object in an object segment (the object rides along as the trigger event)
Parameters
idstringpathrequiredRequest body
application/json
segmentIdstringrequired{
"segmentId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/enroll-object-segment" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"segmentId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"enrolled": 0,
"skipped": [
{
"profileId": "string",
"reason": "string"
}
],
"queued": true
}Schema
enrolledintegerrequiredskippedSkippedItem[]requiredShow child parameters
profileIdstringrequiredreasonstringrequiredqueuedbooleanGET
https://hermeticor.com /v1/workflow-custom-types The workspace's own action and trigger types (palette and trigger picker)
Parameters
kindstringqueryarchivedstringquerylimitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflow-custom-types" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"kind": "action",
"key": "string",
"name": "string",
"description": "string",
"fields": [
{
"key": "string",
"label": "string",
"type": "string",
"required": false,
"options": [
"string"
]
}
],
"webhookTemplateId": "string",
"eventName": "string",
"archivedAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem245[]requiredShow child parameters
idstringrequiredkindstringrequiredkeystringrequirednamestringrequireddescriptionstringrequiredfieldsFieldsItem5[]requiredShow child parameters
keystringrequiredlabelstringrequiredtypestringrequiredrequiredbooleanrequiredoptionsstring[]webhookTemplateIdstringrequiredeventNamestringrequiredarchivedAtstringrequiredcreatedAtstringrequirednextCursorstringrequiredUpdated