ByDomu for developers
Build on your agency’s data.
A REST API to read and write to the CRM, webhooks to hear about what happens and an MCP server so your AI can query it. Start in test mode: nothing you do touches your clients.
npm i @bydomu/sdkComing to npmimport { ByDomu } from "@bydomu/sdk";
const bydomu = new ByDomu({
apiKey: process.env.BYDOMU_API_KEY,
});
const { data } = await bydomu.contacts.list({ status: ["NEW"] });Response · 200 OK
# X-Domu-Mode: test
{ "data": [{ "code": "C-0107", "firstName": "Camila", … }],
"meta": { "page": 1, "pageSize": 20, … } }Start in 3 steps
All in your test agency, with sample dataCreate a test key
In Settings › API and webhooks › API keys, choose Test. It’s shown once: save it.
Make your first request
Ask who you are with
GET /v1/me: the response tells you the mode and permissions.
→ 200 OK · X-Domu-Mode: testcurl https://api.bydomu.com/v1/me \ -H "X-API-Key: $BYDOMU_API_KEY"Receive a webhook
Subscribe a URL to an event and send yourself a sample. It arrives signed and marked as test.
deal.wontu-servidor.co/webhookslivemode: false