---
title: "SiteCustomCodeScripts (Webflow)"
description: "Site Custom Code Scripts"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/webflow/Webflow.CustomCode.SiteCustomCodeScripts
original: https://documentation.invantive.eu/en/datamodels/webflow/Webflow.CustomCode.SiteCustomCodeScripts
updated: 2026-11-17T08:33:09Z
license: https://documentation.invantive.eu/en/
---

# SiteCustomCodeScripts: Webflow Site Custom Code Scripts

`read only` `REST`

- Catalog: `Webflow`
- Schema: `CustomCode`
- Primary Keys: `site_id, script_id`
- Label: Site Custom Code Scripts

Can only retrieve data.

## Summary

The registered scripts applied to the whole of each site. Webflow answers these to an OAuth app only, so a site token reads no rows.

## API Source

- Endpoint: `/sites/{site_id}/custom_code`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 302 |
| Full scan rows per minute | 58 |

## Table Columns

The columns of the table `SiteCustomCodeScripts` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `attributes_json` | `varchar2` | Attributes JSON | [ ] | filters on the platform, writable | The attributes of the script element as JSON. |
| `location` | `varchar2` | Location | [ ] | filters on the platform, writable | header or footer. |
| `script_id` | `varchar2` | Script ID | [x] | filters on the platform, writable | The registered script. |
| `site_id` | `varchar2` | Site ID | [x] | filters on the platform, writable | The site. |
| `version` | `varchar2` | Version | [ ] | filters on the platform, writable | The version of the script applied. |

## Keys

| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
| `SiteCustomCodeScripts_script_id_fk` | `script_id` | [RegisteredScripts](Webflow.CustomCode.RegisteredScripts)`.id` | Key |  |

