Add App
add_appAdd an app to the account as one of the user's own. Takes an Apptail app_id, an App Store URL, or a name — resolved and imported the way search_apps does. Tracking starts immediately (rankings, reviews, competitors); measured downloads and proceeds still require connecting App Store Connect in the console, which cannot be done from here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | The app to claim: an Apptail app_id, a full App Store URL, or the app's name. A URL is the reliable form — a name resolves against the whole store, and two apps can share one. | |
| country | No | Primary storefront for this app, ISO 3166-1 alpha-2 (e.g. US, DE). Defaults to US. This is the storefront its keywords and rankings are tracked in first; more can be added in the console. | |
| dry_run | No | Resolve the app and report what would happen without claiming it. Worth doing when the user gave a name rather than a URL, so they can confirm it is the right app before it counts against their plan. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | The app as it now appears in the account. Null under dry_run only if nothing resolved. | |
| note | No | What happens next, when there is something the user should know. | |
| status | Yes | `added` when it is now in the account, `already` when it was there before this call, `would_add` under dry_run. | |
| country | Yes | The storefront it was added for. | |
| apps_used | Yes | Own apps in the account after this call. | |
| connected | Yes | Whether App Store Connect reports for this app. False for almost every freshly added app — say so, because get_performance will return nothing for it until it is connected in the console. | |
| apps_limit | Yes | How many the plan allows. -1 means unlimited. | |
| console_url | No | Where to open this app in the AppTail console. |