Mergify offers a comprehensive RESTful API that facilitates seamless integration. This API provides access to data and functionalities that can enhance your Mergify experience.
API EndpointSection titled API Endpoint
All API requests should be directed to:
The API is entirely documented in the API reference.
AuthenticationSection titled Authentication
Creating an Application KeySection titled Creating an Application Key
To start with the API, you’ll first need to create an application associated with your organization:
- Navigate to your dashboard.
- Proceed to create an Application.
Upon successful creation, the dashboard will provide you with an API key.
Using the API KeySection titled Using the API Key
With the provided API key, you’re set to make authenticated requests against the Mergify API. For example, to validate the authenticity of your token, you can retrieve your application’s information:
Revoking an Application KeySection titled Revoking an Application Key
If, for any reason, you need to revoke an application key:
- Head to the dashboard.
- Simply delete the corresponding application.
By doing so, the application and its key will be removed, revoking any access provided by that key.