landing-pages
POST
https://hermeticor.com /v1/landing-page-folders Request body
application/json
namestringrequiredparentIdstring{
"name": "string",
"parentId": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-page-folders" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","parentId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"parentId": "string",
"itemCount": 0
}Schema
idstringrequirednamestringrequiredparentIdstringrequireditemCountintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/landing-page-folders/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-page-folders/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/landing-page-folders/{id} Pages move to the root; nothing is deleted
Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/landing-page-folders/{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/landing-page-folders/{id} Parameters
idstringpathrequiredRequest body
application/json
namestringparentIdstring{
"name": "string",
"parentId": "string"
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/landing-page-folders/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","parentId":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/landing-page-folders/{id}/revisions Earlier names and parents of this folder, newest first
Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-page-folders/{id}/revisions" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"folderId": "string",
"name": "string",
"parentId": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem79[]requiredShow child parameters
idstringrequiredfolderIdstringrequirednamestringrequiredparentIdstringrequiredcreatedAtstringrequirednextCursorstringrequiredGET
https://hermeticor.com /v1/landing-page-folders/{id}/revisions/{revisionId} Parameters
idstringpathrequiredrevisionIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-page-folders/{id}/revisions/{revisionId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"id": "string",
"folderId": "string",
"name": "string",
"parentId": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredfolderIdstringrequirednamestringrequiredparentIdstringrequiredcreatedAtstringrequiredPOST
https://hermeticor.com /v1/landing-page-folders/{id}/revisions/{revisionId}/restore Parameters
idstringpathrequiredrevisionIdstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-page-folders/{id}/revisions/{revisionId}/restore" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
GET
https://hermeticor.com /v1/landing-pages/{id}/languages Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/landing-pages/{id}/languages" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"groupId": "string",
"items": [
{
"pageId": "string",
"slug": "string",
"locale": "string",
"primary": true,
"status": "string"
}
]
}Schema
groupIdstringrequireditemsobject[]requiredShow child parameters
pageIdstringrequiredslugstringrequiredlocalestringrequiredprimarybooleanrequiredstatusstringrequiredPOST
https://hermeticor.com /v1/landing-pages/{id}/languages Copy the page into a new draft in another language and link them
Parameters
idstringpathrequiredRequest body
application/json
localestringrequirednamestringslugstring{
"locale": "string",
"name": "string",
"slug": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-pages/{id}/languages" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"locale":"string","name":"string","slug":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"name": "string",
"slug": "string",
"status": "draft",
"publishedAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequirednamestringrequiredslugstringrequiredstatusstringrequiredpublishedAtstringrequiredPOST
https://hermeticor.com /v1/landing-pages/{id}/languages/attach Parameters
idstringpathrequiredRequest body
application/json
groupPageIdstringrequiredlocalestringrequired{
"groupPageId": "string",
"locale": "string"
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-pages/{id}/languages/attach" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"groupPageId":"string","locale":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/landing-pages/{id}/languages/detach Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/landing-pages/{id}/languages/detach" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated