Loading...
Integrate Riventa.Dev into your workflow with our comprehensive REST API. Build custom integrations and automate everything.
https://riventa.dev/api/v1All API requests require authentication using an API key. Include your key in the Authorization header:
# Using Authorization header curl -H "Authorization: Bearer riv_your_api_key" \ https://riventa.dev/api/v1/reviews # Or using X-API-Key header curl -H "X-API-Key: riv_your_api_key" \ https://riventa.dev/api/v1/reviews
💡 Pro Tip: Generate your API key in Settings → API Keys
/reviewsList all code reviews
project_idstatuspagelimit/reviews/:idGet review details
id/reviewsCreate a new code review
project_idpr_numbercommit_sha/reviews/:idDelete a review
id/projectsList all projects
/projectsCreate a new project
/projects/:idUpdate project settings
/deploymentsList all deployments
/deploymentsCreate a new deployment
/deployments/:id/rollbackRollback a deployment
/security/scanRun a security scan on a project
/security/scan/:idGet security scan results
/security/scoreGet overall security score
/webhooksList all webhooks
/webhooksCreate a new webhook
# List all reviews
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://riventa.dev/api/v1/reviews
# Get review details
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://riventa.dev/api/v1/reviews/123
# Create a review
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"project_id": "abc123", "pr_number": 42}' \
https://riventa.dev/api/v1/reviews⚠️ Rate Limit Headers: Check X-RateLimit-Remaining and X-RateLimit-Reset headers in responses.
Receive real-time notifications when events occur in your projects.
review.completedreview.faileddeployment.starteddeployment.completeddeployment.faileddeployment.rolled_back{
"event": "review.completed",
"timestamp": "2025-01-15T10:30:00Z",
"data": {
"review_id": "rev_abc123",
"project_id": "proj_xyz789",
"pr_number": 42,
"status": "completed",
"score": 87,
"issues_found": 3
}
}