Skip to content

API & developers

A CRM that builds with you

A clean REST API, real-time webhooks and official SDKs. Connect The Agency CRM to your own tools, automate everything and build integrations without the hassle.

Free sandbox · OpenAPI spec · no credit card

Everything a developer needs

RESTful API

Predictable resources, JSON payloads and clear error codes. Anything you can do in the UI, you can do via the API.

Real-time webhooks

Receive events the moment they happen — deal created, deal won, invoice paid — with retries and signature verification.

OAuth2 & API keys

Secure authentication with scoped tokens, OAuth2 flows for third-party apps and revocable keys.

Idempotent requests

Retry safely without duplicate records, thanks to idempotency keys on every write operation.

Bulk & pagination

Cursor-based pagination and bulk endpoints to sync large datasets efficiently.

Rate limits & quotas

Generous limits, clear headers and a dashboard to track your usage in real time.

Quickstart

Your first call in 60 seconds

Authenticate with your API key and fetch your deals. It really is that simple.

Get your API key
deals.sh
curl https://api.theagencycrm.nl/v1/deals \
  -H "Authorization: Bearer YOUR_API_KEY"

# Response
{
  "data": [
    {
      "id": "deal_8f2a1c",
      "title": "Website redesign — Acme",
      "value": 12500,
      "currency": "EUR",
      "stage": "negotiation",
      "win_probability": 0.7
    }
  ],
  "next_cursor": "c_29f1"
}

Official SDKs

JavaScript / TypeScript

npm install @theagencycrm/sdk

Python

pip install theagencycrm

PHP

composer require theagencycrm/sdk

Go

go get github.com/theagencycrm/go

Get started

API reference

Full documentation of every endpoint, with request/response examples.

Sandbox environment

Test all your integrations against real data without touching production.

Webhook cookbook

Recipes for the most-requested integrations and automations.

Ready to build?

Create a free developer account and get instant access to the sandbox and API keys.

Free plan · no credit card · live in 5 min

Prefer a guided tour? Book a demo