curl "https://api.scanova.io/custom-domain/templates/" \
-H "Authorization: YOUR_API_KEY"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 3,
"template_id": "tpl-001",
"template_name": "Coming Soon",
"template_description": "A simple coming-soon landing page."
}
]
}
Custom Domains
List custom domain root-page templates
GET /custom-domain/templates/
GET
/
custom-domain
/
templates
/
curl "https://api.scanova.io/custom-domain/templates/" \
-H "Authorization: YOUR_API_KEY"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 3,
"template_id": "tpl-001",
"template_name": "Coming Soon",
"template_description": "A simple coming-soon landing page."
}
]
}
Lists the account’s templates usable for a custom domain’s root page, on
A template’s
api.scanova.io, authenticated with your raw API key.
GET https://api.scanova.io/custom-domain/templates/
Authorization: YOUR_API_KEY
curl "https://api.scanova.io/custom-domain/templates/" \
-H "Authorization: YOUR_API_KEY"
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 3,
"template_id": "tpl-001",
"template_name": "Coming Soon",
"template_description": "A simple coming-soon landing page."
}
]
}
id is what you assign to a domain’s template field when its root_action is custom_page — see Update a custom domain.
Related
- Update a custom domain — assign a template as the domain’s root page.
- API overview — the auth scheme and quota rules that apply to this endpoint.
Authorizations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Response
200 - application/json
Paginated list of templates.
Was this page helpful?