{
  "info": {
    "_postman_id": "119af09a-eff3-46df-b898-ad0f0196ea70",
    "name": "Webflow Custom Code API",
    "description": "Webflow Data API v2 - Custom Code endpoints.\n\nContact Support:\n Name: Webflow Developer Relations\n Email: developers@webflow.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:21:39.000Z",
    "updatedAt": "2026-06-05T15:21:39.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-119af09a-eff3-46df-b898-ad0f0196ea70"
  },
  "item": [
    {
      "name": "pages",
      "item": [
        {
          "name": "{page_id}",
          "item": [
            {
              "name": "custom_code",
              "item": [
                {
                  "name": "Webflow Get Custom Code",
                  "id": "eadfd837-6d05-4a5c-a613-155cec39e618",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "pages",
                        ":page_id",
                        "custom_code"
                      ],
                      "variable": [
                        {
                          "id": "1e8b414e-72da-48fa-b3dc-6d8fa0d6a329",
                          "key": "page_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Page"
                        }
                      ]
                    },
                    "description": "Get all scripts applied to a page.\n\nRequired scope | `custom_code:read`\n"
                  },
                  "response": [
                    {
                      "id": "5150cbbb-3bad-4d2e-9bc5-da283d00439c",
                      "name": "Request was successful",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-5150cbbb-3bad-4d2e-9bc5-da283d00439c"
                    },
                    {
                      "id": "bd508185-cb88-408d-b55b-13e7de77b9a6",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-bd508185-cb88-408d-b55b-13e7de77b9a6"
                    },
                    {
                      "id": "958063b4-060a-4bb1-8740-dd6680501d47",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-958063b4-060a-4bb1-8740-dd6680501d47"
                    },
                    {
                      "id": "fe3e016c-32c0-479c-9c72-3fab08663f6e",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-fe3e016c-32c0-479c-9c72-3fab08663f6e"
                    },
                    {
                      "id": "ef813aae-190c-42fe-bc4e-86e0c4dc3156",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-ef813aae-190c-42fe-bc4e-86e0c4dc3156"
                    },
                    {
                      "id": "f9441833-008a-4832-996c-25b7489135f0",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-f9441833-008a-4832-996c-25b7489135f0"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-eadfd837-6d05-4a5c-a613-155cec39e618"
                },
                {
                  "name": "Webflow Delete Custom Code",
                  "id": "a58f49d3-4e26-407e-ae6f-7172121a1111",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "pages",
                        ":page_id",
                        "custom_code"
                      ],
                      "variable": [
                        {
                          "id": "fd1d4204-4fe3-4e84-9b52-e85f78717096",
                          "key": "page_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Page"
                        }
                      ]
                    },
                    "description": "Remove all scripts from a page applied by the App. This endpoint will not remove scripts from the site's registered scripts.\n\nTo remove individual scripts applied by the App, use the [Add/Update Custom Code](/data/reference/custom-code/custom-code-pages/upsert-custom-code) endpoint.\n\n<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>\n\nRequired scope | `custom_code:write`\n"
                  },
                  "response": [
                    {
                      "id": "09265377-513e-480e-8ec8-e39c073b8372",
                      "name": "Request was successful. No Content is returned.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "No Content",
                      "code": 204,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-09265377-513e-480e-8ec8-e39c073b8372"
                    },
                    {
                      "id": "662ca3cb-5731-4983-a855-0c943bedcd51",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-662ca3cb-5731-4983-a855-0c943bedcd51"
                    },
                    {
                      "id": "b2887710-8c8a-482f-9e44-e4b2d23a749d",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-b2887710-8c8a-482f-9e44-e4b2d23a749d"
                    },
                    {
                      "id": "83d392a0-437e-41cc-97f0-97b128afbdf7",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-83d392a0-437e-41cc-97f0-97b128afbdf7"
                    },
                    {
                      "id": "5fcdad0b-2714-4e9e-a329-5e55e4fcc894",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-5fcdad0b-2714-4e9e-a329-5e55e4fcc894"
                    },
                    {
                      "id": "5bc6ee0a-c911-4414-ab23-cec7483fd3ea",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-5bc6ee0a-c911-4414-ab23-cec7483fd3ea"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-a58f49d3-4e26-407e-ae6f-7172121a1111"
                },
                {
                  "name": "Webflow Add/Update Custom Code",
                  "id": "6f81506d-a647-4be8-915c-52e11b24ecc9",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "pages",
                        ":page_id",
                        "custom_code"
                      ],
                      "variable": [
                        {
                          "id": "15691d91-d2a5-4867-90fe-a790720ada2a",
                          "key": "page_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Page"
                        }
                      ]
                    },
                    "description": "Apply registered scripts to a page. If you have multiple scripts your App needs to apply or maintain on a page, ensure they are always included in the request body for this endpoint. To remove individual scripts, simply call this endpoint without the script in the request body.\n\n<Note title=\"Script Registration\">\n  To apply a script to a page, the script must first be registered to a Site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:write`\n"
                  },
                  "response": [
                    {
                      "id": "fc132834-3e30-4061-b883-05e41d1c55f0",
                      "name": "Request was successful",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-fc132834-3e30-4061-b883-05e41d1c55f0"
                    },
                    {
                      "id": "cb67caa6-5ba1-4c3d-aee3-39a22e494924",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-cb67caa6-5ba1-4c3d-aee3-39a22e494924"
                    },
                    {
                      "id": "a137c82c-7374-466d-8ee4-f2506762a605",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-a137c82c-7374-466d-8ee4-f2506762a605"
                    },
                    {
                      "id": "27bbdb90-c30c-4401-a3e0-60e5faf661e5",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-27bbdb90-c30c-4401-a3e0-60e5faf661e5"
                    },
                    {
                      "id": "e8e16c16-4422-4ca3-94c6-0fde447dc7c8",
                      "name": "The maximum number of registered scripts has been reached.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Conflict",
                      "code": 409,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-e8e16c16-4422-4ca3-94c6-0fde447dc7c8"
                    },
                    {
                      "id": "c1f3c5ba-0d7e-4eb4-b1f5-6c8b2b95af95",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-c1f3c5ba-0d7e-4eb4-b1f5-6c8b2b95af95"
                    },
                    {
                      "id": "380f14fe-d439-4000-911a-535040844ccc",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/pages/:page_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "pages",
                            ":page_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "page_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-380f14fe-d439-4000-911a-535040844ccc"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-6f81506d-a647-4be8-915c-52e11b24ecc9"
                }
              ],
              "id": "aef353b3-1e11-4cd5-91c0-03dd3a67b890",
              "createdAt": "2026-06-05T15:21:39.000Z",
              "updatedAt": "2026-06-05T15:21:39.000Z",
              "uid": "35240-aef353b3-1e11-4cd5-91c0-03dd3a67b890"
            }
          ],
          "id": "e65c7696-3419-4a5e-a4b1-d65c7d579057",
          "createdAt": "2026-06-05T15:21:39.000Z",
          "updatedAt": "2026-06-05T15:21:39.000Z",
          "uid": "35240-e65c7696-3419-4a5e-a4b1-d65c7d579057"
        }
      ],
      "id": "ab243afd-b1e0-4834-8cbf-90477dc12b48",
      "createdAt": "2026-06-05T15:21:39.000Z",
      "updatedAt": "2026-06-05T15:21:39.000Z",
      "uid": "35240-ab243afd-b1e0-4834-8cbf-90477dc12b48"
    },
    {
      "name": "sites",
      "item": [
        {
          "name": "{site_id}",
          "item": [
            {
              "name": "custom_code",
              "item": [
                {
                  "name": "blocks",
                  "item": [
                    {
                      "name": "Webflow List Custom Code Blocks",
                      "id": "f2ac0d08-9a70-417a-8355-aa50f665e082",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://api.webflow.com/oauth/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://webflow.com/oauth/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code",
                            "blocks"
                          ],
                          "query": [
                            {
                              "description": "Offset used for pagination if the results have more than limit records",
                              "key": "offset",
                              "value": "<integer>"
                            },
                            {
                              "description": "Maximum number of records to be returned (max limit: 100)",
                              "key": "limit",
                              "value": "<integer>"
                            }
                          ],
                          "variable": [
                            {
                              "id": "03fd3887-64d0-458b-a50f-37b1316da026",
                              "key": "site_id",
                              "value": "",
                              "description": "(Required) Unique identifier for a Site"
                            }
                          ]
                        },
                        "description": "Get a list of scripts that have been applied to a site and/or individual pages.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints.\n\n  See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:read`\n"
                      },
                      "response": [
                        {
                          "id": "35a645f7-eaf7-4d39-9cd3-3a82e4985733",
                          "name": "Request was successful",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "custom_code",
                                "blocks"
                              ],
                              "query": [
                                {
                                  "description": "Offset used for pagination if the results have more than limit records",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "Maximum number of records to be returned (max limit: 100)",
                                  "key": "limit",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"blocks\": [\n    {\n      \"siteId\": \"<string>\",\n      \"pageId\": \"<string>\",\n      \"type\": \"site\",\n      \"scripts\": [\n        {\n          \"id\": \"<string>\",\n          \"version\": \"<string>\",\n          \"location\": \"header\",\n          \"attributes\": {}\n        },\n        {\n          \"id\": \"<string>\",\n          \"version\": \"<string>\",\n          \"location\": \"header\",\n          \"attributes\": {}\n        }\n      ],\n      \"createdOn\": \"<dateTime>\",\n      \"lastUpdated\": \"<dateTime>\"\n    },\n    {\n      \"siteId\": \"<string>\",\n      \"pageId\": \"<string>\",\n      \"type\": \"page\",\n      \"scripts\": [\n        {\n          \"id\": \"<string>\",\n          \"version\": \"<string>\",\n          \"location\": \"header\",\n          \"attributes\": {}\n        },\n        {\n          \"id\": \"<string>\",\n          \"version\": \"<string>\",\n          \"location\": \"header\",\n          \"attributes\": {}\n        }\n      ],\n      \"createdOn\": \"<dateTime>\",\n      \"lastUpdated\": \"<dateTime>\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": \"<integer>\",\n    \"offset\": \"<integer>\",\n    \"total\": \"<integer>\"\n  }\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-35a645f7-eaf7-4d39-9cd3-3a82e4985733"
                        },
                        {
                          "id": "601c0e2b-94b0-49a8-8207-c684a4d3f833",
                          "name": "Request body was incorrectly formatted.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "custom_code",
                                "blocks"
                              ],
                              "query": [
                                {
                                  "description": "Offset used for pagination if the results have more than limit records",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "Maximum number of records to be returned (max limit: 100)",
                                  "key": "limit",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-601c0e2b-94b0-49a8-8207-c684a4d3f833"
                        },
                        {
                          "id": "03b89bc5-3f66-4d0b-a7cc-93a8223b7127",
                          "name": "Provided access token is invalid or does not have access to requested resource",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "custom_code",
                                "blocks"
                              ],
                              "query": [
                                {
                                  "description": "Offset used for pagination if the results have more than limit records",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "Maximum number of records to be returned (max limit: 100)",
                                  "key": "limit",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-03b89bc5-3f66-4d0b-a7cc-93a8223b7127"
                        },
                        {
                          "id": "f3ed3253-7cfd-44df-ab00-917d6bc03ed7",
                          "name": "Requested resource not found",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "custom_code",
                                "blocks"
                              ],
                              "query": [
                                {
                                  "description": "Offset used for pagination if the results have more than limit records",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "Maximum number of records to be returned (max limit: 100)",
                                  "key": "limit",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-f3ed3253-7cfd-44df-ab00-917d6bc03ed7"
                        },
                        {
                          "id": "d834a3e2-5549-428d-ace4-7a1e7fce8ad1",
                          "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "custom_code",
                                "blocks"
                              ],
                              "query": [
                                {
                                  "description": "Offset used for pagination if the results have more than limit records",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "Maximum number of records to be returned (max limit: 100)",
                                  "key": "limit",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "Contains the number of available requests remaining in the current minute",
                                "type": "text/plain"
                              },
                              "key": "X-RateLimit-Remaining",
                              "value": "<number>"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "Contains your current overall rate limit per minute",
                                "type": "text/plain"
                              },
                              "key": "X-RateLimit-Limit",
                              "value": "<number>"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-d834a3e2-5549-428d-ace4-7a1e7fce8ad1"
                        },
                        {
                          "id": "b752fd93-a292-48db-b0b1-d76fa54720df",
                          "name": "We had a problem with our server. Try again later.",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/custom_code/blocks?offset=<integer>&limit=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "custom_code",
                                "blocks"
                              ],
                              "query": [
                                {
                                  "description": "Offset used for pagination if the results have more than limit records",
                                  "key": "offset",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "Maximum number of records to be returned (max limit: 100)",
                                  "key": "limit",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-b752fd93-a292-48db-b0b1-d76fa54720df"
                        }
                      ],
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-f2ac0d08-9a70-417a-8355-aa50f665e082"
                    }
                  ],
                  "id": "7d0ded26-f518-4c4a-98a6-347de69050bf",
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-7d0ded26-f518-4c4a-98a6-347de69050bf"
                },
                {
                  "name": "Webflow Get Custom Code",
                  "id": "f329dda8-f8e1-4264-ba56-76a2dd1817e9",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "sites",
                        ":site_id",
                        "custom_code"
                      ],
                      "variable": [
                        {
                          "id": "06056d7e-2415-411c-bcd7-8d3dd7b33b0f",
                          "key": "site_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Site"
                        }
                      ]
                    },
                    "description": "Get all scripts applied to a site by the App.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:read`\n"
                  },
                  "response": [
                    {
                      "id": "2c4b1aa0-be20-4932-bae3-ac94b97d951c",
                      "name": "Request was successful",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-2c4b1aa0-be20-4932-bae3-ac94b97d951c"
                    },
                    {
                      "id": "e14867ba-ac72-4fd5-9e69-12c43748079e",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-e14867ba-ac72-4fd5-9e69-12c43748079e"
                    },
                    {
                      "id": "e194427b-75a7-4aac-bb66-7211805d603a",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-e194427b-75a7-4aac-bb66-7211805d603a"
                    },
                    {
                      "id": "b97ba8c1-370b-4802-9da8-fe75e0c356c8",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-b97ba8c1-370b-4802-9da8-fe75e0c356c8"
                    },
                    {
                      "id": "ee989903-ac03-4982-b155-cfb94e3fb3d0",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-ee989903-ac03-4982-b155-cfb94e3fb3d0"
                    },
                    {
                      "id": "4b006a8c-9638-4ad2-ba2a-6f9749b7c135",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-4b006a8c-9638-4ad2-ba2a-6f9749b7c135"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-f329dda8-f8e1-4264-ba56-76a2dd1817e9"
                },
                {
                  "name": "Webflow Delete Custom Code",
                  "id": "a5575e9e-7055-4692-b3ad-04b58431f40e",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "sites",
                        ":site_id",
                        "custom_code"
                      ],
                      "variable": [
                        {
                          "id": "99c58e35-03e8-4da9-8b35-5a706860e598",
                          "key": "site_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Site"
                        }
                      ]
                    },
                    "description": "Remove all scripts from a site applied by the App. This endpoint will not remove scripts from the site's registered scripts.\n\nTo remove individual scripts applied by the App, use the [Add/Update Custom Code](/data/reference/custom-code/custom-code-sites/upsert-custom-code) endpoint.\n\n<Note>Access to this endpoint requires a bearer token obtained from an [OAuth Code Grant Flow](/data/reference/oauth-app).</Note>\n\nRequired scope | `custom_code:write`\n"
                  },
                  "response": [
                    {
                      "id": "e885a1a8-52b5-407c-8ba4-ad4676d7f354",
                      "name": "Request was successful. No Content is returned.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "No Content",
                      "code": 204,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-e885a1a8-52b5-407c-8ba4-ad4676d7f354"
                    },
                    {
                      "id": "f513a480-208e-415b-9a68-a94a88918cba",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-f513a480-208e-415b-9a68-a94a88918cba"
                    },
                    {
                      "id": "c8e9938d-4c5b-4e7c-851c-ce2d0a6e6bea",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-c8e9938d-4c5b-4e7c-851c-ce2d0a6e6bea"
                    },
                    {
                      "id": "d3d8ca5a-79c9-43e0-8530-c1228095f63e",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-d3d8ca5a-79c9-43e0-8530-c1228095f63e"
                    },
                    {
                      "id": "f777686e-dd17-4059-a35a-773a3a6330ff",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-f777686e-dd17-4059-a35a-773a3a6330ff"
                    },
                    {
                      "id": "c3a43fa8-b4df-4fe6-8e4c-36236b256393",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-c3a43fa8-b4df-4fe6-8e4c-36236b256393"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-a5575e9e-7055-4692-b3ad-04b58431f40e"
                },
                {
                  "name": "Webflow Add/Update Custom Code",
                  "id": "8eeca16a-1acb-43c0-89bf-ff849206afc1",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "sites",
                        ":site_id",
                        "custom_code"
                      ],
                      "variable": [
                        {
                          "id": "afd1b58b-0ae2-488c-9b1e-06a9a44296dc",
                          "key": "site_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Site"
                        }
                      ]
                    },
                    "description": "Apply registered scripts to a site. If you have multiple scripts your App needs to apply or maintain on a site, ensure they are always included in the request body for this endpoint. To remove individual scripts, simply call this endpoint without the script in the request body.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:write`\n"
                  },
                  "response": [
                    {
                      "id": "4c1739e8-1b4e-41c0-b679-14faf962278a",
                      "name": "Request was successful",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-4c1739e8-1b4e-41c0-b679-14faf962278a"
                    },
                    {
                      "id": "7af3dcd9-5a53-44d6-9872-42d669f55666",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-7af3dcd9-5a53-44d6-9872-42d669f55666"
                    },
                    {
                      "id": "62a2ee0c-fcf5-4bf4-bfa7-bf9c12bd16e7",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-62a2ee0c-fcf5-4bf4-bfa7-bf9c12bd16e7"
                    },
                    {
                      "id": "79b9deca-a838-456c-9b89-10a6eabea14d",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-79b9deca-a838-456c-9b89-10a6eabea14d"
                    },
                    {
                      "id": "50dd8ddf-196e-4e09-aa56-0e0df0059b81",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-50dd8ddf-196e-4e09-aa56-0e0df0059b81"
                    },
                    {
                      "id": "5592b1eb-1db8-4b58-9040-ebb192a05df7",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"scripts\": [\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    },\n    {\n      \"id\": \"<string>\",\n      \"version\": \"<string>\",\n      \"location\": \"header\",\n      \"attributes\": {}\n    }\n  ],\n  \"lastUpdated\": \"<string>\",\n  \"createdOn\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/custom_code",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "custom_code"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-5592b1eb-1db8-4b58-9040-ebb192a05df7"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-8eeca16a-1acb-43c0-89bf-ff849206afc1"
                }
              ],
              "id": "3c2c3530-fcc4-4f9c-8ca1-26d85b7bf13b",
              "createdAt": "2026-06-05T15:21:39.000Z",
              "updatedAt": "2026-06-05T15:21:39.000Z",
              "uid": "35240-3c2c3530-fcc4-4f9c-8ca1-26d85b7bf13b"
            },
            {
              "name": "registered_scripts",
              "item": [
                {
                  "name": "hosted",
                  "item": [
                    {
                      "name": "Webflow Register Script - Hosted",
                      "id": "d151b069-63b8-41b6-b1c4-73f064de0e2a",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://api.webflow.com/oauth/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://webflow.com/oauth/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts",
                            "hosted"
                          ],
                          "variable": [
                            {
                              "id": "d0516dcf-9dd7-4f50-9283-12931c242bf6",
                              "key": "site_id",
                              "value": "",
                              "description": "(Required) Unique identifier for a Site"
                            }
                          ]
                        },
                        "description": "Register a hosted script to a site.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:write`\n"
                      },
                      "response": [
                        {
                          "id": "3bfef7e9-e67e-457a-895b-850a1cdf7792",
                          "name": "Request was successful",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "hosted"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"canCopy\": false,\n  \"displayName\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"createdOn\": \"<string>\",\n  \"lastUpdated\": \"<string>\",\n  \"version\": \"<string>\"\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-3bfef7e9-e67e-457a-895b-850a1cdf7792"
                        },
                        {
                          "id": "9f4c689c-ba46-4832-9101-12fcc60510e9",
                          "name": "Request body was incorrectly formatted.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "hosted"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-9f4c689c-ba46-4832-9101-12fcc60510e9"
                        },
                        {
                          "id": "49f8c92a-5f62-4980-8c50-f8eb46a7ba4c",
                          "name": "Provided access token is invalid or does not have access to requested resource",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "hosted"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-49f8c92a-5f62-4980-8c50-f8eb46a7ba4c"
                        },
                        {
                          "id": "8d148254-70c1-4f82-8098-2a505e16aaf7",
                          "name": "Requested resource not found",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "hosted"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-8d148254-70c1-4f82-8098-2a505e16aaf7"
                        },
                        {
                          "id": "2a5a83f0-8811-4695-96bb-a1a685f1fffc",
                          "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "hosted"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "Contains the number of available requests remaining in the current minute",
                                "type": "text/plain"
                              },
                              "key": "X-RateLimit-Remaining",
                              "value": "<number>"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "Contains your current overall rate limit per minute",
                                "type": "text/plain"
                              },
                              "key": "X-RateLimit-Limit",
                              "value": "<number>"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-2a5a83f0-8811-4695-96bb-a1a685f1fffc"
                        },
                        {
                          "id": "634dfe43-f238-409e-8895-420aff2c0f67",
                          "name": "We had a problem with our server. Try again later.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/hosted",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "hosted"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-634dfe43-f238-409e-8895-420aff2c0f67"
                        }
                      ],
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-d151b069-63b8-41b6-b1c4-73f064de0e2a"
                    }
                  ],
                  "id": "634ac2ee-655d-4b3d-8e31-77b49dbc5566",
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-634ac2ee-655d-4b3d-8e31-77b49dbc5566"
                },
                {
                  "name": "inline",
                  "item": [
                    {
                      "name": "Webflow Register Script - Inline",
                      "id": "52eb2393-cec1-40c2-9f07-3b5bec720f9d",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "oauth2",
                          "oauth2": [
                            {
                              "key": "scope",
                              "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                              "type": "string"
                            },
                            {
                              "key": "accessTokenUrl",
                              "value": "https://api.webflow.com/oauth/token",
                              "type": "string"
                            },
                            {
                              "key": "authUrl",
                              "value": "https://webflow.com/oauth/authorize",
                              "type": "string"
                            },
                            {
                              "key": "grant_type",
                              "value": "authorization_code",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts",
                            "inline"
                          ],
                          "variable": [
                            {
                              "id": "099fa194-846c-4278-baee-90c1e848bd8f",
                              "key": "site_id",
                              "value": "",
                              "description": "(Required) Unique identifier for a Site"
                            }
                          ]
                        },
                        "description": "Register an inline script to a site. Inline scripts are limited to 2000 characters.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:write`\n"
                      },
                      "response": [
                        {
                          "id": "129055bb-7546-41bf-8ed1-3ccf3c5c6357",
                          "name": "Created",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "inline"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"canCopy\": false,\n  \"displayName\": \"<string>\",\n  \"hostedLocation\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"createdOn\": \"<string>\",\n  \"lastUpdated\": \"<string>\",\n  \"version\": \"<string>\"\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-129055bb-7546-41bf-8ed1-3ccf3c5c6357"
                        },
                        {
                          "id": "a59b9216-c82e-46be-aaf1-cfedccf1dbdd",
                          "name": "Request body was incorrectly formatted.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "inline"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-a59b9216-c82e-46be-aaf1-cfedccf1dbdd"
                        },
                        {
                          "id": "3f82ee43-4116-4e7f-8cc0-ad3aa6384fab",
                          "name": "Provided access token is invalid or does not have access to requested resource",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "inline"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-3f82ee43-4116-4e7f-8cc0-ad3aa6384fab"
                        },
                        {
                          "id": "02e3b5c0-bae9-4f72-be93-6de70b8f3f28",
                          "name": "Requested resource not found",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "inline"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-02e3b5c0-bae9-4f72-be93-6de70b8f3f28"
                        },
                        {
                          "id": "4317e4d4-4c78-46c5-aed8-f31a7121edc2",
                          "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "inline"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "Contains the number of available requests remaining in the current minute",
                                "type": "text/plain"
                              },
                              "key": "X-RateLimit-Remaining",
                              "value": "<number>"
                            },
                            {
                              "disabled": false,
                              "description": {
                                "content": "Contains your current overall rate limit per minute",
                                "type": "text/plain"
                              },
                              "key": "X-RateLimit-Limit",
                              "value": "<number>"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-4317e4d4-4c78-46c5-aed8-f31a7121edc2"
                        },
                        {
                          "id": "dcb3f78f-28f3-4289-a13d-d7fbb0c384d0",
                          "name": "We had a problem with our server. Try again later.",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"displayName\": \"<string>\",\n  \"version\": \"<string>\",\n  \"sourceCode\": \"<string>\",\n  \"integrityHash\": \"<string>\",\n  \"canCopy\": false\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/sites/:site_id/registered_scripts/inline",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "sites",
                                ":site_id",
                                "registered_scripts",
                                "inline"
                              ],
                              "variable": [
                                {
                                  "key": "site_id"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                          "createdAt": "2026-06-05T15:21:39.000Z",
                          "updatedAt": "2026-06-05T15:21:39.000Z",
                          "uid": "35240-dcb3f78f-28f3-4289-a13d-d7fbb0c384d0"
                        }
                      ],
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-52eb2393-cec1-40c2-9f07-3b5bec720f9d"
                    }
                  ],
                  "id": "7ec6512b-5c98-4b96-922c-9125da322448",
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-7ec6512b-5c98-4b96-922c-9125da322448"
                },
                {
                  "name": "Webflow Get Registered Scripts",
                  "id": "4b35d4cb-add3-414a-99a7-7dc4aac4eeb9",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "oauth2",
                      "oauth2": [
                        {
                          "key": "scope",
                          "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
                          "type": "string"
                        },
                        {
                          "key": "accessTokenUrl",
                          "value": "https://api.webflow.com/oauth/token",
                          "type": "string"
                        },
                        {
                          "key": "authUrl",
                          "value": "https://webflow.com/oauth/authorize",
                          "type": "string"
                        },
                        {
                          "key": "grant_type",
                          "value": "authorization_code",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "sites",
                        ":site_id",
                        "registered_scripts"
                      ],
                      "variable": [
                        {
                          "id": "7c6ff4dc-a11f-4bec-b55a-96004c6e589e",
                          "key": "site_id",
                          "value": "",
                          "description": "(Required) Unique identifier for a Site"
                        }
                      ]
                    },
                    "description": "Get a list of scripts that have been registered to a site. A site can have a maximum of 800 registered scripts.\n\n<Note title=\"Script Registration\">\n  To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.\n</Note>\n\nRequired scope | `custom_code:read`\n"
                  },
                  "response": [
                    {
                      "id": "131b6e2c-1c38-4741-91ed-cd266ddf941f",
                      "name": "Request was successful",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"registeredScripts\": [\n    {\n      \"id\": \"<string>\",\n      \"canCopy\": false,\n      \"displayName\": \"<string>\",\n      \"hostedLocation\": \"<string>\",\n      \"integrityHash\": \"<string>\",\n      \"createdOn\": \"<string>\",\n      \"lastUpdated\": \"<string>\",\n      \"version\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"canCopy\": false,\n      \"displayName\": \"<string>\",\n      \"hostedLocation\": \"<string>\",\n      \"integrityHash\": \"<string>\",\n      \"createdOn\": \"<string>\",\n      \"lastUpdated\": \"<string>\",\n      \"version\": \"<string>\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": \"<integer>\",\n    \"offset\": \"<integer>\",\n    \"total\": \"<integer>\"\n  }\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-131b6e2c-1c38-4741-91ed-cd266ddf941f"
                    },
                    {
                      "id": "cc27e3fe-3f45-4d21-913d-5d3680c5c683",
                      "name": "Request body was incorrectly formatted.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-cc27e3fe-3f45-4d21-913d-5d3680c5c683"
                    },
                    {
                      "id": "cafae8fc-fabb-48ad-a60d-d2e15f0e14b8",
                      "name": "Provided access token is invalid or does not have access to requested resource",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-cafae8fc-fabb-48ad-a60d-d2e15f0e14b8"
                    },
                    {
                      "id": "8ca48a73-3c8d-4462-b6e6-7ec40ea6e4c6",
                      "name": "Requested resource not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-8ca48a73-3c8d-4462-b6e6-7ec40ea6e4c6"
                    },
                    {
                      "id": "91b5a1c0-b333-4fde-8fc3-7422fac10862",
                      "name": "The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Too Many Requests",
                      "code": 429,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains the number of available requests remaining in the current minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Remaining",
                          "value": "<number>"
                        },
                        {
                          "disabled": false,
                          "description": {
                            "content": "Contains your current overall rate limit per minute",
                            "type": "text/plain"
                          },
                          "key": "X-RateLimit-Limit",
                          "value": "<number>"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-91b5a1c0-b333-4fde-8fc3-7422fac10862"
                    },
                    {
                      "id": "c82ea547-8315-44dd-9b1e-85ae33bab6d1",
                      "name": "We had a problem with our server. Try again later.",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: oauth2",
                            "key": "Authorization",
                            "value": "<token>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/sites/:site_id/registered_scripts",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "sites",
                            ":site_id",
                            "registered_scripts"
                          ],
                          "variable": [
                            {
                              "key": "site_id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"validation_error\",\n  \"message\": \"<string>\",\n  \"externalReference\": \"<string>\",\n  \"details\": [\n    \"in reprehenderit exercitation\"\n  ]\n}",
                      "createdAt": "2026-06-05T15:21:39.000Z",
                      "updatedAt": "2026-06-05T15:21:39.000Z",
                      "uid": "35240-c82ea547-8315-44dd-9b1e-85ae33bab6d1"
                    }
                  ],
                  "createdAt": "2026-06-05T15:21:39.000Z",
                  "updatedAt": "2026-06-05T15:21:39.000Z",
                  "uid": "35240-4b35d4cb-add3-414a-99a7-7dc4aac4eeb9"
                }
              ],
              "id": "e98d77c3-5baa-442c-a466-01e44d0399ea",
              "createdAt": "2026-06-05T15:21:39.000Z",
              "updatedAt": "2026-06-05T15:21:39.000Z",
              "uid": "35240-e98d77c3-5baa-442c-a466-01e44d0399ea"
            }
          ],
          "id": "f4ed5961-7124-4311-9d22-f678efedf9fb",
          "createdAt": "2026-06-05T15:21:39.000Z",
          "updatedAt": "2026-06-05T15:21:39.000Z",
          "uid": "35240-f4ed5961-7124-4311-9d22-f678efedf9fb"
        }
      ],
      "id": "ce13ff73-dbf4-4df2-84e6-6efc9311c261",
      "createdAt": "2026-06-05T15:21:39.000Z",
      "updatedAt": "2026-06-05T15:21:39.000Z",
      "uid": "35240-ce13ff73-dbf4-4df2-84e6-6efc9311c261"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "authorized_user:read assets:read assets:write cms:read cms:write comments:read comments:write custom_code:read custom_code:write ecommerce:read ecommerce:write forms:read forms:write pages:read pages:write components:read components:write sites:read sites:write users:read site_activity:read users:write workspace:read workspace:write site_config:read site_config:write",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://api.webflow.com/oauth/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://webflow.com/oauth/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.webflow.com/v2"
    }
  ]
}