How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Webflow Custom Code API

Custom code is JavaScript that is added to your Webflow site.

Webflow Custom Code API is one of 20 APIs that Webflow publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Custom Code. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, rate-limit docs, and a changelog.

This API exposes 10 operations across 6 paths. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against a single base URL, https://api.webflow.com/v2.

10 operations 6 paths 0 schemas 2 DELETE4 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://api.webflow.com/v2
Authentication
OAuth 2.0, HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Webflow Custom Code API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 26 scopes. It accepts HTTP bearer tokens (ApiKey). By default, every request must be authenticated.

Paths & Operations 10

Across 6 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Custom Code 10

Custom code is JavaScript that is added to your Webflow site.

GET
/pages/{page_id}/custom_code
Webflow Get Custom Code
get-page-custom-code 1 param → 200400401404429500
DELETE
/pages/{page_id}/custom_code
Webflow Delete Custom Code
delete-page-custom-code 1 param → 204400401404429500
PUT
/pages/{page_id}/custom_code
Webflow Add/Update Custom Code
add-custom-code-to-page 1 param body → 200400401404409429500
GET
/sites/{site_id}/custom_code
Webflow Get Custom Code
get-site-custom-code 1 param → 200400401404429500
DELETE
/sites/{site_id}/custom_code
Webflow Delete Custom Code
delete-site-custom-code 1 param → 204400401404429500
PUT
/sites/{site_id}/custom_code
Webflow Add/Update Custom Code
add-custom-code-tosite 1 param body → 200400401404429500
GET
/sites/{site_id}/registered_scripts
Webflow Get Registered Scripts
get-scripts 1 param → 200400401404429500
POST
/sites/{site_id}/registered_scripts/hosted
Webflow Register Script - Hosted
post-hosted-script 1 param body → 201400401404429500
POST
/sites/{site_id}/registered_scripts/inline
Webflow Register Script - Inline
post-inline-scripts 1 param body → 201400401404429500
GET
/sites/{site_id}/custom_code/blocks
Webflow List Custom Code Blocks
get-site-custom-code-blocks 3 params → 200400401404429500

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

webflow-custom-code-api-openapi.yml Raw ↑

Other APIs Webflow publishes across the network.

Webflow Designer Extension API
Webflow Asset Folders API
Webflow Assets API
Webflow Collections API
Webflow Comments API
Webflow Components API
Webflow Forms API
Webflow Inventory API
Webflow Items API
Webflow Meta API
Webflow Orders API
Webflow Pages API
Where this information came from

This is an independent, third-party profile of Webflow Custom Code API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.