curl "https://api.scanova.io/custom-domain/templates/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"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: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"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 the Management API host (
A template’s
api.scanova.io), authenticated with your raw Management API key.
GET https://api.scanova.io/custom-domain/templates/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
curl "https://api.scanova.io/custom-domain/templates/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"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.
- Management 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: 401f7ac837da42b97f613d789819ff93537bee6a. 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?