← Documentation
API

CI/CD integration

Add Nexdge to any CI pipeline. Review code on every push or pull request automatically.

GitHub Actions

Add your Nexdge API key as a GitHub secret named NEXDGE_API_KEY, then add this workflow file to .github/workflows/nexdge.yml:

name: Nexdge Review on: [pull_request] jobs: review: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Run Nexdge review run: | curl -X POST https://nexdge.com/api/v1/analyze \ -H "Authorization: Bearer ${{ secrets.NEXDGE_API_KEY }}" \ -H "Content-Type: application/json" \ -d "{\"code\": \"$(cat changed-file.js)\", \"language\": \"javascript\"}" env: NEXDGE_API_KEY: ${{ secrets.NEXDGE_API_KEY }}

Any CI system

Nexdge is a plain HTTP API. Any CI system that can run a curl command can integrate with it. Set your API key as an environment variable and POST to the analyze endpoint.

curl -X POST https://nexdge.com/api/v1/analyze \ -H "Authorization: Bearer $NEXDGE_API_KEY" \ -H "Content-Type: application/json" \ -d '{"code": "'"$(cat your-file.js)"'", "language": "javascript"}'
← API referenceWebhook reference →