Disconnect ClickFlare
Disconnects ClickFlare from the brand: removes the API key, the campaign mappings and the spend push setting. Conversion and revenue data already pulled from ClickFlare is kept. Requires an organization owner or admin.
bearerAuthAuthorizationBearer <token>An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.
brandId*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
Disconnect ClickFlare
application/json- response
disconnected*booleancurl -X DELETE "https://example.com/v1/brands/0/integrations/clickflare" \ -H "Authorization: Bearer koast_sk_..."{ "disconnected": true}Required scope: write. CLI: koast disconnect-clickflare, see Integrations commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.
Connect ClickFlare
Connects ClickFlare to the brand. Koast checks the key against ClickFlare, reads the account timezone and currency, and detects which tracking fields carry the ad platform campaign, ad set and ad ids. Sending a new key to a connected brand replaces the key and keeps the settings. Answers 422 when ClickFlare rejects the key. Requires an organization owner or admin.
List ClickFlare campaign mappings
Returns the campaign mappings used by the ClickFlare spend push: automatic ones derived from the ClickFlare traffic of the last days (the campaign tracking field), manual ones, the Koast campaigns with spend that have no mapping (with the reason), and the ClickFlare campaigns to pick from. Requires an organization owner or admin.