---
title: "Register and apply the tracking loader via Webflow's Custom Code API. Dry run unless confirm is true. When the person asked for this, call it with confirm=true. Needs a site token with CMS + Custom code scopes (pass apiToken to upgrade the stored one). Goes live on the customer's next Webflow site publish."
method: POST
path: "/api/v1/integrations/webflow/custom-code"
---

# Register and apply the tracking loader via Webflow's Custom Code API. Dry run unless confirm is true. When the person asked for this, call it with confirm=true. Needs a site token with CMS + Custom code scopes (pass apiToken to upgrade the stored one). Goes live on the customer's next Webflow site publish.

`POST /api/v1/integrations/webflow/custom-code`

## Request

- Base URL: `https://api.rctrl.com`
- URL: `https://api.rctrl.com/api/v1/integrations/webflow/custom-code`
- Auth: HTTP bearer

Requires the `manage:org` scope.

## Request body

- object
  - `integrationId` string: Leave it out to use your connected Webflow site
  - `apiToken` string: New site token with CMS + Custom code scopes
  - `confirm` boolean: Actually install (default: dry run)

## Response `200`

Success; the payload is wrapped in a data envelope

- object
  - `data` unknown

## Other responses

- `400`: Bad input
- `401`: Missing or invalid API key
- `403`: API key lacks the required scope
- `404`: Not found in this workspace
- `429`: Rate limited; the body includes a retryAfterMs hint

---

[API](https://skmtc.dev/rctrl/apis/rankcontrol-api.md) · [All operations](https://skmtc.dev/rctrl/apis/rankcontrol-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rctrl/apis/rankcontrol-api/revisions/98ecd236394a?raw)
