Skip to main content
PUT
Update an integration

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Path Parameters

id
string
required

Encoded integration ID (iid, base-36, as returned by GET /v1/integration)

Body

application/json

Fields from the integration's global settings schema. Module-specific settings are stored as sent

description
string | null

Integration description

account_name
string | null

Account name. Empty or null sets the owning organisation's name

token
string

Access token, for platforms that take one directly

refresh_token
string

Refresh token, for platforms that take one directly

expires
string

Token expiry, for platforms that take one directly

ads_txt
string

Required ads.txt lines, one per line. Prefix a line with [managed] or [unmanaged] to limit it, or [UID:n] to tie it to one publisher. Replaces all stored lines

app_ads_txt
string

Required app-ads.txt lines, same format as ads_txt. Replaces all stored lines

owner_only_fields
string[]

Only when the schema has it. The mapping fields only the integration's owner can set, from the choices in the schema. Replaces the stored list; an empty list locks no fields. Not stored while it matches the platform's defaults and no list was saved before. Saved for the owner only, and queues no tag builds

filter
Organisation filter · object

Which child organisations of the user's organisation can use the integration. Replaces the user's organisation's filter

Response

OK: The updated integration, as GET /v1/integration/{id} returns it.

results
object
required
success
boolean
required

Always true