Automate with the API

Integrate protection into your build pipeline with self-managed API keys and the v1 REST API.

1. Create an API key

Create a key in the dashboard under Settings → API Keys. The key is shown once at creation — store it securely.

2. Create a job & upload

Creating a job returns a presigned upload URL. PUT your APK/AAB to that URL.

curl -X POST https://appsolid.net/api/v1/jobs \
  -H "Authorization: Bearer $APPSOLID_API_KEY"

3. Obfuscate & poll

Trigger obfuscation after upload, then poll the job status. When it's done, a presigned download URL is returned.

curl -X POST https://appsolid.net/api/v1/jobs/$JOB_ID/obfuscate \
  -H "Authorization: Bearer $APPSOLID_API_KEY"

curl https://appsolid.net/api/v1/jobs/$JOB_ID \
  -H "Authorization: Bearer $APPSOLID_API_KEY"

4. Download & re-sign

Fetch the protected build from the download URL, sign it with your key in CI, and ship.