Set the App Store provider token
set_store_provider_tokenSave the App Store provider token an app's store links need (workspace owners only). The token belongs to the user's Apple developer account: ask the user for any campaign link they made in App Store Connect (Apps > Analytics > Campaign Generator) and pass it as campaign_link, or pass the number after pt= as provider_token. Returns the same as get_store_links, with each account's App Store link. The App Store Connect API key itself is connected in Sendhour's Analytics page or with the REST API, never through chat.
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": "set_store_provider_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | The app ("main", or an app id or name from list_apps). Default: the main app. | |
| campaign_link | No | A campaign link from App Store Connect, like https://apps.apple.com/app/apple-store/id123?pt=123456789&ct=x&mt=8 | |
| provider_token | No | Or just the provider token, the number after pt= |