Upload APK
POST
/api/apk/
const url = 'https://example.com/api/apk/';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"apk":"binary"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/apk/ \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "apk": "binary" }'Uploads an Android APK for analysis.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
apk
required
Android APK file to upload.
string format: binary
Example generated
{ "apk": "binary"}object
apk
required
Android APK file to upload.
string format: binary
Example generated
apk=binaryobject
apk
required
Android APK file to upload.
string format: binary
Responses
Section titled “Responses”Media typeapplication/json
object
message
required
string
file_hash
required
SHA256 hash of the uploaded APK.
string
Example generated
{ "message": "example", "file_hash": "example"}Media typeapplication/json
object
message
required
string
Example generated
{ "message": "example"}No response body
