Skip to main content
Documentation
API Reference

Apps

Register and manage iOS and Android apps with the WarpLink REST API. See request and response examples, required scopes, app fields, and common errors.

Register a mobile app with POST /v1/apps before creating links. An organization owns apps, and a link can belong to an app. The app stores the iOS and Android settings that WarpLink uses for deep linking. Register either platform or both, then add the other platform later if needed.

An organization with no app gets 403 APP_REQUIRED when it tries to create a link. After registering an app, you can also create web-only Production links with no app_id.

Authentication and Permissions

OperationScopeRole required (dashboard-created keys)
Create an appapps:writeany role, including member (apps:write)
List appsapps:readany role, including member (apps:read)
Get an appapps:readany role, including member (apps:read)
Update an appapps:writeany role, including member (apps:write)
Delete an appapps:writeowner or admin (apps:delete)

Reading, creating, and updating apps is open to every role, including member, which matches the dashboard's own permission matrix: anyone on the team can register an app and edit how it is wired up. Deleting an app needs the apps:write scope and a role that holds the apps:delete permission, which only owner and admin roles hold, so a key whose creator is a member gets 403 FORBIDDEN on delete. For an API key with a creator, WarpLink checks that creator’s current role and membership. A key without a creator is checked for scope. Changing an app's link handle also requires a key with a creator. See Authentication for how the two layers combine on every request.

Plan Limits

Apps count against a per-organization limit that scales with plan:

PlanApp limit
Free1
Starter5
Growth20
ScaleUnlimited
UnlimitedUnlimited

One "app" here covers every platform you register under it. An app with both iOS and Android settings counts as one app, including when you use the React Native or Flutter SDK. The limit is checked before validating the request body: creating past the limit fails with 403 APP_LIMIT_EXCEEDED regardless of whether the body itself would have been valid.

Validation and Behavior

  • ios_bundle_id must be reverse-domain notation (for example com.example.myapp), up to 255 characters.
  • ios_team_id must contain exactly 10 letters or digits. WarpLink trims surrounding spaces and converts letters to uppercase.
  • ios_app_store_id must be numeric, up to 20 characters.
  • android_package_name must be a valid Java package name (for example com.example.myapp), up to 255 characters.
  • android_sha256_fingerprints are normalized to uppercase and validated as 32 colon-separated hex byte pairs each, up to 10 per app.
  • ios_universal_link_paths and android_app_links_paths are arrays of up to 50 paths, each starting with /, up to 255 characters, using letters, numbers and . _ ~ ! $ & ' ( ) * + , ; = : @ % / ? - (for example /products/*). The MCP tools create_app and update_app apply the same rules. On update, the path rules, the 50-entry cap, the fingerprint cap and the 2,048-character store URL limit apply to entries you add or change. An app saved before these limits can still be renamed or edited when the request re-sends the values it already holds.
  • probabilistic_matching is a boolean, true by default. Set it to false for routing-only mode: deep links keep working, and the server no longer matches installs by probabilistic match or raw device signals for that app, so deferred links and attribution use only the invitation token, the Play Install Referrer and the device ID repeat check. It is on update only, applies within a minute, and any role that can update the app can change it. See Routing-only mode.
  • skip_raw_for_organic_play_installs is a boolean, false by default. Set it to true to stop matching an Android install by IP address, language and timezone when Google Play reports the install as organic, meaning found on its own. Google Play also reports some installs that started from a link as organic. Those installs then match only through a link ID, a referral token or a Tether code. It has no effect while probabilistic_matching is false. It is on update only, applies within a minute, and any role that can update the app can change it. The dashboard shows it as Skip organic Android installs.
  • org_id cannot be set on update. Sending it, even unchanged, is refused with 400 IMMUTABLE_FIELD before the rest of the body is even validated.
  • A bundle ID or package name must be unique within its organization. A collision, on create or on update, is refused with 409 DUPLICATE_APP.
  • Updating an app's identifiers or paths regenerates the app's apple-app-site-association and Android assetlinks.json files automatically, so Universal Links and App Links keep working without a separate publish step. WarpLink schedules this work in the background.
  • The app's icon is resolved automatically from the store IDs you provide (App Store ID, Play package name) shortly after creation. This also runs after the response and never blocks it; icon_url may be null in the 201 response. icon_source is auto or manual.
  • Deleting an app does not delete its links. A link's app_id is a nullable foreign key that clears to null on app delete (onDelete: "set null"), so the link and its click history survive as a web-only link with no app. The app's affected links are automatically resynced afterward so nothing keeps pointing at deep link configuration that no longer exists. The SDK keys tied to the app are deleted with it. Deleting a Test app also deletes its Test links.

Create an App

POST/apps

Create an app

Parameters

NameTypeInDescription
Idempotency-KeystringheaderA unique string of 1 to 255 printable ASCII characters for this create. Sending the same request again with the same key returns the first response, with the header `Idempotent-Replayed: true`, and creates nothing new. A key is remembered for 24 hours for your organization, this API key and this endpoint. The same key with a different body is refused with `422 IDEMPOTENCY_KEY_REUSED`. The same key while the first request still runs is refused with `409 IDEMPOTENCY_IN_PROGRESS`. A `5xx` or `429` response is not remembered, so a retry runs again. A replay of a response larger than 64 KB answers `409 IDEMPOTENCY_RESULT_TOO_LARGE`: read the resource with the get call.
dry_runbooleanqueryWhen `true`, the call runs every check a real call runs (authentication, role, validation, plan limits, link safety, and the slug, handle and duplicate checks) and answers `200` with `{ "dry_run": true, "result": ... }`, where `result` is what the call would return. Nothing is saved, synced, recorded in the audit log, and no idempotency key is stored. A refusal is the same error a real call returns.

Request Body

FieldTypeDescription
name*string
ios_bundle_idstringReverse-domain notation, e.g. com.example.myapp
ios_team_idstringApple Team ID, e.g. ABCDE12345
ios_app_store_idstringNumeric App Store ID
ios_app_store_urlstring
ios_universal_link_pathsstring[]Up to 50 paths, each starting with / and at most 255 characters, using letters, numbers and . _ ~ ! $ & ' ( ) * + , ; = : @ % / ? -.
android_package_namestringJava package name, e.g. com.example.myapp
android_sha256_fingerprintsstring[]Up to 10 SHA-256 certificate fingerprints, 32 colon-separated hex byte pairs each.
android_play_store_urlstring
android_app_links_pathsstring[]Up to 50 paths, each starting with / and at most 255 characters, using letters, numbers and . _ ~ ! $ & ' ( ) * + , ; = : @ % / ? -.
link_handlestringThe app's link subdomain, as in link_handle.aplnk.to. 3 to 30 characters: lowercase letters, numbers and hyphens, not starting or ending with a hyphen. Reserved names such as www, api, app and docs are refused. Defaults to a name derived from the app name, with a suffix added if that name is taken. Uppercase letters are accepted and stored in lowercase. A value you send that another app already holds returns 409 APP_HANDLE_TAKEN, and one that was just released returns 409 APP_HANDLE_HELD with details.available_at.

Responses

200Dry run (`dry_run=true`): every check passed. `result` is the app the call would create, with a null `id`, and nothing was saved.
FieldTypeDescription
dry_run*"true"
result*objectThe app the call would create, in the shape of the App object. `id` is null. `link_handle_note` says the handle was derived from the app name and is final only at create.
201App created. A replayed answer to the same `Idempotency-Key` carries the header `Idempotent-Replayed: true`.
FieldTypeDescription
idstring
org_idstring
namestring
ios_bundle_idstring | null
ios_team_idstring | null
ios_app_store_idstring | null
ios_app_store_urlstring | null
ios_universal_link_pathsarray | null
android_package_namestring | null
android_sha256_fingerprintsarray | null
android_play_store_urlstring | null
android_app_links_pathsarray | null
icon_urlstring | null
icon_source"auto" | "manual"
probabilistic_matchingbooleanFalse means routing-only mode: the server no longer matches installs by probabilistic match or raw device signals for this app. Deep links keep working, and deferred links and attribution use only deterministic signals (the Android Play Install Referrer click id, and a device that already has an install). Defaults to true.
skip_raw_for_organic_play_installsbooleanTrue means an Android install that Google Play reports as organic (found on its own) is not matched by IP address, language and timezone. Google Play also reports some installs that started from a link as organic. Those installs then match only through a link ID, a referral token or a Tether code. Has no effect while probabilistic_matching is false. Defaults to false.
ios_recovery_enabledbooleanTrue when the iOS referral handoff page is on for this app. Android apps need no switch. Defaults to false.
referral_credit_window"24h" | "7d" | "30d"How long after the tap an install still credits the referrer. Defaults to 7d.
count_existing_usersbooleanTrue lets a person who already has the app count as a referral. Defaults to false.
link_handlestringThe lowercase subdomain label for this app's links, for example acme in acme.aplnk.to. Every app has one.
link_domainstringThe full host derived from link_handle, for example acme.aplnk.to.
legacy_apex_enabledbooleanTrue for an app that existed when app subdomains launched. Its links on aplnk.to keep working and aplnk.to keeps listing the app for good.
default_link_domainstringThe domain a new link gets when a create request names none: the saved default, or link_domain when none is saved. Change it with PUT /v1/apps/{id}/link-domain. It never changes a link that already exists.
default_link_domain_availablebooleanFalse when the saved default is a custom domain that is no longer live. A link created with no domain then gets 409 DEFAULT_DOMAIN_UNAVAILABLE until you choose a domain or a new default.
allowed_link_domainsstring[]The hostnames a new link for this app may use: the default first when it is available, then aplnk.to (legacy apps only), link_domain and the org's live custom domains.
previous_link_handlestring | nullThe app's old subdomain label while a rename period is open. null otherwise.
previous_link_domainstring | nullThe full old host while a rename period is open, for example oldname.aplnk.to. It keeps opening the app.
rename_period_ends_atstring | nullThe date shown for the open rename period. It is not a deadline and not a promise to move links that day. If links on the old subdomain later move to the new one, their old URLs redirect. null when no period is open.
rename_period_extensionsintegerHow many times the open rename period was extended by 1 month. At most 2.
tetherbooleanWhether links of this app can use Tether. On for every app on every plan until you turn it off.
tether_new_linksbooleanWhether new links of this app start with Tether on.
tether_hosted_pagebooleanWhether links with Tether on open the hosted Tether page. When false, your own page copies the code. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
referral_hosted_pagebooleanWhether iPhone referral invitations use the hosted page.
created_atstring
updated_atstring
400Validation error
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. UNCLAIMED_LIMIT: a workspace that no human has claimed yet holds at most 1 app.
FieldTypeDescription
error*object
409Duplicate bundle ID or package name, or link_handle is already taken (APP_HANDLE_TAKEN). IDEMPOTENCY_IN_PROGRESS: a request with the same `Idempotency-Key` is still running. Retry with the same key.
FieldTypeDescription
error*object
422IDEMPOTENCY_KEY_REUSED: the `Idempotency-Key` was used with a different request body.
FieldTypeDescription
error*object

Send name (1 to 255 characters) and at least one of ios_bundle_id or android_package_name. Store URLs, link paths and an explicit link_handle are optional.

Worked Example

Set WARPLINK_API_KEY to an API key with apps:write. Replace the sample name and bundle ID with your app's values. Replace the sample Idempotency-Key for each distinct create operation, and reuse it with the same body when retrying that operation.

Example 201 Created response for a Production app. Save id for later requests. Use link_domain for the full link hostname. The server returns the app object directly.

Send an Idempotency-Key header to make a retry safe, and ?dry_run=true to check the request without creating the app. A dry run returns { "dry_run": true, "result": ... } with a null id and a link_handle_note that says the handle is derived from the app name and the final handle is chosen at create. Both work as described in Safe retries and dry runs.

List Apps

GET/apps

List apps

Parameters

NameTypeInDescription
limitintegerquery
offsetintegerquery
searchstringquery

Responses

200List of apps
FieldTypeDescription
dataobject[]
paginationobject
401Unauthorized
FieldTypeDescription
error*object
403Forbidden
FieldTypeDescription
error*object

Filter by name with search (up to 200 characters, case-insensitive). Set limit to 1 through 100 (default 20). Set offset to the number of matching records to skip (default 0).

Use a key with apps:read.

The 200 OK response puts matching app objects in data. Each item has the same fields as the create response. If nothing matches, the API returns an empty list:

When has_more is true, add limit to offset to request the next page.

Get an App

GET/apps/{id}

Get an app

Parameters

NameTypeInDescription
id*stringpath

Responses

200App details
401Unauthorized
FieldTypeDescription
error*object
403Forbidden
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object

Set WARPLINK_APP_ID to the id from create or list. Use a key with apps:read.

The 200 OK response has the same fields as the create response plus referral_readiness. Unset platform fields are null. For the iOS app in the create example, with no store URL and no detected SDK requests, the extra field is:

Update an App

PATCH/apps/{id}

Update an app

Parameters

NameTypeInDescription
id*stringpath

Request Body

FieldTypeDescription
namestring
ios_bundle_idstring | null
ios_team_idstring | null
ios_app_store_idstring | null
ios_app_store_urlstring | null
ios_universal_link_pathsarray | nullUp to 50 paths, each starting with / and at most 255 characters, using letters, numbers and . _ ~ ! $ & ' ( ) * + , ; = : @ % / ? -.
android_package_namestring | null
android_sha256_fingerprintsarray | nullUp to 10 SHA-256 certificate fingerprints, 32 colon-separated hex byte pairs each.
android_play_store_urlstring | null
android_app_links_pathsarray | nullUp to 50 paths, each starting with / and at most 255 characters, using letters, numbers and . _ ~ ! $ & ' ( ) * + , ; = : @ % / ? -.
probabilistic_matchingbooleanSet false to turn on routing-only mode for this app, true to turn probabilistic matching back on. The change applies to the match endpoint within a minute. Links already shared keep working either way.
skip_raw_for_organic_play_installsbooleanSet true to skip the IP address, language and timezone match for an Android install that Google Play reports as organic (found on its own). Google Play also reports some installs that started from a link as organic. Those installs then match only through a link ID, a referral token or a Tether code. Has no effect while probabilistic_matching is false. The change applies to the match endpoint within a minute.
ios_recovery_enabledbooleanTurn the iOS referral handoff page on or off. Turning it on needs a valid App Store URL on the iOS app, otherwise the request returns 409 RECOVERY_PREREQUISITES_MISSING with details.missing set to app_store_url. A missing iOS build on SDK 1.4.0 or newer is only a warning in referral_readiness and never blocks the request. While it is on, clearing or invalidating ios_bundle_id or ios_app_store_url returns the same 409 (app_store_url). The SDK share never turns an enabled switch off.
referral_credit_window"24h" | "7d" | "30d"How long after the tap an install still credits the referrer. Applies to taps after the save. Any other value, including a longer window or null, returns 400 VALIDATION_ERROR with the message Use one of 24h, 7d, 30d.
count_existing_usersbooleanSet true to let a person who already has the app count as a referral.
link_handlestringThe subdomain label for this app: 3 to 30 characters, lowercase letters, numbers and hyphens, not starting or ending with a hyphen. Reserved names such as www, api, app, docs and test are refused. Uppercase letters are accepted and stored in lowercase. It needs an API key that has a creator, and expected_link_handle. Sending the current label confirms it. An unused subdomain (no link and no redirect uses it) changes on any plan at once, with no confirmation and no rename period, and the old name is held for 7 days: only this app can take it back before then. Once links or redirects use it, one more rename is allowed on every plan, needs confirm: true and keeps the old subdomain opening the app (rename_period_ends_at is not a deadline); if its links move to the new subdomain, their old URLs redirect. Rejected with 409 RENAME_PERIOD_OPEN while an earlier rename period is open. Checked for uniqueness against every app subdomain.
expected_link_handlestringThe link_handle the app has now, as you last read it. Required whenever link_handle is sent. A different current handle returns 409 APP_LINK_STATE_CHANGED and writes nothing.
confirmbooleanSet to true to rename while links still use the old host. Without it the request returns 409 CONFIRMATION_REQUIRED with details.links_on_old_host. Not needed for an unused subdomain.
tetherbooleanTurn Tether on or off for the app. Turning it on needs an iOS bundle ID, otherwise the request is refused with 422 TETHER_NOT_AVAILABLE. Turning it off stops Tether on every link of the app. Hosted page, design and allowed sites are set with `PUT /v1/apps/{id}/tether-page`.
tether_new_linksbooleanSet true to start every new link of the app with Tether on (off by default). It never changes a link that already exists. The same setting as `new_links` on `PUT /v1/apps/{id}/tether-page`.
tether_hosted_pagebooleanSet true to open the hosted Tether page from links that have Tether on (off by default). Needs an iOS bundle ID and an App Store URL, otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS. The same setting as `hosted_page` on `PUT /v1/apps/{id}/tether-page`.
referral_hosted_pagebooleanSet true to send iPhone referral invitations through the hosted page (off by default for a new app). Apps that already use the iOS referral handoff move to it automatically.

Responses

200Updated app
400Validation error. VALIDATION_ERROR with the message Use one of 24h, 7d, 30d. for a referral_credit_window outside those values.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. ATTRIBUTED_KEY_REQUIRED when the API key has no creator and link_handle is sent. FORBIDDEN when the key lacks apps:write, or its creator is no longer in the organization.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
409RECOVERY_PREREQUISITES_MISSING when ios_recovery_enabled would be on without an App Store URL; details.missing lists app_store_url. DUPLICATE_APP for a bundle ID or package name collision. APP_HANDLE_TAKEN when link_handle is already taken. APP_HANDLE_HELD when link_handle was just released and is held for 7 days (details.available_at). RENAME_PERIOD_OPEN while an earlier rename period is open (details.previous_link_handle and details.rename_period_ends_at). CONFIRMATION_REQUIRED when links use the old host and confirm is not true; details.links_on_old_host is the link count. APP_LINK_STATE_CHANGED when expected_link_handle is not the current handle, or when a link started to use the subdomain before an unused-subdomain change was written.
FieldTypeDescription
error*object
422TETHER_NOT_AVAILABLE: `tether` is true for an app with no iOS bundle ID.
FieldTypeDescription
error*object

Send at least one field to change. Omitted fields keep their stored values. Send null to clear a nullable platform field. At least one of ios_bundle_id or android_package_name must remain set.

This example adds Android to the existing iOS app. Use a key with apps:write and set WARPLINK_APP_ID to the app ID. Replace the sample package name with yours.

The 200 OK response returns the full app detail, with android_package_name set and updated_at updated. The referral_readiness.android field now reports {"ready":false,"missing":"sha256_fingerprint"} until you add the signing certificate’s SHA-256 value.

Common Errors

Status and codeWhat to check
400 INVALID_IDUse the app UUID from the list or create response.
400 VALIDATION_ERRORCheck the JSON body or list parameters. When present, error.details.fields gives the field names and validation messages.
400 IMMUTABLE_FIELDRemove org_id from the PATCH body.
401 UNAUTHORIZEDSupply a valid API key in the Authorization: Bearer header.
403 FORBIDDENCheck the key's scope and, for a key with a creator, that person's current role and membership.
403 APP_LIMIT_EXCEEDEDCheck the app limit for your plan before creating another app.
403 UNCLAIMED_LIMITIf no person has claimed the agent-created workspace, claim it before adding a second app.
403 ATTRIBUTED_KEY_REQUIREDUse a key with a creator to change the link handle.
404 NOT_FOUNDCheck that the app belongs to the organization and environment of the key.
409 DUPLICATE_APPLook up the existing app with the same iOS bundle ID or Android package name in the organization.
409 RECOVERY_PREREQUISITES_MISSINGSet a valid App Store URL before enabling the iOS referral handoff.
409 APP_HANDLE_TAKENChoose a handle that does not belong to another app.
409 APP_HANDLE_HELDChoose another handle or check error.details.available_at for when the hold ends.
409 APP_LINK_STATE_CHANGEDRead the app again before retrying a handle or default domain change.
409 RENAME_PERIOD_OPENCheck the open rename period before requesting another rename.
409 RENAME_PERIOD_NOT_OPENA rename extension requires an open period.
409 RENAME_EXTENSION_LIMITThe app has already used both extensions.
409 CONFIRMATION_REQUIREDReview the links on the old host before sending confirm: true.
409 IDEMPOTENCY_IN_PROGRESSWait for the first create request using this key to finish.
422 UNSAFE_DESTINATIONCheck the store URL rejected in the error details.
422 IDEMPOTENCY_KEY_REUSEDUse the original body to retry, or a new key for a different create request.
429 RATE_LIMIT_EXCEEDEDWait for the delay in Retry-After. See Rate Limiting.

See Errors for the error format and Link Subdomain for rename-specific errors.

Referral Settings

The app response includes the referral settings below. Change them with PATCH /v1/apps/{id}.

FieldTypeNotes
ios_recovery_enabledbooleanTurns on the iPhone referral handoff page. Android needs no switch. Defaults to false
referral_credit_window24h, 7d or 30dHow long after the tap an install still credits the referrer. Defaults to 7d
count_existing_usersbooleantrue lets a person who already has the app count as a referral. Defaults to false
referral_hosted_pagebooleanUses the hosted page for iPhone referral invitations. Defaults to false for a new app.

In the dashboard, ios_recovery_enabled is the switch Offer referral handoff on iOS, and the setup checks ios_recovery_store_url and ios_recovery_sdk report on it.

GET /v1/apps/{id} and the update response also return referral_readiness, so you can see what is in place before you turn the handoff on:

  • ios and android: each is null if that platform is absent. Otherwise, it contains ready and missing. A ready platform has missing: null. A platform that needs setup reports app_store_url for iOS or sha256_fingerprint for Android.
  • sdk: status (none, older, mixed or current), the required_version, capable_share (the percent of iOS SDK requests in the last 30 days from that version or later), and older_builds.
  • can_enable: true when both the iOS bundle ID and a valid App Store URL are set.
  • missing: what is absent, from app_store_url and sdk_version. Only app_store_url blocks the switch. sdk_version is a warning here, and the 409 RECOVERY_PREREQUISITES_MISSING response never lists it.
  • iphone_invitations_paused: true when the iOS handoff is on and Tether is off for the app. iPhone taps then go to the link's iPhone destination with no invitation page. Set tether to true to serve invitations again.

Setting ios_recovery_enabled to true without an App Store URL returns 409 RECOVERY_PREREQUISITES_MISSING, with details.missing set to ["app_store_url"]. A missing iOS build on SDK 1.4.0 or newer is a warning, never a refusal: the dashboard shows it, and new iPhone installs from referral links cannot read the invitation until such a build ships. While the handoff is already on, a save that changes ios_bundle_id or ios_app_store_url and leaves no valid App Store URL returns the same 409 with details.missing set to ["app_store_url"], so the handoff never runs without a store to send people to. An unknown referral_credit_window value returns 400 VALIDATION_ERROR. Through MCP, get_app and update_app carry the same fields. See Referrals for the full setup.

Referral Page

Each app has an invitation page that people see when they open a referral link without the app. Read it with GET /v1/apps/{id}/referral-page and save it with PUT /v1/apps/{id}/referral-page. A save needs the apps:write scope and is recorded in the audit log. The MCP tools get_referral_page and update_referral_page do the same.

GET/apps/{id}/referral-page

Get an app's referral page

Returns every field of the page a person sees before the store when they open a referral link without the app, with an is_default flag per field. Needs the apps:read scope.

Parameters

NameTypeInDescription
id*stringpath

Responses

200The referral page
FieldTypeDescription
app_idstring
logo_versionintegerChanges with every logo upload. 0 until the first one.
enabledbooleanFollows the app's iOS referral handoff switch. Read only: ignored on a save.
logostring`app-icon`, `none`, or a PNG, JPEG or WebP image of at most 1 MB as a `data:image/...;base64,` URL.
show_namebooleanShow the app name beside the logo.
accentstringSix-digit hex colour for the button, such as `#4cc9b0`.
backgroundstringSix-digit hex colour for the page background.
show_eyebrowbooleanShow the label above the headline.
eyebrowstringThe label above the headline, up to 40 characters. May be empty only while `show_eyebrow` is false.
headlinestringUp to 80 characters.
messagestringThe invitation text, up to 240 characters.
button_textstringThe button label, up to 40 characters.
skip_textstringThe skip action label, up to 40 characters.
notestringWhat the copy action does, up to 160 characters.
is_defaultobjectFor each page field, true while it still holds the default.
400Invalid app ID
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the apps:read scope. A key whose creator left the organization also gets 403 FORBIDDEN.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
PUT/apps/{id}/referral-page

Update an app's referral page

Changes the fields sent and leaves the others as saved. Each field is checked on its own. The read-only keys app_id, logo_version, is_default and enabled are ignored, so a read can be sent back as it is. Needs the apps:write scope and an API key that has a creator. The save is recorded in the audit log.

Parameters

NameTypeInDescription
id*stringpath

Request Body

FieldTypeDescription
logostring`app-icon`, `none`, or a PNG, JPEG or WebP image of at most 1 MB as a `data:image/...;base64,` URL.
show_namebooleanShow the app name beside the logo.
accentstringSix-digit hex colour for the button, such as `#4cc9b0`.
backgroundstringSix-digit hex colour for the page background.
show_eyebrowbooleanShow the label above the headline.
eyebrowstringThe label above the headline, up to 40 characters. May be empty only while `show_eyebrow` is false.
headlinestringUp to 80 characters.
messagestringThe invitation text, up to 240 characters.
button_textstringThe button label, up to 40 characters.
skip_textstringThe skip action label, up to 40 characters.
notestringWhat the copy action does, up to 160 characters.
app_idstringRead only: ignored on a save.
logo_versionintegerRead only: ignored on a save.
enabledbooleanRead only: ignored on a save.
is_defaultobjectRead only: ignored on a save.

Responses

200The saved referral page
FieldTypeDescription
app_idstring
logo_versionintegerChanges with every logo upload. 0 until the first one.
enabledbooleanFollows the app's iOS referral handoff switch. Read only: ignored on a save.
logostring`app-icon`, `none`, or a PNG, JPEG or WebP image of at most 1 MB as a `data:image/...;base64,` URL.
show_namebooleanShow the app name beside the logo.
accentstringSix-digit hex colour for the button, such as `#4cc9b0`.
backgroundstringSix-digit hex colour for the page background.
show_eyebrowbooleanShow the label above the headline.
eyebrowstringThe label above the headline, up to 40 characters. May be empty only while `show_eyebrow` is false.
headlinestringUp to 80 characters.
messagestringThe invitation text, up to 240 characters.
button_textstringThe button label, up to 40 characters.
skip_textstringThe skip action label, up to 40 characters.
notestringWhat the copy action does, up to 160 characters.
is_defaultobjectFor each page field, true while it still holds the default.
400INVALID_ID when the app ID is not a UUID, or VALIDATION_ERROR for an invalid body, with details.fields naming each field that failed.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the apps:write scope, or has no creator (ATTRIBUTED_KEY_REQUIRED). A key whose creator left the organization also gets 403 FORBIDDEN.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object

Tether

Tether carries a tapped link through an iPhone install. It needs SDK 1.4.0 or newer in the app. An app has the tether, tether_new_links and tether_hosted_page fields, and a link has a tether field. PATCH /v1/apps/{id} takes the long names tether_new_links and tether_hosted_page. PUT /v1/apps/{id}/tether-page takes the same two settings as new_links and hosted_page. Each pair is one setting, so either call changes it. The direct_rule field of tether-page and the tether_direct_rule field of a link choose what the app opens for a visitor who came to your page with no link tap: open_link (the default) or tap_only. A link value of null follows the app. Under open_link, direct codes are limited to 1,000 an hour for each app, and a request over the limit returns 429 TETHER_RATE_LIMITED. Setting tether to true for a link with no app, an app with no iOS bundle ID, or an app with Tether turned off returns 422 TETHER_NOT_AVAILABLE. Read and save the hosted page and the allowed sites with the tether-page endpoints, list the sites the script saw with tether-sites, and read the funnel with tether-results. The MCP tools get_tether_page, update_tether_page, list_tether_sites, dismiss_tether_site and get_tether_results do the same. See Tether for the full setup.

GET/apps/{id}/tether-page

Get an app's Tether settings

Returns the Tether settings of an app: whether links open the hosted page, whether new links start with Tether on, the hosted page design with an is_default flag per field, and the allowed sites for your own page. Needs the apps:read scope.

Parameters

NameTypeInDescription
id*stringpath

Responses

200The Tether settings
FieldTypeDescription
app_idstring
hosted_pagebooleanOpen the hosted Tether page from links that have Tether on. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
new_linksbooleanStart new links of this app with Tether on.
direct_rule"open_link" | "tap_only"What the app opens for a direct visitor: a person who opened your own page with no link tap (search, bookmark, typed address). `open_link` (the default) opens the link named on the page button. `tap_only` opens it only when WarpLink saw a tap of that link earlier on the same phone. Under `open_link` a code request for a direct visitor counts toward an hourly cap per app, and over it the request returns `429 TETHER_RATE_LIMITED`.
pageobjectThe hosted page design, every field resolved.
is_defaultobjectFor each page field, true while it still holds the default.
allowed_sitesstring[]The sites where your own page may ask for a code, as HTTPS origins such as `https://example.com`, up to 50.
400Invalid app ID
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the apps:read scope. A key whose creator left the organization also gets 403 FORBIDDEN.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
PUT/apps/{id}/tether-page

Update an app's Tether settings

Changes the settings sent and leaves the others as saved. A page field set to null returns to its default. The read-only keys app_id and is_default are ignored, so a read can be sent back as it is. An unknown key is a 400 VALIDATION_ERROR. Needs the apps:write scope and an API key that has a creator. The save is recorded in the audit log.

Parameters

NameTypeInDescription
id*stringpath

Request Body

FieldTypeDescription
hosted_pagebooleanOpen the hosted Tether page from links that have Tether on. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
new_linksbooleanStart new links of this app with Tether on.
direct_rule"open_link" | "tap_only"What the app opens for a direct visitor: a person who opened your own page with no link tap (search, bookmark, typed address). `open_link` (the default) opens the link named on the page button. `tap_only` opens it only when WarpLink saw a tap of that link earlier on the same phone. Under `open_link` a code request for a direct visitor counts toward an hourly cap per app, and over it the request returns `429 TETHER_RATE_LIMITED`.
pageobjectChanges to the hosted page design. A field left out stays as it is, null resets it.
allowed_sitesstring[]The sites where your own page may ask for a code, as HTTPS origins such as `https://example.com`, up to 50. Replaces the saved list.
app_idstringRead only: ignored on a save.
is_defaultobjectRead only: ignored on a save.

Responses

200The saved Tether settings
FieldTypeDescription
app_idstring
hosted_pagebooleanOpen the hosted Tether page from links that have Tether on. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
new_linksbooleanStart new links of this app with Tether on.
direct_rule"open_link" | "tap_only"What the app opens for a direct visitor: a person who opened your own page with no link tap (search, bookmark, typed address). `open_link` (the default) opens the link named on the page button. `tap_only` opens it only when WarpLink saw a tap of that link earlier on the same phone. Under `open_link` a code request for a direct visitor counts toward an hourly cap per app, and over it the request returns `429 TETHER_RATE_LIMITED`.
pageobjectThe hosted page design, every field resolved.
is_defaultobjectFor each page field, true while it still holds the default.
allowed_sitesstring[]The sites where your own page may ask for a code, as HTTPS origins such as `https://example.com`, up to 50.
400INVALID_ID when the app ID is not a UUID, or VALIDATION_ERROR for an invalid body, with details.fields naming each field that failed.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the apps:write scope, or has no creator (ATTRIBUTED_KEY_REQUIRED). A key whose creator left the organization also gets 403 FORBIDDEN.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
GET/apps/{id}/tether-sites

List an app's Tether sites

Returns the allowed sites of an app and the sites where the Tether script was seen. A seen site that is not allowed shows how often a page there asked for a code without being allowed. Needs the apps:read scope.

Parameters

NameTypeInDescription
id*stringpath

Responses

200The allowed and observed sites
FieldTypeDescription
app_idstring
allowed_sitesstring[]HTTPS origins where your own page may ask for a code.
observedobject[]
400Invalid app ID
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the apps:read scope.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
DELETE/apps/{id}/tether-sites/observations

Dismiss a seen Tether site

Hides a seen site from the observed list. It does not add the site to the allowed sites. Needs the apps:write scope and an API key that has a creator.

Parameters

NameTypeInDescription
id*stringpath
origin*stringqueryThe HTTPS origin to hide, such as `https://example.com`.
page_pathstringqueryHide one page only. It starts with `/` and has no query string. Leave it out to hide the whole origin.

Responses

200The observation was dismissed
FieldTypeDescription
app_idstring
originstring
dismissedintegerHow many seen entries were hidden.
400INVALID_ID when the app ID is not a UUID, or VALIDATION_ERROR for an invalid origin or path, with details.fields naming each field that failed.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the apps:write scope, or has no creator (ATTRIBUTED_KEY_REQUIRED).
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
GET/apps/{id}/tether-results

Get an app's Tether results

Returns how the Tether handoff did in a window: the funnel from page view to opened app for each source (hosted page, own page from a link, own page opened directly), how installs were matched, the reasons a tap found no code, and the setup state (links using Tether, the last read mode and the SDK versions seen). The window defaults to the last 30 days. Needs the analytics:read and apps:read scopes. A member limited to their own links gets 403 FORBIDDEN. A window that lies wholly before the plan's retention answers 200 with an unavailable object.

Parameters

NameTypeInDescription
id*stringpath
fromstringqueryStart of the window as an ISO instant. Send it with `to`, or send neither.
tostringqueryEnd of the window as an ISO instant. Send it with `from`, or send neither.
timezonestringqueryIANA time zone for the buckets. Defaults to the organization's reporting zone.

Responses

200The Tether results
FieldTypeDescription
receiptobjectThe query receipt: the window, the scope and the data that was read.
app_idstring
windowobject | nullThe window that was read, as ISO instants. Null when `unavailable` is set.
pausedobject | nullSet when a Free organization reached its click limit: the figures stop at that moment.
funnelsobjectOne funnel per source: hosted, own_page_link and own_page_direct.
methodsobjectHow installs were matched.
miss_reasonsobject[]Why a tap found no code. The order is fixed, and every reason appears with a count of 0 when none happened.
setupobject
unavailableobjectPresent instead of the figures when the whole window is older than the plan keeps.
400INVALID_ID when the app ID is not a UUID, or VALIDATION_ERROR for an invalid window.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. The API key is missing the analytics:read or apps:read scope, or its creator is a member limited to their own links (FORBIDDEN).
FieldTypeDescription
error*object
404The app does not exist in this organization
FieldTypeDescription
error*object

Delete an App

DELETE/apps/{id}

Delete an app

Parameters

NameTypeInDescription
id*stringpath

Responses

200Deleted app
FieldTypeDescription
idstring
org_idstring
namestring
ios_bundle_idstring | null
ios_team_idstring | null
ios_app_store_idstring | null
ios_app_store_urlstring | null
ios_universal_link_pathsarray | null
android_package_namestring | null
android_sha256_fingerprintsarray | null
android_play_store_urlstring | null
android_app_links_pathsarray | null
icon_urlstring | null
icon_source"auto" | "manual"
probabilistic_matchingbooleanFalse means routing-only mode: the server no longer matches installs by probabilistic match or raw device signals for this app. Deep links keep working, and deferred links and attribution use only deterministic signals (the Android Play Install Referrer click id, and a device that already has an install). Defaults to true.
skip_raw_for_organic_play_installsbooleanTrue means an Android install that Google Play reports as organic (found on its own) is not matched by IP address, language and timezone. Google Play also reports some installs that started from a link as organic. Those installs then match only through a link ID, a referral token or a Tether code. Has no effect while probabilistic_matching is false. Defaults to false.
ios_recovery_enabledbooleanTrue when the iOS referral handoff page is on for this app. Android apps need no switch. Defaults to false.
referral_credit_window"24h" | "7d" | "30d"How long after the tap an install still credits the referrer. Defaults to 7d.
count_existing_usersbooleanTrue lets a person who already has the app count as a referral. Defaults to false.
link_handlestringThe lowercase subdomain label for this app's links, for example acme in acme.aplnk.to. Every app has one.
link_domainstringThe full host derived from link_handle, for example acme.aplnk.to.
legacy_apex_enabledbooleanTrue for an app that existed when app subdomains launched. Its links on aplnk.to keep working and aplnk.to keeps listing the app for good.
default_link_domainstringThe domain a new link gets when a create request names none: the saved default, or link_domain when none is saved. Change it with PUT /v1/apps/{id}/link-domain. It never changes a link that already exists.
default_link_domain_availablebooleanFalse when the saved default is a custom domain that is no longer live. A link created with no domain then gets 409 DEFAULT_DOMAIN_UNAVAILABLE until you choose a domain or a new default.
allowed_link_domainsstring[]The hostnames a new link for this app may use: the default first when it is available, then aplnk.to (legacy apps only), link_domain and the org's live custom domains.
previous_link_handlestring | nullThe app's old subdomain label while a rename period is open. null otherwise.
previous_link_domainstring | nullThe full old host while a rename period is open, for example oldname.aplnk.to. It keeps opening the app.
rename_period_ends_atstring | nullThe date shown for the open rename period. It is not a deadline and not a promise to move links that day. If links on the old subdomain later move to the new one, their old URLs redirect. null when no period is open.
rename_period_extensionsintegerHow many times the open rename period was extended by 1 month. At most 2.
tetherbooleanWhether links of this app can use Tether. On for every app on every plan until you turn it off.
tether_new_linksbooleanWhether new links of this app start with Tether on.
tether_hosted_pagebooleanWhether links with Tether on open the hosted Tether page. When false, your own page copies the code. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
referral_hosted_pagebooleanWhether iPhone referral invitations use the hosted page.
created_atstring
updated_atstring
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. FORBIDDEN when the key lacks apps:write, or its creator is a member or no longer in the organization. Deleting an app needs an owner or admin creator.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object

Deletion is permanent. Check which links use the app before deleting it. Production links keep their click history and become web-only. SDK keys tied to the app are deleted, so create a new key for a replacement app. A Test app takes its Test links with it.

Use a key authorized to delete apps and set WARPLINK_APP_ID to the app to delete.

The 200 OK response contains the deleted app with the same fields as the create response.

Every app has its own link subdomain, {link_handle}.aplnk.to, on every plan. An app that existed before subdomains keeps aplnk.to for good: links already on it keep working and keep opening your app, and aplnk.to stays one of the app's allowed link domains. Nothing moves on a date, and no link changes address unless you change it. An app created after the change uses its own subdomain (or a custom domain) for new links. Web-only links (links with no app, whether existing or created later in an org that has an app) default to the shared aplnk.to domain (a custom domain is also allowed). Registering an app does not add deep linking to them.

An app response carries these fields:

FieldTypeNotes
link_handlestringThe subdomain label. Writable on create, and on update as a rename
link_domainstringThe full host, read only
legacy_apex_enabledbooleanTrue for an app that existed before subdomains. It never changes. Read only
default_link_domainstringThe hostname a new link gets when the request names no domain. Change it with the link domain endpoint below
default_link_domain_availablebooleanFalse when the saved default is a custom domain that is no longer live. Read only
allowed_link_domainsstring[]The hostnames a new link may use, the default first when it is available. Read only
previous_link_handlestring or nullThe old subdomain label while a rename period is open. Read only
previous_link_domainstring or nullThe full old host while a rename period is open. Read only
rename_period_ends_atdate-time or nullThe date shown for the rename period. The old host keeps working. Read only
rename_period_extensionsinteger, 0 to 2How many times the rename period was extended. Read only

On create, leave link_handle out and we derive it from the app name, with the bundle ID or package name as the fallback. The handle is checked against every other app's subdomain.

Changing link_handle on update follows these rules:

  • Send expected_link_handle with every link_handle: the handle you last read. If the app's handle is another, the request gets 409 APP_LINK_STATE_CHANGED and nothing is written. Sending the current handle changes nothing except confirming the name once.
  • An app whose subdomain no link and no redirect uses changes it in a plain edit on every plan, as often as you like. There is no confirm and no rename period. The old name is held for 7 days: only your app can take it back before then. If a link starts using the subdomain first, the request gets 409 APP_LINK_STATE_CHANGED.
  • Once a link or redirect uses the subdomain, a rename is still allowed, one at a time. It needs confirm: true and works on every plan, Free included. Links you already made stay on the old subdomain.
  • Through an API key, the key needs a creator. A key with no creator gets 403 ATTRIBUTED_KEY_REQUIRED. A key whose creator has left the organization gets 403 FORBIDDEN.
  • A rename that starts a period is refused with 409 RENAME_PERIOD_OPEN while an earlier rename period is open, including a rename back to the old name. details carries previous_link_handle and rename_period_ends_at.
  • When links use the old host, send confirm: true. Without it the request gets 409 CONFIRMATION_REQUIRED with links_on_old_host in details. After such a rename the old host keeps opening the app. If its links move to the new host, they keep their slug and their old URLs redirect.
  • The slug test is reserved on app subdomains: https://{link_domain}/test is the setup test page, so no link can use it there.
  • link_handle: null is a 400 VALIDATION_ERROR. Every app keeps a subdomain.

Through MCP, the update_app tool takes the same link_handle, expected_link_handle and confirm fields and follows the same rules. A call that needs the confirmation returns the link count and asks you to retry with confirm: true. Call it once without confirm. Tell the user that the old subdomain keeps opening the app, that if its links move to the new subdomain their old URLs redirect, and that app builds need the new subdomain. Set confirm only after they agree. The extend_subdomain_rename tool extends a rename period. The list_link_moves tool lists the links that still use the previous subdomain and set_link_move_choice sets the choice for one of them, like the endpoints below.

A link that names no domain gets the app's default_link_domain. An app that existed before subdomains starts with the domain of its most recent link, or aplnk.to when that domain cannot serve new links, and any member of the organization can change it to aplnk.to (legacy apps only), the app's own link_domain, or a live custom domain, and change it back at any time. Existing links keep their addresses and no redirect is created. Send the link_handle and default_link_domain you last read, and confirm: true. A change made meanwhile returns 409 APP_LINK_STATE_CHANGED. The app's allowed_link_domains lists the valid choices.

When the default is a custom domain that is no longer live, default_link_domain_available is false and POST /v1/links with no domain returns 409 DEFAULT_DOMAIN_UNAVAILABLE with details.allowed_link_domains. Name an allowed domain, or choose a new default. An explicit domain is never replaced.

Through MCP, the set_app_link_domain tool does the same and needs the apps:write scope.

PUT/apps/{id}/link-domain

Set an app's default link domain

Chooses the default domain for the app's new links: aplnk.to (legacy apps only), the app's own subdomain, or a live custom domain. Reversible. Existing links keep their addresses, and no redirect is created. Needs an API key that has a creator. Send the link_handle and default_link_domain you last read, so a change made meanwhile is never overwritten. A request already at the requested default returns the current app without a change.

Parameters

NameTypeInDescription
id*stringpath

Request Body

FieldTypeDescription
domain*stringThe hostname new links use by default. One of allowed_link_domains on the app.
expected_link_handle*stringThe app's link_handle as you last read it.
expected_default_link_domain*stringThe app's default_link_domain as you last read it.
confirmbooleanMust be true for a change. Without it a change is refused with 400 VALIDATION_ERROR.

Responses

200The app with its new default
FieldTypeDescription
idstring
org_idstring
namestring
ios_bundle_idstring | null
ios_team_idstring | null
ios_app_store_idstring | null
ios_app_store_urlstring | null
ios_universal_link_pathsarray | null
android_package_namestring | null
android_sha256_fingerprintsarray | null
android_play_store_urlstring | null
android_app_links_pathsarray | null
icon_urlstring | null
icon_source"auto" | "manual"
probabilistic_matchingbooleanFalse means routing-only mode: the server no longer matches installs by probabilistic match or raw device signals for this app. Deep links keep working, and deferred links and attribution use only deterministic signals (the Android Play Install Referrer click id, and a device that already has an install). Defaults to true.
skip_raw_for_organic_play_installsbooleanTrue means an Android install that Google Play reports as organic (found on its own) is not matched by IP address, language and timezone. Google Play also reports some installs that started from a link as organic. Those installs then match only through a link ID, a referral token or a Tether code. Has no effect while probabilistic_matching is false. Defaults to false.
ios_recovery_enabledbooleanTrue when the iOS referral handoff page is on for this app. Android apps need no switch. Defaults to false.
referral_credit_window"24h" | "7d" | "30d"How long after the tap an install still credits the referrer. Defaults to 7d.
count_existing_usersbooleanTrue lets a person who already has the app count as a referral. Defaults to false.
link_handlestringThe lowercase subdomain label for this app's links, for example acme in acme.aplnk.to. Every app has one.
link_domainstringThe full host derived from link_handle, for example acme.aplnk.to.
legacy_apex_enabledbooleanTrue for an app that existed when app subdomains launched. Its links on aplnk.to keep working and aplnk.to keeps listing the app for good.
default_link_domainstringThe domain a new link gets when a create request names none: the saved default, or link_domain when none is saved. Change it with PUT /v1/apps/{id}/link-domain. It never changes a link that already exists.
default_link_domain_availablebooleanFalse when the saved default is a custom domain that is no longer live. A link created with no domain then gets 409 DEFAULT_DOMAIN_UNAVAILABLE until you choose a domain or a new default.
allowed_link_domainsstring[]The hostnames a new link for this app may use: the default first when it is available, then aplnk.to (legacy apps only), link_domain and the org's live custom domains.
previous_link_handlestring | nullThe app's old subdomain label while a rename period is open. null otherwise.
previous_link_domainstring | nullThe full old host while a rename period is open, for example oldname.aplnk.to. It keeps opening the app.
rename_period_ends_atstring | nullThe date shown for the open rename period. It is not a deadline and not a promise to move links that day. If links on the old subdomain later move to the new one, their old URLs redirect. null when no period is open.
rename_period_extensionsintegerHow many times the open rename period was extended by 1 month. At most 2.
tetherbooleanWhether links of this app can use Tether. On for every app on every plan until you turn it off.
tether_new_linksbooleanWhether new links of this app start with Tether on.
tether_hosted_pagebooleanWhether links with Tether on open the hosted Tether page. When false, your own page copies the code. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
referral_hosted_pagebooleanWhether iPhone referral invitations use the hosted page.
created_atstring
updated_atstring
400INVALID_ID when the app ID is not a UUID, or VALIDATION_ERROR for an invalid body, a domain the app cannot use (fields.domain), or a change without confirm (fields.confirm).
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden. ATTRIBUTED_KEY_REQUIRED for a key with no creator.
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
409APP_LINK_STATE_CHANGED when the link_handle or default_link_domain you sent is no longer current. Read the app and review the settings before you retry.
FieldTypeDescription
error*object

Extend a Rename

After a rename the old subdomain keeps working. The rename period has an end date. Each call adds 1 month to it, up to 2 times, and only while the period is open.

POST/apps/{id}/extend-subdomain-rename

Extend an app's rename period

Adds 1 month to the rename period's end date. The previous subdomain keeps working. Up to 2 times, and only before the period ends. Takes no body.

Parameters

NameTypeInDescription
id*stringpath

Responses

200The app with its new rename period end
FieldTypeDescription
idstring
org_idstring
namestring
ios_bundle_idstring | null
ios_team_idstring | null
ios_app_store_idstring | null
ios_app_store_urlstring | null
ios_universal_link_pathsarray | null
android_package_namestring | null
android_sha256_fingerprintsarray | null
android_play_store_urlstring | null
android_app_links_pathsarray | null
icon_urlstring | null
icon_source"auto" | "manual"
probabilistic_matchingbooleanFalse means routing-only mode: the server no longer matches installs by probabilistic match or raw device signals for this app. Deep links keep working, and deferred links and attribution use only deterministic signals (the Android Play Install Referrer click id, and a device that already has an install). Defaults to true.
skip_raw_for_organic_play_installsbooleanTrue means an Android install that Google Play reports as organic (found on its own) is not matched by IP address, language and timezone. Google Play also reports some installs that started from a link as organic. Those installs then match only through a link ID, a referral token or a Tether code. Has no effect while probabilistic_matching is false. Defaults to false.
ios_recovery_enabledbooleanTrue when the iOS referral handoff page is on for this app. Android apps need no switch. Defaults to false.
referral_credit_window"24h" | "7d" | "30d"How long after the tap an install still credits the referrer. Defaults to 7d.
count_existing_usersbooleanTrue lets a person who already has the app count as a referral. Defaults to false.
link_handlestringThe lowercase subdomain label for this app's links, for example acme in acme.aplnk.to. Every app has one.
link_domainstringThe full host derived from link_handle, for example acme.aplnk.to.
legacy_apex_enabledbooleanTrue for an app that existed when app subdomains launched. Its links on aplnk.to keep working and aplnk.to keeps listing the app for good.
default_link_domainstringThe domain a new link gets when a create request names none: the saved default, or link_domain when none is saved. Change it with PUT /v1/apps/{id}/link-domain. It never changes a link that already exists.
default_link_domain_availablebooleanFalse when the saved default is a custom domain that is no longer live. A link created with no domain then gets 409 DEFAULT_DOMAIN_UNAVAILABLE until you choose a domain or a new default.
allowed_link_domainsstring[]The hostnames a new link for this app may use: the default first when it is available, then aplnk.to (legacy apps only), link_domain and the org's live custom domains.
previous_link_handlestring | nullThe app's old subdomain label while a rename period is open. null otherwise.
previous_link_domainstring | nullThe full old host while a rename period is open, for example oldname.aplnk.to. It keeps opening the app.
rename_period_ends_atstring | nullThe date shown for the open rename period. It is not a deadline and not a promise to move links that day. If links on the old subdomain later move to the new one, their old URLs redirect. null when no period is open.
rename_period_extensionsintegerHow many times the open rename period was extended by 1 month. At most 2.
tetherbooleanWhether links of this app can use Tether. On for every app on every plan until you turn it off.
tether_new_linksbooleanWhether new links of this app start with Tether on.
tether_hosted_pagebooleanWhether links with Tether on open the hosted Tether page. When false, your own page copies the code. Send true only when the app has an iOS Bundle ID and an App Store URL. Otherwise the call fails with TETHER_HOSTED_PAGE_NEEDS_IOS.
referral_hosted_pagebooleanWhether iPhone referral invitations use the hosted page.
created_atstring
updated_atstring
400Invalid app ID
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object
409RENAME_PERIOD_NOT_OPEN when the app has no open rename period, or it already ended. RENAME_EXTENSION_LIMIT when both extensions were used (details.limit is 2).
FieldTypeDescription
error*object

After a rename, the links still on the old subdomain can move to the new one, and each old URL then redirects with a permanent 301. The old address keeps working, and rename_period_ends_at is the date shown for the rename period. Links on aplnk.to never move.

During a rename period, a new link on the app's subdomain cannot take a slug that one of the app's old-host links still has. POST /v1/links returns 409 SLUG_TAKEN with the message "You already have yourapp.aplnk.to/abc, so this address is held for it. Pick another slug." and details.held_by with the old domain and slug. The dashboard and the MCP create_link tool refuse the same slug. A link whose slug was already taken on the target is a conflict. It stays where it is unless you choose a new slug for it, and you can also mark it to keep. Set the choice with PUT /v1/links/{id}/move-choice (see Links).

GET/apps/{id}/link-moves

List an app's link moves

Shows the links that still use an app's previous subdomain, and which cannot keep their slug on the app's current subdomain because it is taken there. Conflicts come first. If a link later moves, its old URL answers a permanent redirect. An app with no previous subdomain in use returns an empty moves list. Needs the links:read scope.

Parameters

NameTypeInDescription
id*stringpath
limitintegerqueryLinks per move.
offsetintegerqueryLinks to skip in each move.

Responses

200The app's pending moves
FieldTypeDescription
movesobject[]
400Invalid app ID or page
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden
FieldTypeDescription
error*object
404Not found
FieldTypeDescription
error*object

status is scheduled (a move is planned, with moves_at set when we have a date) or moving (the move is running).

SDK Setup Steps

GET/apps/{id}/sdk-setup

Get the SDK setup steps for an app

The install step with the current SDK version, the configure snippet, the link hosts, the iOS Associated Domains lines or the Android intent filter, and the app's test address, for one platform of one app. The SDK key is a placeholder: the response never holds a key. Requires an API key with the `apps:read` scope. The MCP tool `get_sdk_setup` returns the same data.

Parameters

NameTypeInDescription
id*stringpath
platform*"ios" | "android" | "react-native" | "flutter"queryThe platform to build the steps for.

Responses

200The setup steps
FieldTypeDescription
app_idstring
app_namestring
platform"ios" | "android" | "react-native" | "flutter"
sdk_versionstringThe current SDK release for the platform.
installobject
configureobject
sdk_keyobjectWhere the SDK key goes. The response never holds a key.
sdk_version_notestring | nullSet only when `tether` is present. Reads: Tether needs SDK 1.4.0 or newer. Install 1.4.0 or a later release.
tetherobject | nullThe Tether setup for the app. Null for an Android app, which reads the install referrer and needs no code.
link_domainsobject
iosobject | nullPresent for `ios`, `react-native` and `flutter`. Null for `android`.
androidobject | nullPresent for `android`, `react-native` and `flutter`. Null for `ios`.
test_addressstringe.g. https://yourapp.aplnk.to/test
next_stepstring
missingobject[]App fields this platform needs and the app does not have, each with its fix. Empty when the app is complete.
agent_kitobjectThe Claude Code agent kit, which adds a setup skill. Other agents can use the AGENTS.md block at `docs_url`.
400Validation error: a missing or unknown `platform`, or an `id` that is not a UUID.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden
FieldTypeDescription
error*object
404The app does not exist in this organization
FieldTypeDescription
error*object

platform is required: ios, android, react-native, or flutter. The response is what a person or an AI agent needs to wire the SDK into the project:

  • install and configure: the install step with the current SDK version, and the configure snippet.
  • sdk_key: where the key goes. placeholder is YOUR_SDK_KEY, and how_to_get names the create_key call that makes one tied to this app. The response never holds a key.
  • link_domains: the host to pass to the SDK, every host the build lists, the domains allowed for new links, and the default.
  • ios: the bundle ID, team ID, and one applinks:<host> line per host for Associated Domains. Exact hosts, never a wildcard.
  • android: the package name, the SHA256 fingerprints, and an intent filter with autoVerify for the same hosts.
  • test_address: https://<your app host>/test, the page that confirms the host serves your app's link files.
  • next_step: the one thing to do next.
  • tether: the Tether setup for iOS, React Native and Flutter. It is null for Android.
  • missing: the app fields this platform needs that the app does not have yet, each with a fix. It is empty when the app is complete.

The MCP tool get_sdk_setup returns the same data. It needs the apps:read scope.

Setup Check

GET/apps/{id}/setup-check

Check an app's setup

Runs every setup check for one app: its fields, the link files it serves, its custom domains, its SDK key, the first SDK connection, the SDK version, a test link, and the first click. Each check has a status of `pass`, `fail`, `warn`, `needs_human` or `skipped`, and a `fix` when it did not pass. Read only: it writes nothing. Requires an API key with the `apps:read` scope. The MCP tool `verify_setup` returns the same data.

Parameters

NameTypeInDescription
id*stringpath
platform"ios" | "android" | "react-native" | "flutter"queryLimits the checks to one platform. Omit it to check every platform the app is set up for.
tether_test_receiptstringqueryThe receipt a test build returns after a Tether paste read with a `wl1t_` test code. When it is valid for this app, the `tether_paste` check passes. A test code creates no link, click or install.

Responses

200The setup checks. A `tether_test_receipt` that is malformed, expired or made for another app is not an error: the `tether_paste` check comes back as `fail` with the reason.
FieldTypeDescription
app_idstring
readybooleanTrue when no check failed. A `warn`, `needs_human` or `skipped` check does not block it.
checksobject[]
needs_humanobject[]The checks with status `needs_human`, so a caller that has fixed every failure knows what is left for a person.
400Validation error: an unknown `platform`, or an `id` that is not a UUID.
FieldTypeDescription
error*object
401Unauthorized
FieldTypeDescription
error*object
403Forbidden
FieldTypeDescription
error*object
404The app does not exist in this organization
FieldTypeDescription
error*object

The call is read only: it writes nothing and records no audit entry. It runs these checks:

idWhat it checks
app_configThe app has the fields the platform needs
well_known_filesEach host serves the app's apple-app-site-association and assetlinks.json content
custom_domain_servingEach custom domain is active and answers for the link files
sdk_keyAn SDK key exists that this app can use
sdk_connectedAn SDK has reached WarpLink as this app
sdk_versionThe SDK in use is the current release
test_linkThe app has an active link
first_clickA click on one of the app's links is recorded
ios_entitlementThe Associated Domains lines are in the Xcode project
android_manifestThe intent filter is in AndroidManifest.xml
ios_recovery_store_urlThe iOS app has a valid App Store URL, which the iPhone referral handoff needs. Skipped while the handoff is off and the URL is missing
ios_recovery_sdkAn iOS build on SDK 1.4.0 or newer reached WarpLink in the last 30 days, with the share of iOS requests on that version. Skipped while the handoff is off and no such build was seen
ios_recovery_tetherListed only while it holds: the iPhone referral handoff is on and Tether is off for the app. Status warn
android_recovery_fingerprintThe Android app has a signing certificate SHA256 fingerprint. Android referral handoff is automatic and needs nothing else

Each check has a status:

StatusMeaning
passThe check is met
failSomething is wrong. fix names the call or setting that clears it
warnLikely fine, worth a look. fix says what to do
needs_humanOnly a person can finish it: a tap on a phone, a look at the project, or claiming the workspace (taking it over from the claim link emailed to a person). fix says exactly what to do
skippedThere was nothing to check yet

For an app with an iOS side, the response also lists checks whose id starts with tether_. They report on Tether for the app and its links. See Tether.

ready is true when no check failed. A warn, needs_human, or skipped check does not block it. needs_human repeats the checks that wait for a person, so a caller that has fixed every fail can report what is left. The MCP tool verify_setup returns the same data. Add ?platform= to limit the checks to one platform.

FAQ

Can an app support both iOS and Android? Yes, and it's the common case. Set ios_bundle_id and/or android_package_name on the same app row; a React Native or Flutter app typically registers both.

What happens to links when their app is deleted? They aren't deleted. Their app_id clears to null, and the link keeps working as a web-only link, with its click history intact. It just loses deep linking until it's pointed at a different app.

Do I need to publish apple-app-site-association or assetlinks.json myself? No. Both files regenerate automatically whenever an app's identifiers, fingerprints, or link paths change, and they're served from your domain without a separate deploy step.

Why is icon_url still null right after creating an app? WarpLink looks up the icon in the background. Use GET /v1/apps/{id} later to check whether icon_url is set.

How do I turn off probabilistic matching for an app? Send PATCH /v1/apps/{id} with { "probabilistic_matching": false }, or use the Install matching switch in the app's settings. Links keep redirecting and opening your app. Installs are then matched only by deterministic signals. See Routing-only mode.

Can a member role update app configuration? Yes. Every role can read, create, and update apps, including the link address and the default link domain. Deleting an app requires the apps:delete permission, which only owner and admin roles hold.