Skip to main content
POST
https://api.bit2connect.com
/
1.0
/
mobile-apps
curl -X POST "https://api.bit2connect.com/1.0/mobile-apps" \
  -H "X-API-KEY: b2co_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "IOS",
    "name": "My iOS App",
    "bundleId": "com.mycompany.myapp",
    "appStoreFallback": "https://apps.apple.com/app/id123456789",
    "appStoreId": "123456789",
    "iosMinVersion": "14.0"
  }'
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "My iOS App",
    "platform": "IOS",
    "bundleId": "com.mycompany.myapp",
    "appStoreFallback": "https://apps.apple.com/app/id123456789",
    "appStoreId": "123456789",
    "iosMinVersion": "14.0",
    "packageName": null,
    "playStoreFallback": null,
    "androidMinVersion": null,
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
  },
  "timestamp": "2024-01-15T10:30:00Z"
}

Request

X-API-KEY
string
required
Your API key: b2co_your_api_key
platform
string
required
Platform type: IOS or ANDROID
name
string
required
Display name for the mobile app (1-255 characters)

iOS App Parameters

bundleId
string
iOS bundle identifier (e.g., com.yourcompany.yourapp). Required for iOS apps.
appStoreFallback
string
App Store URL to redirect users without the app installed
appStoreId
string
App Store ID for the app (numeric string)
iosMinVersion
string
Minimum iOS version required (e.g., “14.0”)

Android App Parameters

packageName
string
Android package name (e.g., com.yourcompany.yourapp). Required for Android apps.
playStoreFallback
string
Play Store URL to redirect users without the app installed
androidMinVersion
string
Minimum Android API level required (e.g., “21”)
Platform-Specific Fields: Only provide fields relevant to your chosen platform. For iOS apps, provide iOS-specific fields. For Android apps, provide Android-specific fields.

Response

success
boolean
Indicates if the request was successful
data
object
The created mobile app object
data.id
string
Unique identifier for the created mobile app
data.name
string
Display name of the mobile app
data.platform
string
Platform type: IOS or ANDROID
data.bundleId
string
iOS bundle identifier (iOS apps only)
data.appStoreFallback
string
App Store fallback URL (iOS apps only)
data.packageName
string
Android package name (Android apps only)
data.playStoreFallback
string
Play Store fallback URL (Android apps only)
data.createdAt
string
ISO 8601 timestamp when the app was created
data.updatedAt
string
ISO 8601 timestamp when the app was last updated
timestamp
string
ISO 8601 timestamp of the response
curl -X POST "https://api.bit2connect.com/1.0/mobile-apps" \
  -H "X-API-KEY: b2co_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "IOS",
    "name": "My iOS App",
    "bundleId": "com.mycompany.myapp",
    "appStoreFallback": "https://apps.apple.com/app/id123456789",
    "appStoreId": "123456789",
    "iosMinVersion": "14.0"
  }'
{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "My iOS App",
    "platform": "IOS",
    "bundleId": "com.mycompany.myapp",
    "appStoreFallback": "https://apps.apple.com/app/id123456789",
    "appStoreId": "123456789",
    "iosMinVersion": "14.0",
    "packageName": null,
    "playStoreFallback": null,
    "androidMinVersion": null,
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
  },
  "timestamp": "2024-01-15T10:30:00Z"
}