landing-pages
GET
https://hermeticor.com /v1/page-sites Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/page-sites" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"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"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem214[]requiredShow child parameters
namestringrequiredhomePageIdstringheaderobjectrequiredShow child parameters
titlestringrequiredlogoUrlstringmenuMenuItem[]requiredShow child parameters
labelstringrequiredpageIdstringurlstringfooterMenuMenuItem[]requiredShow child parameters
labelstringrequiredpageIdstringurlstringfooterHtmlstringrequiredthemeobjectrequiredShow child parameters
backgroundstringrequiredtextstringrequiredaccentstringrequiredidstringrequiredcreatedAtstringrequiredpageCountintegerrequireddomainstringrequireddomainStatusstringrequireddomainErrorstringrequireddomainVerifiedAtstringrequiredrecordsRecordsItem3[]requiredShow child parameters
typestringrequirednamestringrequiredvaluestringrequiredurlstringrequirednextCursorstringrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermeticor.com /v1/page-sites Create a website: pages that share a header, footer and menus
Request body
application/json
namestringrequiredhomePageIdstringheaderobjectShow child parameters
titlestringlogoUrlstringmenuMenuItem2[]Show child parameters
labelstringrequiredpageIdstringurlstringfooterMenuMenuItem2[]Show child parameters
labelstringrequiredpageIdstringurlstringfooterHtmlstringthemeobjectShow child parameters
backgroundstringtextstringaccentstring{
"name": "string",
"homePageId": "string",
"header": {
"title": ""
},
"menu": [],
"footerMenu": [],
"footerHtml": "",
"theme": {
"background": "#ffffff",
"text": "#111111",
"accent": "#1f6feb"
}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/page-sites" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","homePageId":"string","header":{"title":""},"menu":[],"footerMenu":[],"footerHtml":"","theme":{"background":"#ffffff","text":"#111111","accent":"#1f6feb"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 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
typestringrequirednamestringrequiredvaluestringrequiredurlstringrequiredGET
https://hermeticor.com /v1/page-sites/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/page-sites/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/page-sites/{id} Delete the site (its pages stay, unassigned) and stop serving its domain
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/page-sites/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/page-sites/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringhomePageIdstringheaderobjectShow child parameters
titlestringlogoUrlstringmenuMenuItem2[]Show child parameters
labelstringrequiredpageIdstringurlstringfooterMenuMenuItem2[]Show child parameters
labelstringrequiredpageIdstringurlstringfooterHtmlstringthemeobjectShow child parameters
backgroundstringtextstringaccentstring{
"name": "string",
"homePageId": "string",
"header": {
"title": "",
"logoUrl": "string"
},
"menu": [
{
"label": "string",
"pageId": "string",
"url": "string"
}
],
"footerMenu": [
{
"label": "string",
"pageId": "string",
"url": "string"
}
],
"footerHtml": "string",
"theme": {
"background": "#ffffff",
"text": "#111111",
"accent": "#1f6feb"
}
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/page-sites/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","homePageId":"string","header":{"title":"","logoUrl":"string"},"menu":[{"label":"string","pageId":"string","url":"string"}],"footerMenu":[{"label":"string","pageId":"string","url":"string"}],"footerHtml":"string","theme":{"background":"#ffffff","text":"#111111","accent":"#1f6feb"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
PUT
https://hermeticor.com /v1/page-sites/{id}/domain Set the custom domain; publish the returned DNS records, then verify
Parameters
idstringpathrequiredRequest body
application/json
domainstringrequired{
"domain": "string"
}Code samples
cURL
curl -X PUT "https://hermeticor.com/v1/page-sites/{id}/domain" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/page-sites/{id}/domain Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/page-sites/{id}/domain" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated