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_ |
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_ |
varchar2 |
Script ID | filters on the platform, writable | The registered script. | |
site_ |
varchar2 |
Site ID | 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 |
|---|---|---|---|---|
Site |
script_ |
RegisteredScripts.id |
Key |