Overview
The App API allows developers to view and make updates to an existing Branch app configuration.
Prerequisites
In order to access the App API, you need to have completed the following:
Created a Branch Dashboard
Authentication
Calls to the App API require both your Branch Key and Branch Secret parameter to be passed with each request. This can be obtained through the Branch Dashboard Account Settings.
Learn more about your Branch Account Profile here.
API Usage
Get Current Branch App Config
Endpoint
Request Parameters
Parameter | Description | Required |
---|---|---|
branch_key | The Branch key of the originating app; from your Branch Settings Dashboard | Yes |
branch_secret | The Branch secret if the originating app; from your Branch Settings Dashboard | Yes |
Example Request/Response
Update Branch App Config
Endpoint
Request Parameters
Parameter | Description | Required |
---|---|---|
branch_secret | The Branch secret if the originating app; from your Branch Settings Dashboard | Yes |
app_name | The name of the app (max 255 characters). | No |
dev_name | The main contact developer name (max 255 characters). | No |
dev_email | The main contact developer email (max 255 characters). | Yes |
android_url | The url of the Android store, or package name (com.android.myapp). Note that to set a fallback URL for Android instead, you must also set | No |
android_uri_scheme | The Android URI scheme. | No |
ios_url | The url of iOS store, or app id (id512451233) | No |
ios_uri_scheme | The iOS URI scheme. | No |
ios_store_country | The country code of the app, default to US (max 255 characters). | No |
web_url | Backup website if URLs are null. | No |
text_message | The text message to use for text-me feature, {{ link }} will be replaced with short link (max 255 characters). | No |
og_app_id | Default Open Graph (OG) app id (max 255 characters). | No |
og_title | Default OG title to be used with links (max 255 characters). | No |
og_description | Default OG description to be used with links (max 255 characters). | No |
og_image_url | Default OG image URL to be used with links (max 255 characters). | No |