Bibu's API
Everything you do in Bibu, from your code or your AI agent: mailboxes, campaigns, prospects, replies, exclusions, webhooks and billing. The app's rules apply: the daily budget, the check before each email, each country's law.
- 95 operations, in REST and JSON
- An MCP server for Claude, ChatGPT, Gemini, Copilot and Cursor
- Signed webhooks for every hot lead
- Free to call: what Bibu does is paid in credits
https://meetbibu.com/api/v1Have an AI agent? It does all this for you through the MCP server, with no code.
Create a key
In Bibu, open API & MCP › API key › Create a key. Choose Full access: creating a campaign needs it. Copy the key: Bibu shows it once.
Check your key
Put the key in a variable, then ask whose it is:
Terminalexport BIBU_API_KEY="bibu_…" curl "https://meetbibu.com/api/v1/me" \ -H "Authorization: Bearer $BIBU_API_KEY"Bibu answers with the company the key opens (
workspace) and the key:200 · JSON{ "workspace": { "id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8", "name": "Maison Studio", "company": "Maison Studio" }, "key": { "id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8", "name": "My CRM", "prefix": "bibu_Ab12", "scope": "full", "createdAt": "2026-11-24T09:58:00.000Z" }, "limits": { "requestsPerMinute": 120 } }Create a campaign
Say what you sell (
offer), who to contact (target) and how many prospects (people, 50 at least). Nothing is sent beforelaunch_campaign.Terminalcurl -X POST "https://meetbibu.com/api/v1/campaigns" \ -H "Authorization: Bearer $BIBU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "offer": "We help D2C brands turn first orders into repeat customers.", "target": "Heads of e-commerce at French D2C brands with 20 to 200 people", "people": 200 }'Bibu answers with the campaign's id. The campaign is preparing: Bibu looks for its first prospects.
200 · JSON{ "id": "6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90", "status": "preparing" }Wait until it is ready
Read the campaign every 10 seconds until
statusisready(orfailed):Terminalcurl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \ -H "Authorization: Bearer $BIBU_API_KEY"200 · JSON · extract{ "id": "6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90", "name": "Heads of e-commerce", "status": "ready", "people": { "asked": 200, "matching": { "count": 285, "estimated": false }, "beforeLaunch": 15, "ready": 0, "chosen": 15, "left": 200, "next": "launch", "why": null, "leftOut": [] } }peoplesays where the campaign stands. Before the launch, Bibu finds about 15 prospects for you to review (beforeLaunch). It finds the others afterlaunch_campaign, just ahead of the emails.Read its prospects
List the prospects Bibu found:
Terminalcurl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/people" \ -H "Authorization: Bearer $BIBU_API_KEY"200 · JSON{ "data": [ { "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d", "firstName": "Claire", "lastName": "Martin", "title": "Head of E-commerce", "company": "Maison Lune", "companyDomain": "maisonlune.fr", "country": "France", "status": "queued", "stage": null, "sent": 0, "signal": null } ], "total": 15, "page": 1, "pageSize": 25 }To see why Bibu chose someone, read them with get_person.
All of it in your code
The same steps in JavaScript (Node 18 or later) and in Python:
JavaScript// quickstart.mjs (Node 18 or later): creates a campaign, waits until it is ready, lists its prospects. const API = "https://meetbibu.com/api/v1"; const headers = { Authorization: `Bearer ${process.env.BIBU_API_KEY}`, "Content-Type": "application/json", }; async function bibu(method, path, body) { const res = await fetch(API + path, { method, headers, body: body && JSON.stringify(body) }); const answer = await res.json(); if (!res.ok) throw new Error(`${answer.error.code}: ${answer.error.message}`); return answer; } let campaign = await bibu("POST", "/campaigns", { "offer": "We help D2C brands turn first orders into repeat customers.", "target": "Heads of e-commerce at French D2C brands with 20 to 200 people", "people": 200 }); while (campaign.status === "preparing") { await new Promise((wake) => setTimeout(wake, 10_000)); campaign = await bibu("GET", `/campaigns/${campaign.id}`); } if (campaign.status !== "ready") throw new Error(`The campaign is ${campaign.status}`); const people = await bibu("GET", `/campaigns/${campaign.id}/people`); for (const p of people.data) console.log(p.firstName, p.lastName, "·", p.title, "·", p.company);Python# quickstart.py: creates a campaign, waits until it is ready, lists its prospects. import os import time import requests # pip install requests API = "https://meetbibu.com/api/v1" HEADERS = {"Authorization": f"Bearer {os.environ['BIBU_API_KEY']}"} def bibu(method, path, body=None): res = requests.request(method, API + path, json=body, headers=HEADERS, timeout=30) answer = res.json() if not res.ok: raise RuntimeError(f"{answer['error']['code']}: {answer['error']['message']}") return answer campaign = bibu("POST", "/campaigns", { "offer": "We help D2C brands turn first orders into repeat customers.", "target": "Heads of e-commerce at French D2C brands with 20 to 200 people", "people": 200 }) while campaign["status"] == "preparing": time.sleep(10) campaign = bibu("GET", f"/campaigns/{campaign['id']}") if campaign["status"] != "ready": raise RuntimeError(f"The campaign is {campaign['status']}") people = bibu("GET", f"/campaigns/{campaign['id']}/people") for p in people["data"]: print(p["firstName"], p["lastName"], "·", p["title"], "·", p["company"])Go further
When these prospects suit you,
launch_campaignstarts the emails. It writes to real people: read what it does first.Authentication and scopesWhat a key may do, and what to do with a 401 or a 403.
AI assistantsConnect Bibu to your AI assistant, with no code.
WebhooksGet each hot lead as soon as they reply, signed.
API referenceEvery operation, with its parameters and an example.
OpenAPI fileThe whole API in one file, for AI agents and code generators.