{
  "operationId": "get-site-custom-code",
  "method": "GET",
  "path": "/sites/{site_id}/custom_code",
  "summary": "Webflow Get Custom Code",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "scripts": [
          {
            "id": "cms_slider",
            "location": "header",
            "version": "1.0.0",
            "attributes": {
              "my-attribute": "some-value"
            }
          },
          {
            "id": "alert",
            "location": "header",
            "version": "0.0.1",
            "attributes": {}
          }
        ],
        "lastUpdated": "2022-10-26T00:28:54.191Z",
        "createdOn": "2022-10-26T00:28:54.191Z"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "example": {
        "code": "bad_request",
        "message": "Bad Request: Request is malformed",
        "externalReference": null,
        "details": []
      }
    },
    {
      "status": "401",
      "contentType": "application/json",
      "example": {
        "code": "not_authorized",
        "message": "Request not authorized",
        "externalReference": null,
        "details": []
      }
    },
    {
      "status": "404",
      "contentType": "application/json",
      "example": {
        "code": "resource_not_found",
        "message": "Requested resource not found: The site cannot be found",
        "externalReference": null,
        "details": []
      }
    },
    {
      "status": "429",
      "contentType": "application/json",
      "example": {
        "code": "too_many_requests",
        "message": "Too many requests",
        "externalReference": null,
        "details": []
      }
    },
    {
      "status": "500",
      "contentType": "application/json",
      "example": {
        "code": "internal_error",
        "message": "An Internal Error occurred",
        "externalReference": null,
        "details": []
      }
    }
  ]
}