Skip to main content
The Capwrapper REST API lets you trigger builds and deployments programmatically — without touching the dashboard. Use it to integrate app packaging into your CI/CD pipeline, automate releases on every merge, or build internal tooling on top of the same infrastructure that powers the dashboard. All API requests go to:

Authentication

Every request requires your API key passed as a Bearer token in the Authorization header.
You can find your API keys in the Capwrapper dashboard under Settings > API Keys. Generate a new key there if you don’t have one yet.
Treat your API key like a password. Do not commit it to version control or expose it in client-side code.

Request and response format

All request bodies must be JSON. All responses are JSON. Set the Content-Type header on every request that sends a body.

Available endpoints

See the Builds API and Deploys API pages for full parameter and response documentation.

Example authenticated request

Rate limiting

The API enforces rate limits per API key. If you exceed your limit, you will receive a 429 Too Many Requests response. Check your current limits and usage in the Settings > API Keys section of the dashboard.

Error responses

The API uses standard HTTP status codes to indicate success or failure. Error responses include a JSON body with a message field describing the problem: