landing-pages
POST
https://hermeticor.com /v1/page-sites/{id}/domain/verify Queue a DNS check (status `checking` until it lands); once verified the domain is added to the proxy routing file (TLS is issued automatically)
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/page-sites/{id}/domain/verify" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"name": "string",
"homePageId": "string",
"header": {
"title": ""
},
"menu": [],
"footerMenu": [],
"footerHtml": "",
"theme": {
"background": "#ffffff",
"text": "#111111",
"accent": "#1f6feb"
},
"id": "string",
"createdAt": "2024-01-01T00:00:00Z",
"pageCount": 0,
"domain": "string",
"domainStatus": "none",
"domainError": "string",
"domainVerifiedAt": "2024-01-01T00:00:00Z",
"records": [
{
"type": "TXT",
"name": "string",
"value": "string"
}
],
"url": "string"
}Schema
namestringrequiredhomePageIdstringheaderobjectrequiredShow child parameters
titlestringrequiredlogoUrlstringmenuMenuItem[]requiredShow child parameters
labelstringrequiredpageIdstringurlstringfooterMenuMenuItem[]requiredShow child parameters
labelstringrequiredpageIdstringurlstringfooterHtmlstringrequiredthemeobjectrequiredShow child parameters
backgroundstringrequiredtextstringrequiredaccentstringrequiredidstringrequiredcreatedAtstringrequiredpageCountintegerrequireddomainstringrequireddomainStatusstringrequireddomainErrorstringrequireddomainVerifiedAtstringrequiredrecordsRecordsItem3[]requiredShow child parameters
typestringrequirednamestringrequiredvaluestringrequiredurlstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPUT
https://hermeticor.com /v1/landing-pages/{id}/site Put the page in a website (null takes it out)
Parameters
idstringpathrequiredRequest body
application/json
siteIdstringrequired{
"siteId": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/landing-pages/{id}/site" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"siteId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"name": "string",
"slug": "string",
"status": "draft",
"publishedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredslugstringrequiredstatusstringrequiredpublishedAtstringrequiredGET
https://hermeticor.com /v1/landing-page-templates Built-in page presets for `template_id`, and a link to more
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-page-templates" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "blank",
"name": "string",
"description": "string",
"category": "string"
}
],
"storeUrl": "string"
}Schema
itemsobject[]requiredShow child parameters
idstringrequirednamestringrequireddescriptionstringrequiredcategorystringrequiredstoreUrlstringrequiredGET
https://hermeticor.com /v1/landing-pages/{id}/content The page rendered to HTML (draft by default), with its block document
Parameters
versionstringqueryidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-pages/{id}/content" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"version": "draft",
"html": "string",
"doc": {}
}Schema
idstringrequiredversionstringrequiredhtmlstringrequireddocrequiredPOST
https://hermeticor.com /v1/landing-pages/{id}/archive Hide the page from the list and stop serving it
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-pages/{id}/archive" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/landing-pages/{id}/unarchive Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-pages/{id}/unarchive" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/landing-pages/seo/audit SEO audit of every page: score and recommendations
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-pages/seo/audit" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"pageId": "string",
"score": 0,
"issues": [
{
"code": "string",
"severity": "error",
"message": "string"
}
],
"keyword": "string",
"words": 0,
"name": "string",
"slug": "string"
}
],
"nextCursor": "string"
}Schema
itemsobject[]requiredShow child parameters
pageIdstringrequiredscoreintegerrequiredissuesIssuesItem[]requiredShow child parameters
codestringrequiredseveritystringrequiredmessagestringrequiredkeywordstringrequiredwordsintegerrequirednamestringrequiredslugstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/landing-pages/{id}/seo SEO recommendations for one page (draft)
Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-pages/{id}/seo" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"pageId": "string",
"score": 0,
"issues": [
{
"code": "string",
"severity": "error",
"message": "string"
}
],
"keyword": "string",
"words": 0
}Schema
pageIdstringrequiredscoreintegerrequiredissuesIssuesItem[]requiredShow child parameters
codestringrequiredseveritystringrequiredmessagestringrequiredkeywordstringrequiredwordsintegerrequiredPUT
https://hermeticor.com /v1/landing-pages/{id}/seo/keyword Set the focus keyword the audit checks
Parameters
idstringpathrequiredRequest body
application/json
keywordstringrequired{
"keyword": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/landing-pages/{id}/seo/keyword" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated