Skip to content

Create application with APK upload

POST
/api/v2/upload/applications
curl --request POST \
--url https://mmp.affise.com/api/v2/upload/applications \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form store=null \
--form url=null \
--form apple_id_package=example \
--form package_name=com.example.app \
--form 'package_description=My application description' \
--form timezone=Europe/Moscow \
--form app_status=apk \
--form currency=USD \
--form 'name=My App' \
--form 'icon=data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...' \
--form client_url=example \
--form apk=@file

Create a new application with APK file upload support. This endpoint uses upload token (JWT) passed as Bearer token instead of standard Sanctum token.

Base URL: https://mmp.affise.com

Media type multipart/form-data
object
store

The application store. Must be one of: google, apple, huawei, xiaomi, rustore, nashstore, other. Must be left out when app_status is “apk”.

string
nullable
Example
null
url

The store URL for the application. Required unless app_status is “apk” or “not_published”.

string
nullable
Example
null
apple_id_package

Required if store is “apple”. The Apple bundle identifier.

string
package_name
required

The application package name.

string
Example
com.example.app
package_description

The application description.

string
nullable
Example
My application description
timezone
required

The timezone for the application.

string
Example
Europe/Moscow
app_status
required

The application status. Must be one of: in_store, not_published, apk.

string
Example
apk
currency
required

The currency ISO code.

string
Example
USD
name
required

The application name.

string
Example
My App
icon
required

The application icon as a base64 data uri.

string
Example
data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...
client_url

The client URL.

string
apk
required

Required if app_status is “apk”. The APK file to upload.

string format: binary
Media type application/json
object
data
object
id
integer
status
string
store
string
url
string
client_id
integer
package_name
string
package_description
string
timezone
string
app_status
string
currency
string
currency_iso
string
name
string
icon
string
is_default
boolean
secret_key
string
api_secret_key
string
nullable
token
string
agency_invite_token
string
is_active
boolean
decryption_key
string
nullable
fb_app_id
string
nullable
fb_meta_pixel_id
string
nullable
fb_access_token
string
nullable
fb_pixel_access_token
string
nullable
fbc_api_enabled
string
nullable
fbc_api_events
string
nullable
fbc_api_events_mapping
string
nullable
fb_marketing_events_mapping
string
nullable
fb_pixel_events_mapping
string
nullable
fbc_api_value
string
nullable
fbc_api_send_organic
string
nullable
use_pixel_api
string
nullable
market_is_active
string
nullable
market_last_error
string
nullable
pixel_is_active
string
nullable
pixel_last_error
string
nullable
fb_send_organic
boolean
fb_send_googleads
boolean
fcm_key
string
nullable
created_at
string
updated_at
string
probabilistic
boolean
apple_s2s_tracking_url_v1
string
nullable
apple_s2s_tracking_url_v2
string
nullable
cross_postback_url
string
nullable
default_postback_url
string
nullable
rejected_postback_url
string
nullable
postback_url
string
nullable
send_organic
boolean
cross_postback_for_all_conversions
boolean
secure_code
string
nullable
fingerprint_available
string
nullable
device_id_available
string
nullable
impression_fingerprint_available
string
nullable
impression_device_id_available
string
nullable
re_attribution
string
nullable
is_google_adwords_enabled
boolean
sdk_callback
string
nullable
anti_fraud_settings
object
social_traffic
string
nullable
emulators
string
nullable
ctit_sec
string
nullable
session_count
string
nullable
session_sec
string
nullable
proxy
string
nullable
24metrics_enabled
string
nullable
24metrics_level
string
nullable
google_ads_attribution
object
api_events_mapping
string
nullable
link_id
string
nullable
google_firebase_attribution
object
project_id
string
nullable
subscriptions
object
saved
string
nullable
urls
string
nullable
secure_code
string
paddle
object
has_webhook_secret
boolean
settings
Array
signature
object
apk_signing_mode
string
active_source
string
ks_key_alias
string
nullable
cert_sha256
string
nullable
storages_links
Array
message
string
Example
{
"data": {
"id": 383,
"status": "active",
"store": "telegram",
"url": "https://t.me/+G-SOmeChaNNeluRl",
"client_id": 1,
"package_name": "Velit et.",
"package_description": "SAID was, 'Why is a very interesting dance to watch,' said Alice, as she spoke; 'either you or your head must be on the floor, as it left no mark on.",
"timezone": "America/La_Paz",
"app_status": "at_store",
"currency": "MNT",
"currency_iso": "MNT",
"name": "architecto eius et",
"icon": "https://downloads.affattr.com/public/applications/icons/icon.jpeg",
"is_default": false,
"secret_key": "ca3d0f20-5b17-4258-9fec-f8067bbd9caa",
"api_secret_key": null,
"token": "0O3GGDESDR2PH",
"agency_invite_token": "8Z6BU87RBSJSR",
"is_active": true,
"decryption_key": null,
"fb_app_id": null,
"fb_meta_pixel_id": null,
"fb_access_token": null,
"fb_pixel_access_token": null,
"fbc_api_enabled": null,
"fbc_api_events": null,
"fbc_api_events_mapping": null,
"fb_marketing_events_mapping": null,
"fb_pixel_events_mapping": null,
"fbc_api_value": null,
"fbc_api_send_organic": null,
"use_pixel_api": null,
"market_is_active": null,
"market_last_error": null,
"pixel_is_active": null,
"pixel_last_error": null,
"fb_send_organic": false,
"fb_send_googleads": false,
"fcm_key": null,
"created_at": "2026-11-25T12:56:09.000000Z",
"updated_at": "2026-11-25T12:56:08Z",
"probabilistic": true,
"apple_s2s_tracking_url_v1": null,
"apple_s2s_tracking_url_v2": null,
"cross_postback_url": null,
"default_postback_url": null,
"rejected_postback_url": null,
"postback_url": null,
"send_organic": false,
"cross_postback_for_all_conversions": false,
"secure_code": null,
"fingerprint_available": null,
"device_id_available": null,
"impression_fingerprint_available": null,
"impression_device_id_available": null,
"re_attribution": null,
"is_google_adwords_enabled": false,
"sdk_callback": null,
"anti_fraud_settings": {
"social_traffic": null,
"emulators": null,
"ctit_sec": null,
"session_count": null,
"session_sec": null,
"proxy": null,
"24metrics_enabled": null,
"24metrics_level": null
},
"google_ads_attribution": {
"api_events_mapping": null,
"link_id": null
},
"google_firebase_attribution": {
"project_id": null
},
"subscriptions": {
"saved": null,
"urls": null,
"secure_code": "6RSDa5",
"paddle": {
"has_webhook_secret": false
}
},
"settings": [],
"signature": {
"apk_signing_mode": "per_app",
"active_source": "default_shared",
"ks_key_alias": null,
"cert_sha256": null
},
"storages_links": []
},
"message": "Application successfully created"
}