forms
GET
https://hermetica.15.204.158.166.sslip.io /v1/forms Filter by name, status, kind, ad id and created/updated ranges; sort by created, updated or name
Parameters
limitintegerquerycursorstringquerynamestringquerycreatedFromstringquerycreatedTostringqueryupdatedFromstringqueryupdatedTostringquerysortstringquerystatusstringquerykindstringqueryad_idstringqueryCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/forms" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"name": "string",
"kind": "embed",
"status": "draft"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequirednamestringrequiredkindstringrequiredstatusstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/forms Request body
application/json
namestringrequiredkindstringdefinitionobjectrequiredShow child parameters
captchaobjectShow child parameters
providerstringrequiredsiteKeystringrequiredactionsobject[]redirectsobjectShow child parameters
alreadySubscribedstringerrorstringpendingstringconfirmedstringprogressivestringkioskbooleanthemeobjectShow child parameters
primarystringbackgroundstringtextstringfontstringradiusintegerbuttonStylestringlogoUrlstringteaserobjectShow child parameters
textstringrequiredsidestringcountdownobjectShow child parameters
tostringrequiredlabelstringexpiredTextstringspinobjectShow child parameters
segmentsobject[]requiredstepsobject[]requiredShow child parameters
titlestringfieldsobject[]requiredsuccessobjectdoubleOptInobjectShow child parameters
connectionIdstringrequiredsubjectstringttlHoursintegerbodystringtemplateIdstringtopicIdstringtagsstring[]listIdsstring[]progressiveLimitintegersubmissionLimitobjectShow child parameters
maxintegerrequiredmessagestringmaxPerIpPerDayintegermaxPerVisitorPerDayintegerlocalestringminFillMsintegerwelcomeEmailobjectShow child parameters
connectionIdstringrequiredsubjectstringrequiredtextstringrequiredalreadySubscribedEmailobjectShow child parameters
connectionIdstringrequiredsubjectstringrequiredtextstringrequiredblockFreeEmailbooleansubmitLabelstringfailureTextstringtargetingobjectShow child parameters
urlIncludestring[]urlExcludestring[]delaySecondsnumberscrollPercentnumberexitIntentbooleanmobileBackExitbooleaninactivitySecondsnumberdevicestringvisitorstringminPageViewsintegerfrequencyDaysnumberaudienceobjectShow child parameters
modestringlistIdsstring[]segmentIdsstring[]hideKnownSubscribersbooleancountriesstring[]countriesExcludestring[]utmobjectShow child parameters
sourcestringmediumstringcampaignstringreferrerIncludestring[]cartobjectShow child parameters
minValuenumberminItemsintegeremptybooleanproductPagestringadIdstring{
"name": "string",
"kind": "full_page",
"definition": {
"captcha": {
"provider": "turnstile",
"siteKey": "string"
},
"actions": [],
"redirects": {
"alreadySubscribed": "string",
"error": "string",
"pending": "string",
"confirmed": "string"
},
"progressive": "off",
"kiosk": false,
"theme": {
"primary": "#1f6feb",
"background": "#ffffff",
"text": "#111111",
"font": "system",
"radius": 8,
"buttonStyle": "solid",
"logoUrl": "string"
},
"teaser": {
"text": "string",
"side": "right"
},
"countdown": {
"to": "2024-01-01T00:00:00Z",
"label": "",
"expiredText": ""
},
"spin": {
"segments": [
{
"label": "string",
"weight": 0,
"poolId": "string"
}
]
},
"steps": [
{
"title": "string",
"fields": [
{
"type": "email",
"key": "string",
"label": "",
"required": false,
"when": [
{
"field": "string",
"op": "eq",
"value": ""
}
],
"placeholder": "string",
"helpText": "string",
"className": "string",
"saveTo": "string",
"attributes": {},
"pattern": "string",
"validationMessage": "string",
"requiredMessage": "string",
"minLength": 0,
"maxLength": 0,
"always": true,
"readOnly": true,
"group": "string",
"groupCollapsed": true
}
]
}
],
"success": {
"type": "message",
"text": "Thanks!"
},
"doubleOptIn": {
"connectionId": "string",
"subject": "Please confirm your subscription",
"ttlHours": 72,
"body": "string",
"templateId": "string"
},
"topicId": "string",
"tags": [],
"listIds": [],
"progressiveLimit": 0,
"submissionLimit": {
"max": 0,
"message": "This form is no longer accepting responses."
},
"maxPerIpPerDay": 0,
"maxPerVisitorPerDay": 0,
"locale": "string",
"minFillMs": 1500,
"welcomeEmail": {
"connectionId": "string",
"subject": "string",
"text": "string"
},
"alreadySubscribedEmail": {
"connectionId": "string",
"subject": "string",
"text": "string"
},
"blockFreeEmail": false,
"submitLabel": "string",
"failureText": "string"
},
"targeting": {},
"adId": "string"
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/forms" \
-H "Authorization: Bearer $SSLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","kind":"full_page","definition":{"captcha":{"provider":"turnstile","siteKey":"string"},"actions":[],"redirects":{"alreadySubscribed":"string","error":"string","pending":"string","confirmed":"string"},"progressive":"off","kiosk":false,"theme":{"primary":"#1f6feb","background":"#ffffff","text":"#111111","font":"system","radius":8,"buttonStyle":"solid","logoUrl":"string"},"teaser":{"text":"string","side":"right"},"countdown":{"to":"2024-01-01T00:00:00Z","label":"","expiredText":""},"spin":{"segments":[{"label":"string","weight":0,"poolId":"string"}]},"steps":[{"title":"string","fields":[{"type":"email","key":"string","label":"","required":false,"when":[{"field":"string","op":"eq","value":""}],"placeholder":"string","helpText":"string","className":"string","saveTo":"string","attributes":{},"pattern":"string","validationMessage":"string","requiredMessage":"string","minLength":0,"maxLength":0,"always":true,"readOnly":true,"group":"string","groupCollapsed":true}]}],"success":{"type":"message","text":"Thanks!"},"doubleOptIn":{"connectionId":"string","subject":"Please confirm your subscription","ttlHours":72,"body":"string","templateId":"string"},"topicId":"string","tags":[],"listIds":[],"progressiveLimit":0,"submissionLimit":{"max":0,"message":"This form is no longer accepting responses."},"maxPerIpPerDay":0,"maxPerVisitorPerDay":0,"locale":"string","minFillMs":1500,"welcomeEmail":{"connectionId":"string","subject":"string","text":"string"},"alreadySubscribedEmail":{"connectionId":"string","subject":"string","text":"string"},"blockFreeEmail":false,"submitLabel":"string","failureText":"string"},"targeting":{},"adId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"kind": "embed",
"status": "draft"
}Schema
idstringrequirednamestringrequiredkindstringrequiredstatusstringrequiredGET
https://hermetica.15.204.158.166.sslip.io /v1/forms/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/forms/{id}" \
-H "Authorization: Bearer $SSLIP_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated