Skip to content

Settings (management API)

View as Markdown

The Appspace’s settings: its name, web fallback, link previews, app open attribution, bot filtering and ecommerce. Changing them needs the Full permission. Changing app_open_attribution also needs confirm: "app_open_attribution". For what each setting does, see the user guide.

Every path also works under /v1/manage/appspaces/{appspace}, which you need when an OAuth token reaches more than one Appspace. See the management API overview for signing in, errors, dry runs and paging.

MethodPathWhat it doesPermission
GET/v1/manage/settingsGet the settingsRead
PATCH/v1/manage/settingsChange the settingsFull
GET/v1/manage/settings

Permission: Read.

The Appspace’s name, web fallback, logo and colour, link previews, branding, app open attribution, bot filtering and ecommerce settings, by the names a change takes. The app details are GET /app-details; the referral programme GET /referrals/settings; domains GET /domains.

Response 200: the result in data.

FieldTypeDescription
namestring
web_fallback_urlstring or null
logo_urlstring or null
primary_colorstring
app_open_attributionalways, when_reported, never
app_open_attribution_meaningstring
brandinginherit, show, hide”Powered by Tolinku” on this Appspace’s pages: inherit (follow the account), show or hide. A page can choose for itself (its branding).
branding_enabledbooleanWhether this Appspace’s pages show “Powered by Tolinku” (unless a page chooses for itself): branding, the account’s switch, and the plan together. Free and the trial always show it.
account_branding_enabledbooleanThe account’s switch, which branding “inherit” follows. Only the account owner changes it, in account settings in the dashboard; it isn’t in this API.
branding_can_hidebooleanWhether this plan can hide it: Standard and up, never Free or the trial.
og_titlestring or null
og_descriptionstring or null
og_imagestring or null
bot_filter_enabledboolean
bot_ua_allowlistarray of string
bot_ua_blocklistarray of string
base_currencystring
reporting_timezonestring
cart_abandonment_hoursnumber
fraud_checks_enabledboolean
allowed_currenciesarray of string
max_purchase_centsnumber
max_purchases_per_hournumber
updated_atstring or nullSend as expected_updated_at when changing them.
PATCH/v1/manage/settings

Permission: Full. Changes something: takes dry_run and Idempotency-Key, and needs the Standard plan or above.

Only the fields sent change. Checked and tidied as the Settings page does (a colour is #RRGGBB, a time zone is a real one, numbers are kept in range; Free keeps bot filtering on and its lists, Free and trial keep the branding: branding “hide” is refused with a warning and nothing changes). Changing app_open_attribution decides whether phones open the app straight from links, so it needs confirm: “app_open_attribution” (409 conflict without it). Send expected_updated_at and a change made in the meantime is refused with 412. With dry_run, nothing changes: the answer is { dry_run: true, before, after, changes, warnings }.

Query parameters:

ParameterTypeRequiredDescription
dry_runtrue, falseNotrue: check and preview the change without making it (the same as dry_run in the body).

Request body (JSON):

FieldTypeRequiredDescription
namestringNoThe Appspace’s name, shown in the dashboard. Doesn’t change any link.
web_fallback_urlstring or nullNoWhere desktop visitors go, and phones when nothing else applies, unless a route sets its own. Empty: none.
logo_urlstring or nullNoThe logo’s address, shown on landing pages. Empty: none.
primary_colorstring or nullNoThe brand colour for landing pages, as #RRGGBB. Empty: the default #667eea.
app_open_attributionalways, when_reported, neverNoHow app opens are counted, which also decides whether phones open the app straight from links. Always: every tap goes through Tolinku first, so opens count without the SDK, at the cost of a moment before the app opens. iPhones and Android phones don’t open the app straight from the link. When reported: the phone opens the app straight from the link, and an open counts when the SDK reports it with trackLinkOpen. Never: reported opens are refused; only taps that reach Tolinku are counted. Changing it needs confirm: “app_open_attribution”.
brandinginherit, show, hideNo”Powered by Tolinku” on this Appspace’s landing and bio pages: “inherit” follows the account’s switch (on unless the owner turned it off in account settings), “show” always shows it, “hide” never does. A page can still choose for itself (its own branding). Only paid plans (Standard and up) can hide it; Free and the trial always show it, and asking them to hide it changes nothing.
branding_enabledbooleanNoOlder form of branding: false is branding “hide”; true takes a “hide” off (back to “inherit”). Send branding instead.
og_titlestring or nullNoThe default title in link previews (og:title), for routes without their own.
og_descriptionstring or nullNoThe default description in link previews (og:description).
og_imagestring or nullNoThe default image address in link previews (og:image); 1200 x 630 works everywhere.
bot_filter_enabledbooleanNoLeave out bots, link previews and scanners from analytics (default on). Free always filters.
bot_ua_allowlistarray of string or nullNoUser agents always counted as people, even if they look like bots: parts of the user agent, at least 3 characters each. Not on Free. Replaces the list; empty clears it.
bot_ua_blocklistarray of string or nullNoUser agents never counted: parts of the user agent, at least 3 characters each. Not on Free. Replaces the list; empty clears it.
base_currencystring or nullNoThe currency revenue is reported in, three letters such as USD. Empty keeps the current one.
reporting_timezonestring or nullNoThe time zone days are counted in for reports, such as Europe/London. Empty keeps the current one.
cart_abandonment_hoursinteger or nullNoHours after a cart is updated before it counts as abandoned, 1 to 72. Empty: 24.
fraud_checks_enabledbooleanNoCheck purchases for fraud (currencies, amount, how fast they come) and flag the ones that fail.
allowed_currenciesarray of string or nullNoWith fraud checks, purchases in other currencies are flagged. Three-letter codes. Empty: any currency.
max_purchase_centsinteger or nullNoWith fraud checks, purchases above this (in cents of the purchase’s currency) are flagged. Empty: 10,000,000 (100,000.00).
max_purchases_per_hourinteger or nullNoWith fraud checks, more purchases than this from one user in an hour are flagged, 1 to 1,000. Empty: 10.
confirmstringNoSend “app_open_attribution” to confirm changing app open attribution (it changes whether phones open the app straight from links).
expected_updated_atstringNoThe updated_at you read. If the thing has changed since, nothing is saved and the answer is 412 precondition_failed: read it again and retry.

Response 200: the result in data, with warnings. With dry_run, a preview instead.

FieldTypeDescription
namestring
web_fallback_urlstring or null
logo_urlstring or null
primary_colorstring
app_open_attributionalways, when_reported, never
app_open_attribution_meaningstring
brandinginherit, show, hide”Powered by Tolinku” on this Appspace’s pages: inherit (follow the account), show or hide. A page can choose for itself (its branding).
branding_enabledbooleanWhether this Appspace’s pages show “Powered by Tolinku” (unless a page chooses for itself): branding, the account’s switch, and the plan together. Free and the trial always show it.
account_branding_enabledbooleanThe account’s switch, which branding “inherit” follows. Only the account owner changes it, in account settings in the dashboard; it isn’t in this API.
branding_can_hidebooleanWhether this plan can hide it: Standard and up, never Free or the trial.
og_titlestring or null
og_descriptionstring or null
og_imagestring or null
bot_filter_enabledboolean
bot_ua_allowlistarray of string
bot_ua_blocklistarray of string
base_currencystring
reporting_timezonestring
cart_abandonment_hoursnumber
fraud_checks_enabledboolean
allowed_currenciesarray of string
max_purchase_centsnumber
max_purchases_per_hournumber
updated_atstring or nullSend as expected_updated_at when changing them.
Was this page helpful?