Site
Fetch Site
Changed onFetch the site for a workspace. Sites contain global code settings that apply to all pages and funnels.
get/workspaces/{workspace_id}/site
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspace_idstring 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
}Changes
- info
for the
pathrequest parameterworkspace_id, the type was generalized fromintegertostring - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info