forms
GET
https://hermeticor.com /v1/forms/{id}/versions Published versions, newest first; includes the A/B experiment the form belongs to
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/versions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"abExperimentId": "string",
"items": [
{
"id": "string",
"formId": "string",
"publishedAt": "2024-01-01T00:00:00Z",
"live": true
}
]
}Schema
abExperimentIdstringrequireditemsobject[]requiredShow child parameters
idstringrequiredformIdstringrequiredpublishedAtstringrequiredlivebooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/forms/{id}/versions/{versionId} Parameters
idstringpathrequiredversionIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/versions/{versionId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string"
}Schema
idstringrequiredPOST
https://hermeticor.com /v1/forms/{id}/versions/{versionId}/restore Copy a version into the draft; publish to make it live
Parameters
idstringpathrequiredversionIdstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/forms/{id}/versions/{versionId}/restore" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"name": "string",
"kind": "embed",
"status": "draft"
}Schema
idstringrequirednamestringrequiredkindstringrequiredstatusstringrequiredGET
https://hermeticor.com /v1/forms/{id}/step-funnel Per-step funnel of a multi-step form (on-site form_step events): visitors who reached, completed and skipped each step, from..to inclusive (UTC days)
Parameters
fromstringqueryrequiredtostringqueryrequiredidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/step-funnel?from=<from>&to=<to>" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"steps": [
{
"step": 0,
"reached": 0,
"completed": 0,
"skipped": 0
}
]
}Schema
stepsobject[]requiredShow child parameters
stepintegerrequiredreachedintegerrequiredcompletedintegerrequiredskippedintegerrequiredGET
https://hermeticor.com /v1/forms/{id}/summary Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/summary" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"total": 0,
"fields": [
{
"key": "string",
"label": "string",
"type": "string",
"answered": 0,
"counts": [
{
"value": "string",
"count": 0
}
]
}
]
}Schema
totalintegerrequiredfieldsobject[]requiredShow child parameters
keystringrequiredlabelstringrequiredtypestringrequiredansweredintegerrequiredcountsValuesItem[]requiredShow child parameters
valuestringrequiredcountintegerrequiredGET
https://hermeticor.com /v1/forms/{id}/submissions Submissions of one form, newest first; `profileId` narrows to one contact
Parameters
limitintegerquerycursorstringqueryprofileIdstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/submissions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"formId": "string",
"profileId": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem74[]requiredShow child parameters
idstringrequiredformIdstringrequiredprofileIdstringrequiredcreatedAtstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/forms/{id}/submissions/export.csv Every submission as CSV, oldest first (one column per field)
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/submissions/export.csv" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
"string"
GET
https://hermeticor.com /v1/forms/{id}/submissions/{submissionId} Parameters
idstringpathrequiredsubmissionIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/forms/{id}/submissions/{submissionId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"formId": "string",
"profileId": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredformIdstringrequiredprofileIdstringrequiredcreatedAtstringrequiredDELETE
https://hermeticor.com /v1/forms/{id}/submissions/{submissionId} Delete one submission (the consent records it created stay as proof)
Parameters
idstringpathrequiredsubmissionIdstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/forms/{id}/submissions/{submissionId}" \
-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/forms/{id}/submissions/{submissionId}/resend-confirmation Send the double opt-in email again for a submission still waiting (once per hour)
Parameters
idstringpathrequiredsubmissionIdstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/forms/{id}/submissions/{submissionId}/resend-confirmation" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/form-submissions Every form submission of one contact, across forms
Parameters
limitintegerquerycursorstringqueryprofileIdstringqueryrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/form-submissions?profileId=<profileId>" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated