Skip to main content
Follow the REST app guide. Pass providerEndpoint("branch.app.installs.days", "https://api2.branch.io", "/v1/query/analytics", auth, data) as receivers.provider from @bijectionhq/app-rest. Use separate multiSecret bindings of kind jsonBody at ["branch_key"] and ["branch_secret"]. Seal the key and secret for the same Branch app. The receiver inserts both on dispatch. Pass the same label to the receiver binder and as the app’s data.
Use an app with UTC reporting and a reviewed window of up to seven dates. Set the limit to at least twice the number of dates. Each poll reads one daily aggregate of install events grouped by attribution status. Keys are day and attribution flag within the bound app. The complete result must fit 14 rows and 36 KiB. A partial response is refused and missing groups remain published. Branch Query API