https://api.clakta.com/v1/projects/{idOrSlug}Update a project's settings. Requires an API key with `projects.write`. Send only the fields you want to change.
Changing `currency` converts the revenue thresholds of the project's dashboard widgets at the current exchange rate. Changing `slug` changes the value you address the project by. `dataRetentionDays` cannot exceed the team plan's retention limit.
Envie sua chave de API como bearer token no cabeçalho Authorization.
Veja Autenticação para saber como criar uma chave de API e definir seus escopos.
idOrSlugThe project ID (with the proj_ prefix) or slug.
nameThe name of the project, up to 32 characters.
slugThe slug of the project, unique within the team. Between 3 and 48 characters, normalized to lowercase letters, numbers and hyphens.
iconThe icon of the project, as ":EMOJI_NAME:" or "ph:ICON_NAME". null removes it.
currencyThe ISO 4217 currency code the project reports revenue and ad spend in.
trackingModeHow visitor data is collected: privacy_friendly (no cookies, server-estimated sessions) or full_attribution (cookies/first-party identifiers).
Valores aceitos:privacy_friendlyfull_attribution
attributionModelAttribution model used to credit Clakta-tracked ad touchpoints when computing Clakta-specific ad metrics. Does not affect platform-reported metrics.
Valores aceitos:LAST_CLICKFIRST_CLICKLINEAR_ALLLINEAR_PAIDTRIPLE_ATTRIBUTION
dataRetentionDaysHow many days of events/analytics stay available in dashboards and reports. null = the team plan's retention limit.
aiColumnsEnabledWhether the AI-backed ads manager columns may run for this project.
adsRevenueIncludesRenewalsWhether subscription renewals count toward the ad revenue of the campaign that acquired the subscriber.
The updated project
messagedata