Skip to content

For developers

Developer hub

Anything that can send an HTTP request can ask for approval. Start with the REST API, or use a ready-made client for your language, agent harness or pipeline.

  • REST API

    Create, read, wait for and cancel requests, report executions and verify grants. An OpenAPI description, idempotency keys and signed webhooks.

    Read the API reference
  • TypeScript SDK

    requestApproval, waitForApproval and verifyGrant, which checks a grant against your organization's published keys. No runtime dependencies.

    Read the API reference
  • Python

    No SDK needed: call the REST API directly and verify a grant's Ed25519 signature against the organization's published keys in a few lines of stdlib.

    Verify a grant without Node
  • MCP server

    For Claude, Cursor and other MCP clients. Its tools tell the model not to act until a request is approved, and to hand the grant to whatever executes.

    Read the API reference
  • GitHub Action(coming soon -- duereason/approve@v1 isn't resolvable as an action yet)

    Holds a deploy job until the right people approve, then passes the grant to the next step; its verify mode also works as a required status check with no grant input of its own.

    Protect production deploys
  • Agent gate

    A policy that blocks an agent's own shell, write and MCP calls until a request is approved, then hands back a signed grant. Real adapters ship for Claude Code, Cursor, Hermes, OpenCode, Codex, Gemini CLI, Windsurf, git hooks and a standalone MCP proxy.

    Stop AI agents from acting without approval
  • Webhooks

    Owners and admins add endpoints under Settings, Webhooks and choose the events they receive, or * for all of them. Each event is POSTed as JSON to your HTTPS endpoint, signed so you can verify it came from DueReason.

    Read the webhooks reference
  • Self-hosting

    One Postgres database and one Docker image (web, worker and migrator) get a working instance up in three commands, no build step.

    Read the self-hosting guide
  • Receipt verification

    Check a decision receipt's signature, payload hash and ledger events in your browser, with no account and nothing uploaded.

    Verify a receipt

Start with DueReason

Create a free account, try it live, or talk to us about your workflow.

Get product updates