API Keys
Use a secret API key for server-to-server communication. Include the key
in the Authorization header as a Bearer token.
Build powerful integrations with Zento. Use our REST API to trigger reviews, manage repositories, generate reports, and listen for webhook events.
All API requests must be made to the production endpoint. We use a
strict versioning policy to ensure backward compatibility. If you hit a
deprecated endpoint, we will return a 410 Gone status code.
We recommend pinning your integration to a specific version (e.g.,
v2) in your configuration to prevent breaking changes.
Use a secret API key for server-to-server communication. Include the key
in the Authorization header as a Bearer token.
For applications requiring user-level access, use the OAuth2 flow.
Grant scopes for read:reviews or write:repos.
Trigger, manage, and retrieve code review artifacts.
Initiates a new AI code review for a specific pull request or commit.
Paginated list of all reviews for a repository, sorted by creation date.
Retrieve the full analysis, findings, and suggested fixes for a specific review ID.
Stops an in-progress review. Only reviews with status processing
can be cancelled.
Connect your source code repositories to Zento.
Syncs a new repository with Zento. Requires a valid GitHub/GitLab token.
Returns all repositories connected to your API key.
Disconnects a repository and deletes all associated review history.
Define custom linting and security rules for your team.
Retrieve all active custom rules configured for a specific repository.
Create a new rule to enforce specific coding standards or security policies.
Modify the configuration of an existing rule.
Generate and export comprehensive analysis reports.
Creates a new report based on a specific time range or repository.
Download a report in PDF or JSON format.
Listen for real-time events from Zento.
Configure a webhook URL in your repository settings to receive events
such as review.completed, repo.connected, or
review.failed. We guarantee at least one delivery attempt.
Retry Policy: Failed deliveries are retried up to 3 times with exponential backoff (5s, 15s, 45s). If all retries fail, the event is permanently discarded.
You have exceeded the rate limit for your plan. Wait a minute before retrying, or upgrade your plan for higher throughput.
Invalid or missing API key. Ensure the Authorization header
is set correctly.
The requested resource or endpoint does not exist. Check your URL and version number.
An unexpected error occurred on our side. Please retry the request.
Use our official libraries for a smoother development experience.
pip install zento-sdk
npm install @zento/sdk
go get github.com/zento/sdk
gem install zento
Added support for DELETE /v2/reviews/{id} to cancel reviews.
Improved rate limit headers for better client-side throttling.
Bug fix: Webhook payloads for repo.connected now include
the full repository object.
New endpoint: POST /v2/reports/generate for custom date
range reporting.