DocsAPI and webhooks
API overview
How the Vroni API works, how to get a token, and the rules every request follows.
The Vroni API lets your own tools do what you would otherwise do in the app. You can start tasks, follow their runs, read your repositories and credits, and manage webhooks. It uses plain HTTPS and JSON, so curl, a script, or any HTTP library will work.
This page covers what every request has in common: the base address, tokens, errors, limits, and pagination. The following pages list the individual endpoints. For ideas on what to build, see Automation with the API.
The API is included in the Team plan. On Free and Solo plans, requests return plan_does_not_allow_api_access, and existing tokens stop working if a team downgrades from Team.
Base URL and OpenAPI
All endpoints live under:
https://app.vroni.com/api/v1
The machine-readable OpenAPI document is at app.vroni.com/api/v1/openapi.json. It doesn’t require a token, so you can load it straight into tools like Postman or use it to generate a client.
Getting a token
API tokens belong to a team rather than a person, and each token can read and change anything its permissions allow in that team. Team owners and administrators create them on the team’s API tokens page, found in team settings under Manage API tokens.
- Give the token a name, such as “CI pipeline”. Names must be unique within the team.
- Choose its permissions. New tokens start with read permissions for repositories, tasks, runs, and credits.
- Create the token and copy it right away. Vroni shows it only once.
| Permission | What it allows |
|---|---|
| Read repositories | List and view repositories and their status |
| Read tasks | List and view tasks |
| Create tasks | Create new tasks |
| Read runs | List and view runs, poll their status and events |
| Read credits | View the credit balance and recent usage |
| Read webhooks | List webhook subscriptions and deliveries |
| Manage webhooks | Create, update, test, rotate, disable, and replay webhooks |
| Delete webhooks | Delete webhook subscriptions |
You can change a token’s permissions later or delete it. Tokens don’t expire, so delete any you no longer use. The token list shows when each token was last used, and the team’s activity log records the first use of each token on each endpoint every day.
Send the token in the Authorization header:
curl https://app.vroni.com/api/v1/repositories \
-H "Authorization: Bearer $VRONI_API_TOKEN" \
-H "Accept: application/json"
IDs and links
Repositories, tasks, runs, webhook subscriptions, and deliveries all have public IDs: 26-character strings like 01J00000000000000000000030. Use them exactly as the API returns them.
Responses include two kinds of links. API links, like links.status and links.events on a run, point to API endpoints you can call with your token. App links, like canonical_url, are meant for people to open in a browser. Use both as they are. Don’t build or parse either kind yourself, because their format can change.
Responses and errors
A successful response wraps its payload in a data field. Lists of repositories, tasks, and runs return an array in data alongside pagination details in meta:
{
"data": [{ "id": "01J00000000000000000000030", "...": "..." }],
"meta": { "pagination": { "...": "..." } }
}
Webhook lists are shaped a little differently; see webhooks.
An error response includes a human-readable message, a machine-readable code, and sometimes an errors object with field details:
{
"message": "The provided data is invalid.",
"code": "validation_failed",
"errors": { "requested_outcome": ["required"] }
}
| Status | Code | When |
|---|---|---|
| 401 | token_required |
The token is missing, wrong, or deleted. |
| 403 | token_ability_denied |
The token lacks the permission this endpoint needs. |
| 403 | plan_does_not_allow_api_access |
The team isn’t on the Team plan. |
| 404 | not_found |
The ID doesn’t exist or belongs to another team. |
| 409 | admission_denied |
Vroni couldn’t start the task, for example because of missing credits. |
| 409 | admission_temporarily_unavailable |
Vroni was busy with the same repository. Try again shortly. |
| 409 | trigger_key_conflict |
An idempotency key was reused with a different request. |
| 422 | validation_failed |
A field or query parameter is wrong. On repositories, tasks, runs, and credits, unknown query parameters are rejected too. |
| 422 | replay_not_allowed |
A webhook delivery can’t be replayed. |
| 429 | rate_limited |
Too many requests. |
| 429 | test_rate_limited |
Too many webhook test sends. |
Rate limits
Each token can make 120 requests per minute. Requests that create tasks have a separate limit of 30 per minute on top of that. Requests without a valid token are limited by IP address, and the same goes for the OpenAPI document.
Responses include X-RateLimit-Limit and X-RateLimit-Remaining headers. If you hit either limit, the API returns 429 rate_limited with a Retry-After header telling you how many seconds to wait.
Pagination
Lists of repositories, tasks, and runs are paginated. Pass page (starting at 1) and per_page (1 to 100, default 25). The response tells you where you are:
"meta": {
"pagination": {
"type": "length",
"current_page": 1,
"last_page": 4,
"per_page": 25,
"total": 87
}
}
Run events use a cursor instead, which is covered on the runs page.
Times
All timestamps use ISO 8601 in UTC, like 2026-11-25T10:00:00+00:00. Some webhook fields use the Z suffix instead, so your parser should handle both.
What the API doesn’t do
The v1 API can’t connect or create repositories, request changes, retry or cancel runs, approve, or merge. Those actions happen in the Vroni app or on GitHub. Start with the HTTP examples in these docs, or generate a client from the OpenAPI document.
The endpoints
- Repositories: list and read connected repositories
- Tasks: create tasks and read them
- Runs: read runs, poll their status and events
- Credits: read the balance and recent usage
- Webhooks: get notified about runs and check what Vroni sends
Last updated November 25, 2026. Something missing or unclear? Write to [email protected].