Campaigns
Campaigns: create from a brief, read, change, the emails, launch, pause, resume, stop, their prospects and analytics.
/campaignsMCP tool list_campaignsEvery campaign of the company, newest first, with its numbers.
Parameters
No parameters.
Example request
curl "https://meetbibu.com/api/v1/campaigns" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"data": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "preparing",
"createdAt": "2026-11-24T09:58:00.000Z",
"launchedAt": "2026-11-24T09:58:00.000Z",
"people": 200,
"stats": {
"reached": 12,
"sent": 12,
"replies": 12,
"interested": 12,
"meetings": 12,
"bounced": 12,
"unsubscribed": 12
}
}
]
}Possible errors
401unauthorized· No valid API key.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaignsMCP tool create_campaignLike “New campaign” in the app: what you sell (offer), who to contact (target) and who never (antiTarget), how many people (people). Name job titles in target: the campaign writes to them. Bibu prepares about 15 prospects for your review (status preparing, then ready), paid in credits: the campaign's research once and each person found (get_prices; a balance that can't pay it: campaign.err.credits). Nothing is sent before launch_campaign; Bibu finds the others after it, just ahead of the emails (get_campaign's people). Before the launch, update_buyer_group changes who it looks for; count_buyer_group counts a search for free. A few new campaigns a day per account. writing: template (the default) sends the campaign's emails to everyone, their variables filled for each person; bibu (the option) has Bibu write each person's own email, 8 credits more for each one sent.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
offer | body | stringrequired | What you sell, in a sentence or two. 10 to 4,000 characters. |
website | body | string | At most 300 characters. |
target | body | stringrequired | Who to contact: job titles, kind and size of company, places. The job titles named here decide the campaign's own buyer group. 5 to 4,000 characters. |
antiTarget | body | string | Who never to contact. At most 4,000 characters. |
people | body | integerrequired | How many people to reach in all. From 50 to 20,000. |
fromList | body | boolean | |
signals | body | boolean | Look for recent events (signals). true: each person is found through something that just happened to them or to their company, which makes now a good moment to write. Five events exist: funding (the company just raised funds), hiring (it is hiring for a role), growth (it is hiring a lot), acquisition (it just bought a company), new_role (the person just started in the role). Bibu picks the events from the brief (a target such as "start-ups that just raised funds" gives funding); when the brief names none, it takes new_role within 30 days. get_campaign's targeting.signals says which it picked, and update_campaign's signals changes them. false or left out: none. |
goal | body | object | What every email and answer asks for: call, demo, in_person, chat, signup, visit, written, other ( |
goal.kind | body | stringrequired | One of: call, demo, in_person, chat, signup, visit, written, other. |
goal.other | body | string | At most 300 characters. |
goal.link | body | string | At most 300 characters. |
place | body | object | |
place.scope | body | stringrequired | One of: home, french, uk_ireland, nordics, english, europe, developed, world, custom. |
place.home | body | string | At most 100 characters. |
place.countries | body | array of string | At most 50 items. |
writing | body | string | Who writes each person's email. template (a new campaign's default): the campaign's emails, the same for everyone, their variables filled for each person ({{first_name}}, {{company}}…); Bibu drafts them once, with the campaign's research, and you change them with update_campaign_emails. bibu (the option): Bibu writes each person's own email from them, 8 credits more for each email it wrote that is sent (first emails and follow-ups), campaigns on recent events too. Optional: template when left out; update_campaign changes it later. One of: template, bibu. |
Example request
curl -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
}'Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "preparing"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}MCP tool get_campaignIts brief, who Bibu looks for, its buyer groups with each one's search and reach (each one left on is one more campaign at the launch), the emails, the sending and replies settings, what blocks the launch, and its numbers. Three numbers of people, never to be mixed up: people.asked (the brief's number), people.matching (how many match the search: the pool, a group's reach) and people.ready or people.chosen (found so far: about 15 before the launch, people.beforeLaunch; the others after launch_campaign, just ahead of the emails).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "preparing",
"launching": true,
"createdAt": "2026-11-24T09:58:00.000Z",
"launchedAt": "2026-11-24T09:58:00.000Z",
"brief": {
"offer": "We help D2C brands turn first orders into repeat customers.",
"website": "https://maisonlune.fr",
"target": "Heads of e-commerce at French D2C brands with 20 to 200 people",
"antiTarget": "Marketplaces and agencies",
"people": 200,
"fromList": true,
"signals": true,
"goal": {
"kind": "call",
"other": "…",
"link": "https://maisonlune.fr"
},
"place": {
"scope": "…",
"home": "…",
"countries": [
"…"
]
}
},
"progress": {
"stage": "…",
"wanted": 12,
"found": 12,
"withEmail": 12,
"verified": 12,
"excluded": 12,
"error": "…"
},
"people": {
"asked": 250,
"matching": {
"count": 285,
"estimated": false
},
"beforeLaunch": 15,
"ready": 15,
"chosen": 0,
"left": 235,
"next": "launch",
"why": "full",
"leftOut": [
{
"reason": "2026-11-24",
"people": 200
}
]
},
"targeting": {
"summary": "…",
"titles": [
"Head of E-commerce"
],
"industries": [
"…"
],
"headcounts": [
"…"
],
"countries": [
"…"
],
"signals": {
"kinds": [
"funding",
"hiring"
],
"jobs": [
"accountant"
],
"withinDays": 30
}
},
"buyerGroups": {
"groups": [
{
"id": "g2",
"name": "Marketing leaders",
"pain": "Need more qualified demos without hiring",
"fit": 86,
"reach": {
"count": 285,
"estimated": true
},
"on": true,
"own": true,
"campaignId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique"
],
"excludeTitles": [
"Assistant",
"Stagiaire"
],
"seniorities": [
"director",
"c_suite"
],
"headcounts": [
"51-200",
"201-500"
],
"industries": [
"Hospitals and Health Care"
],
"countries": [
"France"
],
"locations": [],
"keywords": ""
},
"stated": true,
"edited": true
}
],
"editable": true,
"peopleEach": 700,
"from": "9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a"
},
"language": "fr",
"languages": [
"fr"
],
"emails": [
{
"delayDays": 3,
"subject": "Re: An idea for Maison Lune",
"body": "Yes, happy to talk next week."
}
],
"writing": "bibu",
"writingIncluded": true,
"sending": {
"timezone": "Europe/Paris",
"days": [
1,
2,
3,
4,
5
],
"start": "09:00",
"end": "18:00",
"dailyPerMailbox": 12,
"mailboxCount": 12,
"startsAt": "2026-11-24T09:58:00.000Z",
"finishesAt": "2026-11-24T09:58:00.000Z"
},
"replies": {
"aiSort": true,
"aiDraft": true,
"aiSend": true
},
"booking": {
"own": "…",
"company": "Maison Lune"
},
"schedule": {
"own": true,
"schedule": {
"days": [
1,
2,
3,
4,
5
],
"start": "09:00",
"end": "18:00",
"countries": {},
"smartDays": true,
"sundays": true
}
},
"blockers": [
{
"kind": "preparing"
}
],
"stats": {
"reached": 12,
"sent": 12,
"replies": 12,
"interested": 12,
"meetings": 12,
"bounced": 12,
"unsubscribed": 12
},
"sentSoFar": 12,
"plannedEmails": 12,
"findingAhead": true,
"leftOut": {},
"instructions": {
"own": "…",
"defaults": "…"
},
"improving": true,
"briefChange": {
"emails": "kept"
}
}Show all 212 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}MCP tool update_campaignOnly the fields given change, in this order: brief (a draft never launched only: the people found who still fit stay, Bibu searches or writes again only what the change needs; it changes the answers in words, and Bibu works out the search again: to set a search's filters yourself, update_buyer_group; the answer's briefChange.emails says whether the emails were kept or are written again), signals (the recent events of a campaign that looks for some, before its launch), sending (merged with the current plan), replies, followUpPace and instructions (any time before the campaign is over, while it sends too), improving, writing (any time before the campaign is over: whoever nothing went to yet gets their emails the new way; people in their sequence keep what they read, their next follow-ups the new way; bibu costs 8 credits more for each email Bibu wrote that is sent), bookingLink (the campaign's own booking link, any time). Emails you wrote or changed yourself (update_campaign_emails) stay word for word through a change of brief or of instructions; Bibu's own draft is written again where the change calls for it; rewriteEmails: true has Bibu rewrite yours too. A refused field stops there: error.field names it (brief, signals, sending, replies, followUpPace, instructions, improving, writing or bookingLink), the ones before it stay changed and the ones after it are not applied.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
brief | body | object | |
brief.offer | body | stringrequired | What you sell, in a sentence or two. 10 to 4,000 characters. |
brief.website | body | string | At most 300 characters. |
brief.target | body | stringrequired | Who to contact: job titles, kind and size of company, places. The job titles named here decide the campaign's own buyer group. 5 to 4,000 characters. |
brief.antiTarget | body | string | Who never to contact. At most 4,000 characters. |
brief.people | body | integerrequired | How many people to reach in all. From 50 to 20,000. |
brief.fromList | body | boolean | |
brief.signals | body | boolean | Look for recent events (signals). true: each person is found through something that just happened to them or to their company, which makes now a good moment to write. Five events exist: funding (the company just raised funds), hiring (it is hiring for a role), growth (it is hiring a lot), acquisition (it just bought a company), new_role (the person just started in the role). Bibu picks the events from the brief (a target such as "start-ups that just raised funds" gives funding); when the brief names none, it takes new_role within 30 days. get_campaign's targeting.signals says which it picked, and update_campaign's signals changes them. false or left out: none. |
brief.goal | body | object | What every email and answer asks for: call, demo, in_person, chat, signup, visit, written, other ( |
brief.goal.kind | body | stringrequired | One of: call, demo, in_person, chat, signup, visit, written, other. |
brief.goal.other | body | string | At most 300 characters. |
brief.goal.link | body | string | At most 300 characters. |
brief.place | body | object | |
brief.place.scope | body | stringrequired | One of: home, french, uk_ireland, nordics, english, europe, developed, world, custom. |
brief.place.home | body | string | At most 100 characters. |
brief.place.countries | body | array of string | At most 50 items. |
signals | body | object | The recent events this campaign looks for (get_campaign's targeting.signals), for a campaign that already looks for some (brief.signals) and before its launch: a launched campaign keeps its events. Other events or another window is a new search: the campaign prepares again (status preparing), its review's people are found again, the emails you wrote stay. |
signals.kinds | body | array of stringrequired | The events to look for, one at least: funding (the company just raised funds), hiring (it is hiring for a role), growth (it is hiring a lot), acquisition (it just bought a company), new_role (the person just started in the role). At most 5 items. |
signals.jobs | body | array of string | For hiring and growth: words of the job titles the company hires for. Left out: as they are. At most 20 items. |
signals.withinDays | body | one of several | How recent the event must be, in days: 7, 30, 90. Left out: as it is. |
sending | body | object | |
sending.timezone | body | string | IANA time zone of the sending hours, e.g. Europe/Paris. |
sending.days | body | array of integer | Sending days, 0 = Sunday. |
sending.start | body | string | When sending starts, HH:MM (24-hour clock). |
sending.end | body | string | When sending ends, HH:MM, after start. |
sending.dailyPerMailbox | body | integer | Emails per mailbox and day, at most. From 1 to 200. |
replies | body | object | |
replies.aiSort | body | booleanrequired | Bibu sorts each reply (its stage). |
replies.aiDraft | body | booleanrequired | Bibu writes the answer. |
replies.aiSend | body | booleanrequired | Bibu sends its answer itself (needs aiSort and aiDraft). |
followUpPace | body | string | The follow-ups' rhythm, a preset of Bibu's (the missing follow-ups are written by its AI): default: 2 follow-ups, after 3 and 4 days, 2 credits each; steady: 3 follow-ups, after 3, 4 and 6 days, 2 credits each. A new campaign has the default (2 follow-ups). One of: default, steady. |
instructions | body | string or null | The campaign's own instructions for Bibu's AI writing; null: the company's defaults; "": none. At most 4,000 characters. |
rewriteEmails | body | boolean | With brief or instructions. true: Bibu rewrites the emails even if you wrote them; by default your own emails are kept. |
improving | body | boolean | |
writing | body | string | Who writes each person's email. template (a new campaign's default): the campaign's emails, the same for everyone, their variables filled for each person ({{first_name}}, {{company}}…); Bibu drafts them once, with the campaign's research, and you change them with update_campaign_emails. bibu (the option): Bibu writes each person's own email from them, 8 credits more for each email it wrote that is sent (first emails and follow-ups), campaigns on recent events too. One of: template, bibu. |
bookingLink | body | string or null | The campaign's own booking link (cal.com/you; https:// is added when missing): what {{booking_link}} becomes in its emails not sent yet, and what Bibu's answers offer. null or "": the company's again (get_company). A new link waits for the account's email address to be confirmed, like in the app (auth.err.verifyFirst). At most 500 characters. |
Example request
curl -X PATCH "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sending": {
"days": [
1,
2,
3,
4
],
"start": "09:00",
"end": "17:30",
"dailyPerMailbox": 25
}
}'Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "preparing",
"launching": true,
"createdAt": "2026-11-24T09:58:00.000Z",
"launchedAt": "2026-11-24T09:58:00.000Z",
"brief": {
"offer": "We help D2C brands turn first orders into repeat customers.",
"website": "https://maisonlune.fr",
"target": "Heads of e-commerce at French D2C brands with 20 to 200 people",
"antiTarget": "Marketplaces and agencies",
"people": 200,
"fromList": true,
"signals": true,
"goal": {
"kind": "call",
"other": "…",
"link": "https://maisonlune.fr"
},
"place": {
"scope": "…",
"home": "…",
"countries": [
"…"
]
}
},
"progress": {
"stage": "…",
"wanted": 12,
"found": 12,
"withEmail": 12,
"verified": 12,
"excluded": 12,
"error": "…"
},
"people": {
"asked": 250,
"matching": {
"count": 285,
"estimated": false
},
"beforeLaunch": 15,
"ready": 15,
"chosen": 0,
"left": 235,
"next": "launch",
"why": "full",
"leftOut": [
{
"reason": "2026-11-24",
"people": 200
}
]
},
"targeting": {
"summary": "…",
"titles": [
"Head of E-commerce"
],
"industries": [
"…"
],
"headcounts": [
"…"
],
"countries": [
"…"
],
"signals": {
"kinds": [
"funding",
"hiring"
],
"jobs": [
"accountant"
],
"withinDays": 30
}
},
"buyerGroups": {
"groups": [
{
"id": "g2",
"name": "Marketing leaders",
"pain": "Need more qualified demos without hiring",
"fit": 86,
"reach": {
"count": 285,
"estimated": true
},
"on": true,
"own": true,
"campaignId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique"
],
"excludeTitles": [
"Assistant",
"Stagiaire"
],
"seniorities": [
"director",
"c_suite"
],
"headcounts": [
"51-200",
"201-500"
],
"industries": [
"Hospitals and Health Care"
],
"countries": [
"France"
],
"locations": [],
"keywords": ""
},
"stated": true,
"edited": true
}
],
"editable": true,
"peopleEach": 700,
"from": "9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a"
},
"language": "fr",
"languages": [
"fr"
],
"emails": [
{
"delayDays": 3,
"subject": "Re: An idea for Maison Lune",
"body": "Yes, happy to talk next week."
}
],
"writing": "bibu",
"writingIncluded": true,
"sending": {
"timezone": "Europe/Paris",
"days": [
1,
2,
3,
4,
5
],
"start": "09:00",
"end": "18:00",
"dailyPerMailbox": 12,
"mailboxCount": 12,
"startsAt": "2026-11-24T09:58:00.000Z",
"finishesAt": "2026-11-24T09:58:00.000Z"
},
"replies": {
"aiSort": true,
"aiDraft": true,
"aiSend": true
},
"booking": {
"own": "…",
"company": "Maison Lune"
},
"schedule": {
"own": true,
"schedule": {
"days": [
1,
2,
3,
4,
5
],
"start": "09:00",
"end": "18:00",
"countries": {},
"smartDays": true,
"sundays": true
}
},
"blockers": [
{
"kind": "preparing"
}
],
"stats": {
"reached": 12,
"sent": 12,
"replies": 12,
"interested": 12,
"meetings": 12,
"bounced": 12,
"unsubscribed": 12
},
"sentSoFar": 12,
"plannedEmails": 12,
"findingAhead": true,
"leftOut": {},
"instructions": {
"own": "…",
"defaults": "…"
},
"improving": true,
"briefChange": {
"emails": "kept"
}
}Show all 212 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}MCP tool delete_campaignA running campaign stops sending at once. Its people waiting are never contacted; the replies already received stay in the inbox; the people already emailed are never emailed again by Bibu. It is listed nowhere after; it can be put back from the website's Undo for one minute.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X DELETE "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"ok": true
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/emailsMCP tool get_campaign_emailsThe sequence as written (the first email, then the follow-ups), in the campaign's language, with its variables. Before the launch, for an account that hasn't paid: the first email alone, its follow-ups are written at the launch (a first email you changed goes out as you left it). Two things an email sent has and this template doesn't: the line Bibu adds under the signature, the company's name (get_company; the website's domain while the name is empty), so the person knows who writes; and {{opening_line}}, a line of Bibu's own draft meant for one person: with writing template it stays empty and the line that holds it is removed, with writing bibu Bibu writes each person's whole email. preview_campaign_email shows the email as one person gets it.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/emails" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"language": "fr",
"emails": [
{
"delayDays": 3,
"subject": "Re: An idea for Maison Lune",
"body": "Yes, happy to talk next week."
}
]
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/emailsMCP tool update_campaign_emailsThe whole sequence, checked like in the app (no empty email, only variables Bibu can fill). Any time before the campaign is over, while it sends too: what was sent never changes, the people not emailed yet get the new ones. With writing template they are each person's emails, variables filled; with writing bibu, each person's own emails not sent yet are written again from them.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
emails | body | array of objectrequired | At most 10 items. |
emails[].delayDays | body | integerrequired | Days after the previous email (0 for the first). From 0 to 60. |
emails[].subject | body | stringrequired | The first email's subject; a follow-up's is ignored (it answers in the same thread). At most 300 characters. |
emails[].body | body | stringrequired | Plain text, with {{first_name}}, {{company}}, {{booking_link}}… filled per person. {{opening_line}} (Bibu's own draft has it) is a line meant for one person: with writing template it stays empty and the line that holds it is removed; with writing bibu, Bibu writes each person's whole email. At most 10,000 characters. |
Example request
curl -X PUT "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/emails" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"emails": [
{
"delayDays": 3,
"subject": "Re: An idea for Maison Lune",
"body": "Yes, happy to talk next week."
}
]
}'Example answer
{
"language": "fr",
"emails": [
{
"delayDays": 3,
"subject": "Re: An idea for Maison Lune",
"body": "Yes, happy to talk next week."
}
]
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/previewMCP tool preview_campaign_emailThe first email exactly as one real person of the campaign receives it, and the follow-ups they get without a reply. Without personId: one of its people, at random. It only reads: when that person's emails aren't settled yet (with writing bibu, their own, written for them), it shows the campaign's emails with their details and says written: false (Bibu settles theirs before they're sent). The body ends as the email sent does: the company's line under the signature and, where the law asks for it, the company's postal address (get_company).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
personId | query | string (uuid) | A person of the campaign: the id list_campaign_people gives (their conversation's), or their person id. |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/preview" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"person": {
"id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"firstName": "Claire",
"lastName": "Martin",
"title": "Head of E-commerce",
"company": "Maison Lune",
"email": "[email protected]"
},
"subject": "An idea for Maison Lune",
"body": "Hi Claire,\n\nMost of Maison Lune's first orders come from Instagram, I think. We help D2C brands turn them into repeat customers.\n\nWorth a short call next week?\n\nThomas\nMaison Studio",
"followUps": [
{
"body": "Hi Claire, a quick follow-up on my last email.\n\nThomas",
"delayDays": 3
},
{
"body": "Last one from me, Claire: if repeat orders matter this year, my calendar is here.\n\nThomas",
"delayDays": 5
}
],
"written": true
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/launchMCP tool launch_campaignThe big button: Bibu starts emailing real people, each action paid within the daily budget (in credits (1 credit = €0.001): the campaign's research 500, each person found 5 (100 from the extended database), their email found 30, each email sent 2 (follow-ups too); with the writing option, 8 more for each email Bibu wrote; get_prices gives every price; a campaign made before the credits keeps its price per email to its end). get_campaign_estimate says first what the campaign will cost and how many people the balance covers. It may start several campaigns: this one, and one more for each other buyer group left on (get_campaign's buyerGroups; switch one off before with set_buyer_group), the brief's number of people shared between them. The answer lists every campaign it started (campaigns, this one first): pause_campaign or stop_campaign stops each by its id. Each is active at once with the people already reviewed (chosen before the account paid: their addresses are found and checked then, and each one's emails written, before anything goes out), and Bibu finds the next ones in small batches just ahead of the sending (about a day of them at most); a campaign for another website than the company's website is refused (422, campaign.err.otherSite). Needs a card on file (402, billing.err.noCard: its sentence gives the page where the user saves one, get_billing's billingUrl; a key never saves a card), the credits for the research when the preparation did not pay it (402, credits.err.short) and nothing blocking (409/422 with the blocker's key: no mailbox ready, the sender's name, the law's postal address, which update_company sets…).
Idempotency-Key header required (a UUID): sent again with the same key, the request does nothing twice.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/launch" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "preparing",
"campaigns": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "preparing",
"buyerGroup": "Marketing leaders"
}
]
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.402payment_required· A payment method or budget is needed (no card on file, a payment failed).403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/buyer-groups/{groupId}MCP tool set_buyer_groupLike the switches of “Who buys your offer” on the campaign's review. Each other group left on becomes a campaign of its own at launch_campaign, which emails its own people; off, it gets no campaign. Until the launch (409 after), at no cost: nothing is searched now. The campaign's own group stays on (422). The answer is the campaign's buyerGroups. To change who a group's campaign looks for: update_buyer_group.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
groupId | path | stringrequired | A buyer group's id in this campaign (g1, g2…), as get_campaign's buyerGroups gives it. |
on | body | booleanrequired | true: a campaign of its own at the launch; false: none. |
Example request
curl -X PUT "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/buyer-groups/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"on": false
}'Example answer
{
"groups": [
{
"id": "g2",
"name": "Marketing leaders",
"pain": "Need more qualified demos without hiring",
"fit": 86,
"reach": {
"count": 285,
"estimated": true
},
"on": true,
"own": true,
"campaignId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique"
],
"excludeTitles": [
"Assistant",
"Stagiaire"
],
"seniorities": [
"director",
"c_suite"
],
"headcounts": [
"51-200",
"201-500"
],
"industries": [
"Hospitals and Health Care"
],
"countries": [
"France"
],
"locations": [],
"keywords": ""
},
"stated": true,
"edited": true
}
],
"editable": true,
"peopleEach": 700,
"from": "9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a"
}Show all 49 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/buyer-groups/{groupId}MCP tool update_buyer_groupWho a group's campaign looks for, set by you: job titles, titles left out, levels, company sizes, industries, countries, places, keywords. Each filter given replaces the group's; one left out stays. The answer is the group with its reach counted again, for free (counted: false when the lead source can't count that search; never a paid search to find out): count_buyer_group counts a search first, without saving it, and list_search_values lists the values allowed. The group is then yours (edited): Bibu searches exactly that, and no longer corrects or widens it by itself; a search that finds nobody says so. The campaign's own group: the campaign searches it from now on; the review's people who no longer fit leave, and Bibu searches the missing ones or starts a new search (preparation: status preparing, then ready; a few a day per account). Another group: nothing is searched now, its campaign is made at launch_campaign. name and pain rename the group. Once the review is there (409 while the campaign prepares) and until the launch (409 after). It spends nothing.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
groupId | path | stringrequired | A buyer group's id in this campaign (g1, g2…), as get_campaign's buyerGroups gives it. |
search | body | object | The filters to set. Left out: the search stays Bibu's. |
search.titles | body | array of string | Job titles to search, as people write them on LinkedIn ("DSI", "Responsable informatique"): give the usual local titles and the English ones. []: any title (then give seniorities). At most 50 items. |
search.excludeTitles | body | array of string | Job titles to leave out ("Assistant", "Stagiaire"). []: none. At most 50 items. |
search.seniorities | body | array of string | Levels. []: any level. A lead source without a level filter reads them only when no title is given: the titles then say the level. At most 50 items. |
search.headcounts | body | array of string | Company sizes (employees). []: any size. At most 50 items. |
search.industries | body | array of string | Company industries, by the names LinkedIn gives them ("Hospitals and Health Care"): list_search_values lists them, any other name is refused. []: any industry. At most 50 items. |
search.countries | body | array of string | Countries, by name in English or French, or ISO code ("France", "BE"). Countries Bibu emails nobody in (list_search_values' closedCountries) are left out; 422 when only those are left. []: the whole world Bibu emails in. The campaign's own group: they become the campaign's “Where?”. At most 50 items. |
search.locations | body | array of string | Regions or cities inside the countries ("Île-de-France", "Lyon"), as the lead source writes them. []: the whole countries. At most 50 items. |
search.keywords | body | string | Words a profile must hold: the narrowest filter, one wrong word empties the search. "": none. At most 200 characters. |
name | body | string | How the group is called, when its search no longer says its former name. The campaign follows its own group's new name when it carried the former one. At most 60 characters. |
pain | body | string | Their problem the offer solves, in one line. At most 160 characters. |
Example request
curl -X PATCH "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/buyer-groups/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique"
],
"headcounts": [
"51-200",
"201-500",
"501-1000"
]
}
}'Example answer
{
"group": {
"id": "g2",
"name": "Marketing leaders",
"pain": "Need more qualified demos without hiring",
"fit": 86,
"reach": {
"count": 285,
"estimated": true
},
"on": true,
"own": true,
"campaignId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique"
],
"excludeTitles": [
"Assistant",
"Stagiaire"
],
"seniorities": [
"director",
"c_suite"
],
"headcounts": [
"51-200",
"201-500"
],
"industries": [
"Hospitals and Health Care"
],
"countries": [
"France"
],
"locations": [],
"keywords": ""
},
"stated": true,
"edited": true
},
"counted": true,
"preparation": "none",
"leftOut": 12
}Show all 47 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/buyer-groups/{groupId}/countMCP tool count_buyer_groupThe count to look at before update_buyer_group: how many people the group's search would match with these filters over it (none: the search as it is), by the lead source's free count. Nothing is saved, nobody is searched, nothing is spent: call it as often as you change a filter, and see the count move. counted: false when the source can't count that search for free (reach is then null; never a paid search to find out). The number is the people who match, not people found: before the launch Bibu finds about 15 of them for the review, the others after launch_campaign.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
groupId | path | stringrequired | A buyer group's id in this campaign (g1, g2…), as get_campaign's buyerGroups gives it. |
search | body | object | The filters to try over the group's search. Left out: the search as it is. |
search.titles | body | array of string | Job titles to search, as people write them on LinkedIn ("DSI", "Responsable informatique"): give the usual local titles and the English ones. []: any title (then give seniorities). At most 50 items. |
search.excludeTitles | body | array of string | Job titles to leave out ("Assistant", "Stagiaire"). []: none. At most 50 items. |
search.seniorities | body | array of string | Levels. []: any level. A lead source without a level filter reads them only when no title is given: the titles then say the level. At most 50 items. |
search.headcounts | body | array of string | Company sizes (employees). []: any size. At most 50 items. |
search.industries | body | array of string | Company industries, by the names LinkedIn gives them ("Hospitals and Health Care"): list_search_values lists them, any other name is refused. []: any industry. At most 50 items. |
search.countries | body | array of string | Countries, by name in English or French, or ISO code ("France", "BE"). Countries Bibu emails nobody in (list_search_values' closedCountries) are left out; 422 when only those are left. []: the whole world Bibu emails in. The campaign's own group: they become the campaign's “Where?”. At most 50 items. |
search.locations | body | array of string | Regions or cities inside the countries ("Île-de-France", "Lyon"), as the lead source writes them. []: the whole countries. At most 50 items. |
search.keywords | body | string | Words a profile must hold: the narrowest filter, one wrong word empties the search. "": none. At most 200 characters. |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/buyer-groups/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/count" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique",
"Directeur des systèmes d’information"
],
"headcounts": [
"51-200",
"201-500",
"501-1000"
],
"industries": [
"Hospitals and Health Care"
]
}
}'Example answer
{
"search": {
"titles": [
"DSI",
"RSSI",
"Responsable informatique"
],
"excludeTitles": [
"Assistant",
"Stagiaire"
],
"seniorities": [
"director",
"c_suite"
],
"headcounts": [
"51-200",
"201-500"
],
"industries": [
"Hospitals and Health Care"
],
"countries": [
"France"
],
"locations": [],
"keywords": ""
},
"reach": {
"count": 285,
"estimated": true
},
"counted": true,
"saved": {
"count": 285,
"estimated": true
}
}Show all 38 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/search-valuesMCP tool list_search_valuesThe closed lists update_buyer_group and count_buyer_group check: the levels (seniorities), the company sizes (headcounts), the company industries as LinkedIn names them (about 500: q keeps those whose name holds these words), and the countries Bibu emails nobody in (the law there asks for consent first). Job titles, places and keywords are free text.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
q | query | string | Words an industry's name must hold ("health"), any case. Left out: every industry. At most 100 characters. |
Example request
curl "https://meetbibu.com/api/v1/search-values" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"seniorities": [
"owner",
"founder",
"c_suite",
"partner",
"vp",
"head",
"director",
"manager",
"senior",
"entry"
],
"headcounts": [
"1-10",
"11-50",
"51-200",
"201-500",
"501-1000",
"1001-5000",
"5001-10000",
"10001+"
],
"industries": [
"Hospitals and Health Care",
"Mental Health Care",
"Public Health"
],
"closedCountries": [
"Austria",
"Germany",
"Italy"
]
}Show all 34 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/pauseMCP tool pause_campaignNothing more goes out until resume_campaign; replies keep arriving.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/pause" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "paused"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/resumeMCP tool resume_campaignSending goes on where it stopped: Bibu emails the campaign's people again (real people), each action paid within the daily budget (in credits (1 credit = €0.001): the campaign's research 500, each person found 5 (100 from the extended database), their email found 30, each email sent 2 (follow-ups too); with the writing option, 8 more for each email Bibu wrote; get_prices gives every price; a campaign made before the credits keeps its price per email to its end).
Idempotency-Key header required (a UUID): sent again with the same key, the request does nothing twice.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/resume" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "active"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/stopMCP tool stop_campaignNothing more goes out, ever; replies still arrive in their conversations. Can't be undone.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/stop" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "stopped"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/retryMCP tool retry_campaignFor a campaign whose preparation failed (status failed): Bibu finds the people and writes the emails again from its brief (status preparing, then ready). Nothing is sent.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/retry" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "preparing"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/budgetMCP tool get_campaign_budgetIts share of the daily budget today (Bibu's, or your own cap, which stays), what it spent of it, the most it may get, and what Bibu did for it.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/budget" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"running": true,
"capCents": 1240,
"by": "bibu",
"spentTodayCents": 1240,
"priceCents": 1240,
"maxCents": 1240,
"dailyBudgetCents": 1240,
"managed": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"kind": "…",
"at": "2026-11-24T09:58:00.000Z"
}
]
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/budgetMCP tool set_campaign_budgetIn euros a day, within the workspace's daily budget (kept between one of its people, get_campaign_budget's priceCents, and what the other campaigns' own caps leave); it stays whatever Bibu does. null: Bibu sets it again.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
dailyCap | body | number or nullrequired | Euros a day; null: Bibu's share. From 0 to 100,000. |
Example request
curl -X PUT "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/budget" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"dailyCap": 20
}'Example answer
{
"ok": true
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/estimateMCP tool get_campaign_estimateAs the Launch button's lines: what the whole campaign costs in credits (1 credit = €0.001), part by part, for the brief's number of people (its research while still to pay, then for each person their finding, their email found, each email sent, each written by Bibu with the writing option, and the event that brought them on a campaign on recent events), and what the balance covers: the research, then whole people. Nothing is spent. A campaign made before the credits keeps its price per email to its end: pricing per_email, no estimate, its first email's price (priceCents).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/estimate" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"pricing": "credits",
"estimate": {
"research": 12,
"people": 200,
"emailsFound": 12,
"sent": 12,
"written": 12,
"events": 12,
"perPerson": 12,
"total": 41500
},
"euros": 12.4,
"balance": 12,
"covers": {
"research": true,
"people": 200
},
"priceCents": 1240
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/scheduleMCP tool update_campaign_scheduleEach person's local days and hours, per country; null: it follows the company's again (get_schedule). Any time before it is finished.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
schedule | body | object or nullrequired | When emails go out, in each person's own local time. |
schedule.days | body | array of integerrequired | 0 = Sunday. |
schedule.start | body | stringrequired | HH:MM (24-hour clock). |
schedule.end | body | stringrequired | HH:MM, after start. |
schedule.countries | body | objectrequired | A country's own days and hours, by ISO code (e.g. US); the default row holds for the others. |
schedule.smartDays | body | booleanrequired | Each country's own weekend is respected. |
schedule.sundays | body | booleanrequired | With smartDays: Sunday too. |
Example request
curl -X PUT "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/schedule" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schedule": {
"days": [
1,
2,
3,
4,
5
],
"start": "09:00",
"end": "18:00",
"countries": {},
"smartDays": true,
"sundays": true
}
}'Example answer
{
"ok": true
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/sendingMCP tool get_campaign_sendingBefore the launch: its blockers. Running: the next sending window, and what holds it (no card, no credits left, the budget spent, a mailbox in trouble, emails waiting for your check…), with the fix in Bibu.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/sending" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"status": "preparing",
"blockers": [
{
"kind": "preparing"
}
],
"next": {
"kind": "now"
},
"hold": {
"kind": "pool_paused"
},
"mailboxCount": 12,
"startsAt": "2026-11-24T09:58:00.000Z",
"finishesAt": "2026-11-24T09:58:00.000Z"
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/analyticsMCP tool get_campaign_analyticsIts numbers, each step of the journey (found, first email, follow-up, replied, hot leads, meetings) and its rates, replies by email of the sequence, and its people by country, company size and job title.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/analytics" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"stats": {
"reached": 12,
"sent": 12,
"replies": 12,
"interested": 12,
"meetings": 12,
"bounced": 12,
"unsubscribed": 12
},
"steps": {
"found": 12,
"firstEmail": 12,
"followUp": 12,
"replied": 12,
"hotLeads": 12,
"meetings": 12
},
"waiting": {
"firstEmail": 12,
"inSequence": 12
},
"rates": {},
"repliesAfter": [
12
],
"lastActionAt": "2026-11-24T09:58:00.000Z",
"pool": {
"emailable": 12,
"noAddress": 12,
"checking": 12,
"removed": 12
},
"sentByStep": [
12
],
"segments": {}
}Show all 38 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/peopleMCP tool list_campaign_peopleThe prospects kept in the campaign so far, hot leads first, then those who replied, then the latest active; 25 a page. Before the launch: the review's prospects only (about 15); the others are found as the emails go out (get_campaign's people).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
q | query | string | Searches names, companies, addresses and titles. At most 200 characters. |
page | query | integer | The page, from 1 (default 1). From 1 to 10,000. |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/people" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"data": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"firstName": "Claire",
"lastName": "Martin",
"title": "Head of E-commerce",
"company": "Maison Lune",
"companyDomain": "maisonlune.fr",
"country": "France",
"status": "queued",
"stage": "new",
"sent": 12,
"signal": "…"
}
],
"total": 42,
"page": 1,
"pageSize": 25
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/listedMCP tool list_all_peopleBefore the launch, Bibu finds about 15 people for the review. This lists everyone the campaign's search finds, 1,000 at most, at 1 credit a person: who they are (name, job, company, country), no fit check, no email address. Call it first without confirm: it answers how many people it would list (count), their price in credits, your balance and whether it covers them, and the people listed so far; nothing is searched or spent. Then call it with confirm: true (a new Idempotency-Key): the list starts in the background when the balance covers it (402, credits.err.short, otherwise), and each person is charged as they are listed; call it again without confirm to read them, a page of 100 at a time. A person listed is not in the campaign: launch_campaign finds the campaign's people as before, and one of them who was listed is charged as any person found. Only for a campaign ready to launch (409 while it is prepared, or once launched) whose search is of people (422 for a search by recent events).
Idempotency-Key header required (a UUID): sent again with the same key, the request does nothing twice.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
confirm | body | boolean | true: start the list (charged as it goes). Left out or false: the count and the price only, nothing spent. |
page | body | integer | The page, from 1 (default 1). From 1 to 10,000. |
Example request
curl -X POST "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/listed" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"confirm": false,
"page": 1
}'Example answer
{
"quote": {
"count": 640,
"counted": true,
"credits": 640,
"balance": 12,
"covers": true,
"listed": 12
},
"started": true,
"data": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"firstName": "Claire",
"lastName": "Martin",
"title": "Head of E-commerce",
"company": "Maison Lune",
"companyDomain": "maisonlune.fr",
"country": "France"
}
],
"total": 42,
"page": 1,
"pageSize": 25
}Show all 25 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.402payment_required· A payment method or budget is needed (no card on file, a payment failed).403forbidden· This key can't do that (read only), or it isn't yours to do.404not_found· Nothing with this id in this company.409conflict· Not in this state (e.g. a campaign not running, already launched), or the same Idempotency-Key still running.422unprocessable· Bibu refuses these values (its reason in error.key), or the Idempotency-Key was used for another request.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/campaigns/{id}/companiesMCP tool list_campaign_companiesParameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
page | query | integer | The page, from 1 (default 1). From 1 to 10,000. |
Example request
curl "https://meetbibu.com/api/v1/campaigns/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/companies" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"data": [
{
"name": "D2C brands",
"domain": "maisonlune.fr",
"country": "France",
"size": "…",
"industry": "…",
"people": 200,
"contacted": 12,
"replied": 12,
"hot": 12
}
],
"total": 42,
"page": 1,
"pageSize": 25
}Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.404not_found· Nothing with this id in this company.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.
/analyticsMCP tool get_analyticsEmails sent (first emails and follow-ups), delivered, bounced, hot leads, meetings and money spent over a period, every campaign or one, with a small series per day.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
period | query | string | today, 7d (default), 30d or all. One of: today, 7d, 30d, all. |
campaignId | query | string (uuid) | A Bibu id (UUID). |
Example request
curl "https://meetbibu.com/api/v1/analytics" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"period": "…",
"from": "…",
"to": "…",
"campaignId": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
"sent": 12,
"firstEmails": 12,
"followUps": 12,
"bounced": 12,
"delivered": 12,
"interested": 12,
"meetings": 12,
"hotLeads": 12,
"spentCents": 1240,
"series": [
{
"from": "…",
"to": "…",
"sent": 12,
"delivered": 12,
"hotLeads": 12,
"spentCents": 1240
}
]
}Show all 25 lines
Possible errors
400bad_request· The request isn't valid: a field (error.field), a field it doesn't take, or the JSON. A missing Idempotency-Key answers 400 too, with its own code: idempotency_key_required.401unauthorized· No valid API key.429rate_limited· More than 120 requests in a minute: wait (Retry-After).500server_error· Something failed on Bibu's side, or a service it uses: try again.