Site
Fetch Site
Fetch the site for a workspace. Sites contain global code settings that apply to all pages and funnels.
get/workspaces/{workspace_id}/site
Path parameters
workspace_idinteger required
Query parameters
expand[]string[]
Expand additional data in the response. Use expand[]=field_name to include optional fields (e.g., expand[]=head_code&expand[]=footer_code). See the Expanding guide for available fields and examples.
Response
OK
Example response
{
"id": 1,
"public_id": "aBcDeF",
"workspace_id": 42000,
"name": "My Website",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"homepage_id": "RcHPAt",
"theme_id": "dkGlMT",
"blog_theme_id": null,
"store_theme_id": null
}