workflows
POST
https://hermeticor.com /v1/workflows/{id}/enrollments/exit-all Remove everyone still inside the journey (or only those at one step); up to 500 per call, `more` says to repeat
Parameters
idstringpathrequiredRequest body
application/json
nodeIdstring{
"nodeId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/enrollments/exit-all" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nodeId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"exited": 0,
"more": true
}Schema
exitedintegerrequiredmorebooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectDELETE
https://hermeticor.com /v1/workflows/{id}/enrollments/{enrollmentId} Parameters
idstringpathrequiredenrollmentIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/workflows/{id}/enrollments/{enrollmentId}" \
-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/workflows/{id}/enrollments/{enrollmentId}/jump Parameters
idstringpathrequiredenrollmentIdstringpathrequiredRequest body
application/json
nodeIdstringrequired{
"nodeId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/enrollments/{enrollmentId}/jump" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nodeId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/workflows/{id}/enrollments/{enrollmentId}/reschedule Change when a waiting person wakes up (a delay, or the timeout of an event wait)
Parameters
idstringpathrequiredenrollmentIdstringpathrequiredRequest body
application/json
runAtstringrequired{
"runAt": "2024-01-01T00:00:00Z"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/enrollments/{enrollmentId}/reschedule" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"runAt":"2024-01-01T00:00:00Z"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/workflows/{id}/migrate Parameters
idstringpathrequiredRequest body
application/json
fromVersionIdstringrequiredtoVersionIdstringrequirednodeMapobject{
"fromVersionId": "string",
"toVersionId": "string",
"nodeMap": {}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/migrate" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fromVersionId":"string","toVersionId":"string","nodeMap":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"moved": 0,
"exitedUnmapped": 0
}Schema
movedintegerrequiredexitedUnmappedintegerrequiredGET
https://hermeticor.com /v1/workflows/{id}/nodes Send steps of a journey with stats, queue size and pause state
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/nodes" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"nodeId": "string",
"type": "string",
"config": {},
"status": "live",
"pauseMode": "wait",
"entered": 0,
"completed": 0,
"errors": 0,
"queued": 0
}
],
"nextCursor": "string"
}Schema
itemsItemsItem64[]requiredShow child parameters
nodeIdstringrequiredtypestringrequiredconfigrequiredstatusstringrequiredpauseModestringrequiredenteredintegerrequiredcompletedintegerrequirederrorsintegerrequiredqueuedintegerrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/workflows/{id}/nodes/{nodeId} Parameters
idstringpathrequirednodeIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/nodes/{nodeId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"nodeId": "string",
"type": "string",
"config": {},
"status": "live",
"pauseMode": "wait",
"entered": 0,
"completed": 0,
"errors": 0,
"queued": 0
}Schema
nodeIdstringrequiredtypestringrequiredconfigrequiredstatusstringrequiredpauseModestringrequiredenteredintegerrequiredcompletedintegerrequirederrorsintegerrequiredqueuedintegerrequiredDELETE
https://hermeticor.com /v1/workflows/{id}/nodes/{nodeId} Delete a step of a running journey; people waiting at it continue to the next step or leave
Parameters
applystringquerywaitingstringqueryidstringpathrequirednodeIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/workflows/{id}/nodes/{nodeId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"version": {
"id": "string",
"workflowId": "string",
"n": 0,
"graph": {},
"trigger": {},
"settings": {},
"checksum": "string",
"publishedAt": "2024-01-01T00:00:00Z",
"publishedBy": "string"
},
"moved": 0,
"exited": 0
}Schema
versionobjectrequiredShow child parameters
idstringrequiredworkflowIdstringrequirednintegerrequiredgraphrequiredtriggerrequiredsettingsrequiredchecksumstringrequiredpublishedAtstringrequiredpublishedBystringrequiredmovedintegerrequiredexitedintegerrequiredPATCH
https://hermeticor.com /v1/workflows/{id}/nodes/{nodeId} Set a step live or paused (applies to a running journey)
Parameters
idstringpathrequirednodeIdstringpathrequiredRequest body
application/json
statusstringrequiredmodestring{
"status": "live",
"mode": "wait"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/workflows/{id}/nodes/{nodeId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"status":"live","mode":"wait"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated