workflows
GET
https://hermetica.15.204.158.166.sslip.io /v1/workflows Parameters
limitintegerquerycursorstringquerystatusstringqueryfolderstringquerymodestringqueryqstringqueryarchivedstringquerytriggerTypestringquerycreatedFromstringquerycreatedTostringqueryupdatedFromstringqueryupdatedTostringquerystartedFromstringquerystartedTostringquerysortstringqueryCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/workflows" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"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"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequirednamestringrequiredpurposestringrequiredmodestringrequiredstatusstringrequiredpublishedVersionIdstringrequiredfolderstringrequiredtagsstring[]requiredcolorstringdraftGraphrequireddraftTriggersrequireddraftSettingsrequiredabobjectShow child parameters
variantsobject[]requiredstartedAtstringrequiredcreatedAtstringrequiredupdatedAtstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/workflows Request body
application/json
namestringrequiredpurposestringmodestringfolderstringtagsstring[]definitionobjectShow child parameters
graphobjectShow child parameters
startstringnodesobject[]requirededgesobject[]requiredtriggersobject[]settingsobjectShow child parameters
purposestringmodestringfilterCheckstringfilterFailActionstringprofileFilterobjectgoalobjectquietHoursstring | objectquietHoursActionstringsendWindowobjectsmartSendingobjectenrollmentCapobjectactiveWindowobjectfailureAlertobjecttimezoneSourcestringtimezonestringexitOnobjectsequenceobject{
"name": "string",
"purpose": "marketing",
"mode": "journey",
"folder": "string",
"tags": [],
"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": [
"string"
],
"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"
}
}
}
}
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/workflows" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","purpose":"marketing","mode":"journey","folder":"string","tags":[],"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":["string"],"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"}}}}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 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
variantsobject[]requiredShow child parameters
versionIdstringrequiredweightintegerrequiredstartedAtstringrequiredcreatedAtstringrequiredupdatedAtstringrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/workflows/templates Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/workflows/templates" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"key": "string",
"name": "string",
"description": "string",
"definition": {
"graph": {
"start": null,
"nodes": [
{
"id": "string",
"type": "send_email",
"config": {
"templateId": "string",
"versionId": "string",
"route": {},
"topicId": "string",
"replyToStep": "string",
"onBlocked": "continue",
"skipOnFailure": true,
"skipIfMessagedWithinHours": 0,
"filter": {},
"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"
}
}
}
},
"category": "lifecycle",
"requires": [],
"missing": []
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
keystringrequirednamestringrequireddescriptionstringrequireddefinitionobjectrequiredShow child parameters
graphobjectrequiredtriggersobject[]requiredsettingsobjectrequiredcategorystringrequiredrequiresstring[]requiredmissingstring[]requirednextCursorstringrequiredUpdated