Codemagic REST API


Users can make calls to Codemagic REST API for better integration with other tools. Codemagic API can be accessed from Any communication with it takes place over HTTPS. All data is sent and received as JSON.


When making calls to REST API methods, an access token must be included as an HTTP header in every call for the call to be successful.

x-auth-token: <API Token>

The access token is available via the Codemagic UI in User settings > Integrations > Codemagic API > Show.

Rate Limiting

All API requests are limited to 5,000 requests per hour and per authenticated user.

Checking your rate limit status

The response’s HTTP headers are authoritative sources for the current number of API calls available to you or your app at any given time.

X-RateLimit-LimitThe maximum number of requests you’re permitted to make per hour.
X-RateLimit-RemainingThe number of requests remaining in the current rate limit window.
X-RateLimit-ResetThe time at which the current rate limit window resets in UTC epoch seconds.