adjust-icon

App endpoint

Use the /app endpoint to automate creating and updating new apps.

Create a new app

Create a new app using settings from your template app. If your app already exists, you can update it with new settings using the force_update parameter.

Endpoint
POST https://settings.adjust.com/api/app

Parameters

ParameterData typeInDescription
store_id*StringBodyBundle ID (Android) | Store ID (Apple)
platform*StringBodyandroid | ios
name*StringBodyThe name of your app.
bundle_id*StringBodyThe Bundle ID of your app.
android_signature_hashStringBodySHA1 hash. Generated from the keystore file to build the SDK signature.
channel_setupObjectBodyRequired to set up partner modules for your app. See the Channel setup article for more information.
editorsStringBodyList of emails of users who should have access to the app.
template_app_tokenStringBodyAdjust app token to use as a template. Required if you aren’t using a template app.
force_updateBooleanBodyPass this value as true to update an existing app’s settings.

Response parameters

ParameterData typeDescription
adjust_app_tokenStringAdjust App Token to be used in SDK integration and other API requests.
nameStringThe name of your app.
sk_app_idIntegerThe StoreKit app ID for your iOS app.
store_idStringBundle ID for Android | Store ID for Apple
bundle_idStringBundle ID for Android or iOS app
ticket_tokenString<UUID>Ticket ID to check the current job status. See the Status endpoint document for more information.

Example

cURL
$ curl \
--header "AdjustAuthorization: Token <adjust api token>" \
--header "Content-Type: application/json" \
--data '{ "name":"Test App Name", "bundle_id":"test.bundle.app", "store_id":"test.bundle.app", "platform":"android", "channel_setup": { "facebook": {"app_id": "123456789"} } }' \
-X POST https://settings.adjust.com/api/app
Success response
{
"adjust_app_token": "p77yk727r18g",
"name": "Test App Name",
"sk_app_id": null,
"store_id": "test.bundle.app",
"bundle_id": "test.bundle.app",
"ticket_token": "af7702a9-ba95-6ba2-bdac-3f83e55ed8d3"
}

Fetch app details

Retrieve details about an app using the app store ID and platform name.

Endpoint
GET https://settings.adjust.com/api/app?store_id={}&platform={}

Parameters

NameData typeInDescription
store_id*StringQueryBundle ID for Android | Store ID for Apple
platform*StringQueryandroid | ios

Response parameters

NameTypeDescription
nameStringThe name of the app
platformStringandroid | ios
store_idStringBundle ID for Android | Store ID for iOS
adjust_app_tokenStringThe token of the requested app.
additional_infoObjectAll app details previously received by the endpoint.
channel_setupObjectPartner-specific parameters, see Channel Setup
cross_promo_tokenStringAdjust link token to be used for CrossPromotion (once available)
android_signature_hashStringSHA1 hash, generated from the keystore file to build the SDK signature

Example

cURL
$ curl \
--header "AdjustAuthorization: Token <adjust api token>" \
-L -X GET 'https://settings.adjust.com/api/app?store_id=test.bundle.app&platform=android'
Success response
{
"name": "Test App Name",
"platform": "android",
"store_id": "test.bundle.app",
"adjust_app_token": "p77yk727r18g",
"additional_info": { "overrides": {} },
"channel_setup": {
"facebook": { "app_id": "123456789" },
"snapchat": { "app_id": "test.bundle.app" }
},
"cross_promo_token": "hgj3li1",
"android_signature_hash": "FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF"
}

Fetch app details by Adjust token

Retrieve details about an app using the adjust app token.

Endpoint
GET https://settings.adjust.com/api/app/{adjust_app_token}

Parameters

NameData typeInDescription
adjust_app_token*StringPathThe Adjust app token. You can find this in the Adjust dashboard or in your /app POST response.

Response parameters

NameTypeDescription
nameStringThe name of the app
platformStringandroid or ios
store_idStringBundle ID for Android | Store ID for iOS
adjust_app_tokenStringThe token of the requested app.
additional_infoObjectAll app details previously received by the endpoint.
channel_setupObjectPartner-specific parameters, see Channel Setup
cross_promo_tokenStringAdjust link token to be used for CrossPromotion (once available)
android_signature_hashStringSHA1 hash, generated from the keystore file to build the SDK signature

Example

cURL
$ curl \
--header "AdjustAuthorization: Token <adjust api token>" \
-X GET https://settings.adjust.com/api/app/p77yk727r18g/
Success response
{
"name": "Test App Name",
"platform": "android",
"store_id": "test.bundle.app",
"adjust_app_token": "p77yk727r18g",
"additional_info": { "overrides": {} },
"channel_setup": {
"facebook": { "app_id": "123456789" },
"snapchat": { "app_id": "test.bundle.app" }
},
"cross_promo_token": "hgj3li1",
"android_signature_hash": "FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF"
}

Fetch app channels

Retrieve a list of channels that have active links for an app.

Endpoint
GET https://settings.adjust.com/api/app/{adjust_app_token}/channels

Parameters

NameData typeInDescription
adjust_app_token*StringPathThe Adjust app token. You can find this in the Adjust dashboard or in your /app POST response.

Response parameters

ParameterData typeDescription
channelsArray <String>A list of network slugs for active channels for this app.
Network slugs
  • apple_search_ads
  • applovin
  • chartboost
  • crossinstall
  • crosspromotion
  • digitalturbine
  • facebook
  • gameanalytics
  • google
  • ironsource
  • snapchat
  • tapjoy
  • unityads
  • vungle
  • inmobi

Example

cURL
$ curl \
--header 'AdjustAuthorization: Token <adjust api token>' \
--header "SignatureAuthorization: Token <adjust signature token>" \
--X GET 'https://settings.adjust.com/api/app/927t3s86rzsw/channels'
Success response
[
"unityads",
"digitalturbine",
"jetfuel_api",
"jetfuel",
"criteo",
"tapjoy",
"bytedance",
"moloco",
"adikteev",
"pinsightmedia",
"applovin",
"aura_ironsource",
"freakout",
"tradedoubler"
]

Enable signature verification

If you’re using the Adjust v3 Signature library to secure your app traffic, you can use the automation API to configure your app’s certificate fingerprints.

Instructions

  1. Send a POST request to the /app endpoint with the following information:

    • name: The name of your app
    • bundle_id: Bundle ID for Android | Store ID for Apple
    • store_id: The ID of your app in the target app store
    • platform: The target platform of the application
    • channel_setup: Required to set up partner modules for your app. See the Channel setup article for more information.
    Terminal window
    curl \
    --header "AdjustAuthorization: Token <adjust api token>" \
    --header "Content-Type: application/json" \
    --data '{ "name":"Test App Name", "bundle_id":"test.bundle.app", "store_id":"test.bundle.app", "platform":"android", "channel_setup": { "facebook": {"app_id": "123456789"}, "snapchat": {"app_id": "test.bundle.app"} } }' \
    -X POST https://settings.adjust.com/api/app
  2. Contact your Adjust representative and ask them to enable Signature v3 support.

  3. Once your app is marked for Signature v3 support, send another POST request to the /app endpoint with the following:

    • android_signature_hash: A comma-separated list of SHA-1 signatures in colon separated hex format.
    • A SignatureAuthorization header with the value of your Adjust signature token.
    Terminal window
    curl \
    --header "AdjustAuthorization: Token <adjust api token>" \
    --header "SignatureAuthorization: Token <adjust signature token>" \
    --header "Content-Type: application/json" \
    --data '{ "name":"Test App Name", "android_signature_hash": "45:a7:2b:82:00:f1:f6:99:d7:c5:1e:6e:1f:8c:91:b5:5c:f9:98:a2,44:40:16:6e:ed:36:cc:6d:6e:62:53:92:9e:ef:45:63:a1:3c:19:0c,57:44:3a:4c:05:23:50:a4:46:38:83:5d:64:fd:66:82:2f:81:33:19", "bundle_id":"test.bundle.app", "store_id":"test.bundle.app", "platform":"android", "channel_setup": { "facebook": {"app_id": "123456789"}, "snapchat": {"app_id": "test.bundle.app"} } }' \
    -X POST https://settings.adjust.com/api/app