API by router
Templates
GET
limit?LimitRange
1 <= value <= 100Default
50offset?OffsetRange
0 <= valueDefault
0Successful Response
application/json- response
[index: integer]?Website template from the platform catalog.
curl -X GET 'https://example.com/v1/templates'Example Response
[ { "custom_upload_id": "32c143b7-3420-4cb9-8ea3-6d8d9a659ee2", "default_content": {}, "default_integrations": [], "default_seo_description": "string", "default_seo_title": "string", "default_skills": [], "description": "string", "display_order": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_image_url": "string", "preview_urls": [], "rendering_mode": "string", "scope": "platform", "security_status": "clean", "slug": "string", "source_type": "builtin", "status": "active", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "vertical": "string", "visibility": "customer" }]GET
HTTPBearerheader
AuthorizationBearer <token>limit?LimitRange
1 <= value <= 100Default
50offset?OffsetRange
0 <= valueDefault
0X-Api-Key?string|nullSuccessful Response
application/json- response
[index: integer]?Website template from the platform catalog.
curl -X GET 'https://example.com/v1/templates/gallery'Example Response
[ { "custom_upload_id": "32c143b7-3420-4cb9-8ea3-6d8d9a659ee2", "default_content": {}, "default_integrations": [], "default_seo_description": "string", "default_seo_title": "string", "default_skills": [], "description": "string", "display_order": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_image_url": "string", "preview_urls": [], "rendering_mode": "string", "scope": "platform", "security_status": "clean", "slug": "string", "source_type": "builtin", "status": "active", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "vertical": "string", "visibility": "customer" }]POST
HTTPBearerheader
AuthorizationBearer <token>template_id*Template IdFormat
uuidX-Api-Key?string|nullapplication/json- body
bootstrap_release?Bootstrap ReleaseDefault
falsecustomer_id?|nulldedicated_instance_id?|nullhosting_mode?Hosting ModeMatch
^(draft|shared|dedicated)$Default
"draft"primary_domain?|nullsite_name?|nullwebhost_node_id?|nullSuccessful Response
application/json- response
deploy_task_id?string|nullhosted_website_id?|nullhosting_mode*Hosting Modeselected_node_id?|nullwebsite_config*Per-instance website configuration.
curl -X POST 'https://example.com/v1/templates/gallery/497f6eca-6276-4993-bfeb-53cbbbba6f08/instantiate' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "deploy_task_id": "string", "hosted_website_id": "2e68090f-4b97-4f89-8ca4-5adeb58dde95", "hosting_mode": "string", "selected_node_id": "d14898b8-4f35-412a-8e47-dd691a362904", "website_config": { "content_mode": "bundle", "created_at": "2019-08-24T14:15:22Z", "custom_upload_id": "32c143b7-3420-4cb9-8ea3-6d8d9a659ee2", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "deployed_at": "2019-08-24T14:15:22Z", "deployed_instance_id": "5d02be4a-43b3-42f1-9872-f2bfe2e6f121", "faq": [], "features": [], "hero_cta_text": "string", "hero_subtitle": "string", "hero_title": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366", "is_primary": true, "pricing_currency": "USD", "pricing_plans": [], "robots_txt_custom": "string", "seo_description": "string", "seo_keywords": "string", "seo_og_image_url": "string", "seo_title": "string", "sitemap_enabled": true, "status": "draft", "stripe_connect_account_id": "string", "stripe_publishable_key": "string", "template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "testimonials": [], "trial_days": 14, "updated_at": "2019-08-24T14:15:22Z" }}GET
HTTPBearerheader
AuthorizationBearer <token>template_id*Template IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
generated?GeneratedDefault
trueid*IdFormat
uuidname*Namepreview_html*Preview Htmlpreview_image_url?string|nullpreview_urls?array<string>Default
[]slug*Slugcurl -X GET 'https://example.com/v1/templates/gallery/497f6eca-6276-4993-bfeb-53cbbbba6f08/preview'Example Response
{ "generated": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_html": "string", "preview_image_url": "string", "preview_urls": [], "slug": "string"}POST
HTTPBearerheader
AuthorizationBearer <token>X-Api-Key?string|nullapplication/json- body
description?|nullname*NameLength
1 <= length <= 200preview_image_url?|nullpreview_urls?array<>Items
items <= 8rendering_mode?Rendering ModeMatch
^(ssr|static|spa)$Default
"static"upload_id*Upload IdFormat
uuidvertical*VerticalBusiness vertical — free-text, used for filtering/suggestions
Length
length <= 50visibility?VisibilityMatch
^(private|customer)$Default
"private"Successful Response
application/json- response
Website template from the platform catalog.
custom_upload_id?|nulldefault_content?Default
{}default_integrations?array<unknown>Default
[]default_seo_description?string|nulldefault_seo_title?string|nulldefault_skills?array<unknown>Default
[]description?string|nulldisplay_order*Display Orderid*IdFormat
uuidname*Namepreview_image_url?string|nullpreview_urls?array<unknown>Default
[]rendering_mode*Rendering Modescope?ScopeDefault
"platform"security_status?Security StatusDefault
"clean"slug*Slugsource_type?Source TypeDefault
"builtin"status?StatusDefault
"active"tenant_id?|nullvertical*Verticalvisibility?VisibilityDefault
"customer"curl -X POST 'https://example.com/v1/templates/import' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "upload_id": "f2ef591b-135b-46fa-a604-3d4fda5bfbfb", "vertical": "string"}'Example Response
{ "custom_upload_id": "32c143b7-3420-4cb9-8ea3-6d8d9a659ee2", "default_content": {}, "default_integrations": [], "default_seo_description": "string", "default_seo_title": "string", "default_skills": [], "description": "string", "display_order": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_image_url": "string", "preview_urls": [], "rendering_mode": "string", "scope": "platform", "security_status": "clean", "slug": "string", "source_type": "builtin", "status": "active", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "vertical": "string", "visibility": "customer"}PATCH
HTTPBearerheader
AuthorizationBearer <token>template_id*Template IdFormat
uuidX-Api-Key?string|nullapplication/json- body
description?|nullis_active?boolean|nullname?|nullpreview_image_url?|nullpreview_urls?array<>|nullvertical?|nullvisibility?|nullSuccessful Response
application/json- response
Website template from the platform catalog.
custom_upload_id?|nulldefault_content?Default
{}default_integrations?array<unknown>Default
[]default_seo_description?string|nulldefault_seo_title?string|nulldefault_skills?array<unknown>Default
[]description?string|nulldisplay_order*Display Orderid*IdFormat
uuidname*Namepreview_image_url?string|nullpreview_urls?array<unknown>Default
[]rendering_mode*Rendering Modescope?ScopeDefault
"platform"security_status?Security StatusDefault
"clean"slug*Slugsource_type?Source TypeDefault
"builtin"status?StatusDefault
"active"tenant_id?|nullvertical*Verticalvisibility?VisibilityDefault
"customer"curl -X PATCH 'https://example.com/v1/templates/library/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "custom_upload_id": "32c143b7-3420-4cb9-8ea3-6d8d9a659ee2", "default_content": {}, "default_integrations": [], "default_seo_description": "string", "default_seo_title": "string", "default_skills": [], "description": "string", "display_order": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_image_url": "string", "preview_urls": [], "rendering_mode": "string", "scope": "platform", "security_status": "clean", "slug": "string", "source_type": "builtin", "status": "active", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "vertical": "string", "visibility": "customer"}GET
slug*SlugSuccessful Response
application/json- response
Website template from the platform catalog.
custom_upload_id?|nulldefault_content?Default
{}default_integrations?array<unknown>Default
[]default_seo_description?string|nulldefault_seo_title?string|nulldefault_skills?array<unknown>Default
[]description?string|nulldisplay_order*Display Orderid*IdFormat
uuidname*Namepreview_image_url?string|nullpreview_urls?array<unknown>Default
[]rendering_mode*Rendering Modescope?ScopeDefault
"platform"security_status?Security StatusDefault
"clean"slug*Slugsource_type?Source TypeDefault
"builtin"status?StatusDefault
"active"tenant_id?|nullvertical*Verticalvisibility?VisibilityDefault
"customer"curl -X GET 'https://example.com/v1/templates/string'Example Response
{ "custom_upload_id": "32c143b7-3420-4cb9-8ea3-6d8d9a659ee2", "default_content": {}, "default_integrations": [], "default_seo_description": "string", "default_seo_title": "string", "default_skills": [], "description": "string", "display_order": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_image_url": "string", "preview_urls": [], "rendering_mode": "string", "scope": "platform", "security_status": "clean", "slug": "string", "source_type": "builtin", "status": "active", "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0", "vertical": "string", "visibility": "customer"}GET
slug*SlugSuccessful Response
application/json- response
generated?GeneratedDefault
trueid*IdFormat
uuidname*Namepreview_html*Preview Htmlpreview_image_url?string|nullpreview_urls?array<string>Default
[]slug*Slugcurl -X GET 'https://example.com/v1/templates/string/preview'Example Response
{ "generated": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preview_html": "string", "preview_image_url": "string", "preview_urls": [], "slug": "string"}