Skip to main content
POST
/
application
curl --location --request POST 'https://autonoma.app/api/mobile' \
--header 'autonoma-client-id: YOUR_CLIENT_ID' \
--header 'autonoma-client-secret: YOUR_CLIENT_SECRET' \
--header 'x-platform: android' \
--form 'name=TestApiAndroid' \
--form 'file=@"/path/to/your/app.apk"'
{
  "application_id": "cm7dbowr80042waka7thyjhkq",
  "application_version_id": "cm7dbowr80042waka7thyjhkr",
  "message": "App uploaded successfully"
}

Authorizations

autonoma-client-id
string
header
required

Client ID for authentication

autonoma-client-secret
string
header
required

Client secret for authentication

Headers

x-platform
enum<string>
required

Application platform type

Available options:
android,
ios,
web
Example:

"android"

Body

multipart/form-data
file
file
required

Application file (APK for Android, ZIP for iOS)

name
string
required

Name of the application

Example:

"My Mobile App"

cookies
string

Optional cookies for web applications

Example:

"session=abc123"

path
string

URL path for web applications

Example:

"https://myapp.com"

version
string

Version string for web applications

Example:

"1.0.0"

geolocation
string

JSON string containing geolocation data

Example:

"{\"latitude\": 40.7128, \"longitude\": -74.0060}"

Response

Application created successfully

application_id
string
Example:

"cm7dbowr80042waka7thyjhkq"

application_version_id
string
Example:

"cm7dbowr80042waka7thyjhkr"

message
string
Example:

"App uploaded successfully"

I