workflows
GET
https://hermeticor.com /v1/workflows/{id}/ab/report Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/ab/report" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"variants": [
{
"versionId": "string",
"n": 0,
"weight": 0,
"entered": 0,
"completed": 0,
"converted": 0,
"conversionRate": 0
}
]
}Schema
variantsobject[]requiredShow child parameters
versionIdstringrequirednintegerrequiredweightintegerrequiredenteredintegerrequiredcompletedintegerrequiredconvertedintegerrequiredconversionRatenumberrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/workflows/{id}/ab/promote Parameters
idstringpathrequiredRequest body
application/json
versionIdstringrequired{
"versionId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/ab/promote" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"versionId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"name": "string",
"purpose": "marketing",
"mode": "journey",
"status": "draft",
"publishedVersionId": "string",
"folder": "string",
"tags": [
"string"
],
"color": "string",
"draftGraph": {},
"draftTriggers": {},
"draftSettings": {},
"ab": {
"variants": [
{
"versionId": "string",
"weight": 0
}
],
"startedAt": "2024-01-01T00:00:00Z"
},
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredpurposestringrequiredmodestringrequiredstatusstringrequiredpublishedVersionIdstringrequiredfolderstringrequiredtagsstring[]requiredcolorstringdraftGraphrequireddraftTriggersrequireddraftSettingsrequiredabobjectShow child parameters
variantsVariantsItem3[]requiredShow child parameters
versionIdstringrequiredweightintegerrequiredstartedAtstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredPOST
https://hermeticor.com /v1/workflows/{id}/pause Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/pause" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/workflows/{id}/resume Parameters
idstringpathrequiredRequest body
application/json
policystring{
"policy": "run_now"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/resume" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"policy":"run_now"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/workflows/{id}/archive Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/archive" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/workflows/{id}/clone Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/workflows/{id}/clone" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/workflows/{id}/export Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/workflows/{id}/export" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"name": "string",
"purpose": "marketing",
"mode": "journey",
"definition": {
"graph": {
"start": null,
"nodes": [
{
"id": "string",
"type": "send_email",
"config": {
"templateId": "string",
"versionId": "string",
"route": {
"connectionId": "string",
"poolId": "string",
"routePolicyId": "string"
},
"topicId": "string",
"replyToStep": "string",
"onBlocked": "continue",
"skipOnFailure": true,
"skipIfMessagedWithinHours": 0,
"filter": {
"type": "group",
"op": "and",
"negate": true,
"children": [
{}
]
},
"retries": 0,
"senderIdentityId": "string",
"replyTo": "string",
"oneClickUnsubscribe": true
},
"position": {
"x": 0,
"y": 0
},
"name": "string"
}
],
"edges": [
{
"id": "string",
"source": "string",
"sourceHandle": "string",
"target": "string"
}
]
},
"triggers": [
{
"type": "profile_created",
"reentry": {
"mode": "after_completion"
}
}
],
"settings": {
"purpose": "marketing",
"mode": "journey",
"filterCheck": "before_send",
"filterFailAction": "exit",
"profileFilter": {
"type": "group",
"op": "and",
"negate": true,
"children": [
{}
]
},
"goal": {
"kind": "event",
"eventName": "string",
"filter": {},
"definition": {
"type": "group",
"op": "and",
"negate": true,
"children": [
{}
]
},
"windowDays": 30,
"onReach": "exit"
},
"quietHours": "inherit",
"quietHoursAction": "wait",
"sendWindow": {
"startMin": 0,
"endMin": 0,
"weekdays": [
0
]
},
"smartSending": {
"skipIfMessagedWithinHours": 0,
"frequencyCap": {
"maxSends": 0,
"windowHours": 0
}
},
"enrollmentCap": {
"maxTotal": 0,
"maxConcurrent": 0
},
"activeWindow": {
"from": "2024-01-01T00:00:00Z",
"until": "2024-01-01T00:00:00Z"
},
"failureAlert": {
"userIds": [],
"emails": []
},
"timezoneSource": "profile",
"timezone": "UTC",
"exitOn": {
"type": "group",
"op": "and",
"negate": true,
"children": [
{}
]
},
"sequence": {
"steps": [],
"schedule": {
"weekdays": [
1,
2,
3,
4,
5
],
"startMin": 540,
"endMin": 1020,
"timezoneSource": "prospect",
"timezone": "UTC"
},
"mailbox": {
"sticky": true,
"onUnavailable": "pause"
},
"dailyNewLimit": 0,
"followUpPercent": 0,
"plainTextOnly": true,
"trackOpens": true,
"unsubscribeText": "string",
"spintaxMode": "random",
"variables": {},
"blocklist": {
"emails": [],
"domains": []
},
"reviewBeforeSend": true,
"reviewEachMessage": true,
"stop": {
"onReply": "human",
"onAutoReply": "continue",
"onOoo": "pause_until_return",
"onCompanyReply": "none"
},
"onCategory": [
{
"category": "positive",
"sequenceId": "string",
"stopCurrent": true
}
],
"ownerUserId": "string",
"scheduleId": "string",
"dedupe": {
"crossSequence": "skip",
"contactedWithinDays": 0,
"domain": false
},
"startAt": "2024-01-01T00:00:00Z",
"minGapMinutes": 0,
"senderOverrides": {},
"abm": {
"maxPerAccount": 5,
"onAccountReply": "stop"
}
}
}
}
}Schema
namestringrequiredpurposestringrequiredmodestringrequireddefinitionobjectrequiredShow child parameters
graphobjectrequiredShow child parameters
startstringrequirednodesNodesItem2[]requirededgesEdgesItem2[]requiredtriggersTriggersItem2[]requiredsettingsobjectrequiredShow child parameters
purposestringrequiredmodestringrequiredfilterCheckstringrequiredfilterFailActionstringrequiredprofileFilterobjectgoalobjectquietHoursstring | WindowrequiredquietHoursActionstringsendWindowobjectsmartSendingobjectenrollmentCapobjectactiveWindowobjectfailureAlertobjecttimezoneSourcestringrequiredtimezonestringrequiredexitOnobjectsequenceobjectGET
https://hermeticor.com /v1/workflows/{id}/versions 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}/versions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"workflowId": "string",
"n": 0,
"graph": {},
"trigger": {},
"settings": {},
"checksum": "string",
"publishedAt": "2024-01-01T00:00:00Z",
"publishedBy": "string"
}
],
"nextCursor": "string"
}Schema
itemsVersion2[]requiredShow child parameters
idstringrequiredworkflowIdstringrequirednintegerrequiredgraphrequiredtriggerrequiredsettingsrequiredchecksumstringrequiredpublishedAtstringrequiredpublishedBystringrequirednextCursorstringrequiredUpdated