Skip to main content

App

List apps

List app return the list of apps for the current user's organization.
curl --location -X POST 'https://api.justtrack.io/management/v0/apps' \
-H 'X-API-KEY: <API KEY>'

Response

{
"result": [
{
"id": int,
"platformId": int,
"packageId": string,
"storeId": string,
"name": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}
NameTypeDescription
idintID of the app
platformIdint

The app's platform; one of:

  • 1 for Android
  • 2 for iOS
  • 3 for Web
packageIdstringApplication package ID
storeIdstringApplication store ID as used by the Apple or Google App Store
namestringName of the app
createdAtstringThe date of app creation
updatedAtstringThe date of the latest app update

Create app

With this API, you can create an App. 
curl -X POST -H X-API-Key: <API_KEY> 
https://api.justtrack.io/management/v0/app

Request

The general request to the Create App API looks like:

{
"name": "test 123",
"platformId": 1,
"storeId": "gg.sunday.cate",
"iconLink": "https://play-lh.googleusercontent.com/If5wCREVhk1ibdZd8g67oShl_Vnm0qyx3OayiBl7Sm3UGr_74_0ZrWEmLXo5XesrGw=w480-h960",
"packageId": "packageid",
"networkAttributes": [
{
"attribute": {
"id": 1
},
"value": "456"
}, {
"attribute": {
"id": 2
},
"value": "789"
}
]
}

General parameters

NameTypeDescription
namestringThe name of the App to create
platformIdint

The App's platform; one of:

  • 1 for Android
  • 2 for iOS
  • 3 for Web
storeIdstringUnique ID of the application in the store
iconLinkstringIcon URL taken from store
packageIdintID of package
info

We validate the following constraints when creating an app: monetisation

  • the package ID must be used only by you as a customer
  • the tuple (package ID, platform ID) must be unique
  • the tuple (name, platform ID) must be unique
  • the store ID must only be used once

Response

General fields

{
"id": 123,
"name": "test 123",
"platformId": 1,
"apiToken": "abcd1234"
}
NameTypeDescription
IdstringUnique ID of the App in justtrack
namestringThe name of the App to create
platformIdint

The app's platform. One of:

  • 1 for Android
  • 2 for iOS
  • 3 for Web
apiTokenstringThe API token for the Partner.