Branch

Send verified subscription events from SubHero to Branch, with your own credentials, revenue mode and sandbox forwarding settings.

Open your project’s Webhooks & integrations page as an owner/admin. Configure credentials, revenue mode and sandbox forwarding, then enable the destination. Members can read status and delivery history.

Copy the Branch application key. Use a test key for a Branch test app, then a live key for production. The mapper sends the project subscriber user ID as user_data.developer_identity; your mobile Branch identity should use the same value. Missing identity skips forwarding. Events use the custom-events endpoint; revenue/currency are in event_data and stable event ID is in transaction_id plus custom_data.event_id. These trace fields do not imply a Branch ingestion dedupe guarantee.

Credential fields

The cookie-authenticated endpoint is PUT /console/projects/:id/integrations/branch. Its credentials value is:

json code
{
  "branch_key": "key_test_REPLACEWITHYOURKEY"
}

Secrets are encrypted and write-only. Omit credentials to change settings without rotating them. Supplying credentials replaces the whole credential object, including both platforms when configured. Settings are enabled, forwardSandbox (default false), revenueMode (gross or proceeds), optional eventTypeMap, and region (us or eu, used by Amplitude/Mixpanel).

Test and operate

Save and enable the destination, click Test connection, and supply real test-device identifiers in the JSON form. A minimal identity-based test uses {"store":"app_store","user_id":"your-test-user"}; MMPs also need the SDK identifiers/context described above. This sends a non-revenue subhero_connection_test event and records a private test delivery. Refresh Recent deliveries and verify receipt in the vendor dashboard. A local delivered acknowledgement alone is not live-vendor certification.

Production store events are forwarded by default. Explicitly enable sandbox forwarding for sandbox store events. Disabling pauses pending work; enabling resumes it without backfilling events generated while disabled. Snapshots expire after 30 days. Failed deliveries retry after 1 minute, 10 minutes, 1 hour and 6 hours, then become dead; crashes consume attempts too. Stable local event IDs survive retries, but receiver guarantees vary as described above.

Official API documentation. Contract checked 2026-10-30; real vendor-account validation remains an owner release check.