Authentication is now by Service Account. See what's new →
Developer Portal

Build integrations with Magnet Customer

REST API, webhooks, a Node.js SDK, no-code connectors and an AI connector to plug your systems into the CRM.

getting-started.ts
import { MagnetCustomer } from '@magnetcustomer/sdk';

const crm = new MagnetCustomer({
  account: 'your-account',
  clientId: process.env.MAGNET_CLIENT_ID,
  clientSecret: process.env.MAGNET_CLIENT_SECRET,
});

// The SDK gets and renews the Service Account token for you
const { data } = await crm.contacts.listContacts({ page: 1, limit: 25 });

console.log(data.total, data.docs);

Choose how to integrate

REST API

RESTful endpoints with an interactive reference. Full control over the integration.

SDKs

Typed Node.js client generated from the OpenAPI spec, and the spec file to import into your tools.

No-Code

n8n and Zapier for code-free automations between the CRM and the tools you already use.

What you can build

Automate lead capture

Connect web forms, landing pages, and external tools to create leads automatically in the CRM.

Sync with external systems

Keep contacts, deals, and activities in sync with ERPs, billing systems, and data warehouses.

Build custom dashboards

Use the Dashboards API to create widgets, charts, and KPIs tailored to your business.

Real-time notifications

Receive webhooks when deals close, contacts are created, or tasks are completed.

Automate workflows

Use Process Automation API to trigger actions based on filters, events, or schedules.

Customer success tracking

Monitor health scores, MRR, and milestones with the Journeys API.

Platform Overview

What you get to integrate

REST API, webhooks, a Node.js SDK, no-code connectors and an AI connector, documented in one place.

REST
API Reference
Contacts, sales, activities, support, products, dashboards, automations and more
Webhooks
Real-time events
Signed deliveries with retries, for contacts, deals, tickets, journeys and more
Node.js
SDK
Typed client generated from the OpenAPI spec, published on npm
MCP
AI connector
Let AI assistants read and act on your CRM, with your permissions

REST API

The CRM records your integration needs, over HTTP

GET /api/contacts
POST /api/deals
PATCH /api/deals/:id/stage
DELETE /api/tasks/:id

Security

Service Accounts + signed webhooks

OAuth 2.0 client credentials flow
Permissions per resource and expiring credentials
HMAC-SHA256 webhook signatures
One address per account

Real-time Webhooks

Get notified when events happen

// Your endpoint receives:
{
"event": "deal.won",
"data": { "title": "Enterprise Deal",
"value": 150000,
"status": "won" }
}

Developer Experience

Tools that make integration easier

📖Interactive API docs
📦Node.js SDK
🔍OpenAPI spec
🧪Test account
🔔Webhooks
🌐Docs in PT, EN and ES

Integrations

n8nZapierBTG PactualXP InvestimentosSafraGoogle WorkspaceMicrosoft 365