This is the official guide for using api.waavn.com to automate APK customization using your API key.
https://api.waavn.com/registerCreate a new user account.
curl -X POST https://api.waavn.com/register -H "Content-Type: application/json" -d '{"email":"[email protected]", "password":"YourPassword123"}'
https://api.waavn.com/loginLogin to retrieve your API key.
curl -X POST https://api.waavn.com/login -H "Content-Type: application/json" -d '{"email":"[email protected]", "password":"YourPassword123"}'
https://api.waavn.com/upload-chunkUpload a large APK file in 2MB chunks.
Required headers: X-API-Key
Required fields: chunk (file), upload_id, chunk_index, total_chunks
curl -X POST https://api.waavn.com/upload-chunk \ -H "X-API-Key: your_api_key" \ -F "chunk=@chunk_0.part" \ -F "upload_id=unique-123" \ -F "chunk_index=0" \ -F "total_chunks=25"
https://api.waavn.com/generate-templateValidate the app name from a previously uploaded APK using chunks.
Required headers: X-API-Key
Required form: apk_file_path and app_name
curl -X POST https://api.waavn.com/generate-template \ -H "X-API-Key: your_api_key" \ -F "apk_file_path=unique-123.apk" \ -F "app_name=Royal TV Pro"
https://api.waavn.com/finalize-templateFinish and save your generated template for APK builds.
JSON body: token, build_name, validated_app_name, image_groups, smali_replacements
https://api.waavn.com/submit-buildSend a completed JSON template and assets to build the APK.
https://api.waavn.com/task-status/{task_id}Check whether your build succeeded or failed.
https://api.waavn.com/my-buildsReturns a list of builds linked to your API key.