Get store links and installs per account
get_store_linksEach connected account's own App Store and Google Play link for one app, with a campaign token per account (campaign_token, like sh-tiktok-dailybrew), to put in that account's bio. When the workspace owner connected App Store Connect, it also has Apple's numbers for each link over 7, 30 or 90 days: store visits (page_views: App Store product page views), installs (first_downloads) and redownloads, by_day with the account's post_views next to them, totals for the last 7, 30 and 90 days, and overall for all of the app's accounts. Counted by Apple, per account, not per post: a bio link can't tell which post someone saw. Apple's reports run about 2 days behind, leave out counts from fewer than 5 people and add a little noise. app_store_connect.status is not_connected, waiting (Apple's first report comes 1 to 2 days after connecting), ready or error. app_store_link is null until the owner adds the App Store provider token. Android numbers are not imported: Play Console shows store visits and installs by UTM campaign. Use it to see which accounts send installs, and suggest posting more like those accounts' best posts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_store_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | The app ("main", or an app id or name from list_apps). Default: the main app. | |
| days | No | Days of by_day numbers, ending today. Default 30. |