Configure the cookie banner
configure_bannerSaves and publishes the banner look for a website on the confirmed account: colours (for example the suggested banner colours from a site analysis), position, layout, font and privacy policy URL. Returns a preview link to the CookiePilot panel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | CSS colours (hex or rgb/rgba); missing keys keep their current value | |
| layout | No | ||
| hostname | No | Website hostname, e.g. example.com; defaults to the website given to create_account | |
| position | No | ||
| font_family | No | e.g. "Inter, sans-serif" | |
| setup_token | Yes | setup_token returned by create_account | |
| privacy_policy_url | No | Link to the site's privacy policy |