Mailboxes and domains
The sending infrastructure: your mailboxes and domains, connecting your own mailbox, domains with their mailboxes bought for you (paid by card), your own domains.
/mailboxesMCP tool list_mailboxesWhere your emails go from: your mailboxes (status, warm-up, today's sends against the daily limit, and their health: read every hour for free, tested once a day for 2 credits), your domains (their status, mailboxes, months paid; your own domain's nameservers to set), Bibu's own mailboxes (network: what they sent for campaigns that already send from them), and what your own brand's domains cost a month. Sending from Bibu's own mailboxes: coming soon.
Parameters
No parameters.
Example request
curl "https://meetbibu.com/api/v1/mailboxes" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"sendsFrom": "own",
"connect": "page",
"mailboxes": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"email": "[email protected]",
"name": "D2C brands",
"status": "setting_up",
"source": "provider",
"dailyLimit": 12,
"sentToday": 12,
"warmup": {
"skipped": true,
"waitsUntilWarm": true,
"readyOn": "2026-11-24",
"progress": 1
},
"lastError": "…",
"lastErrorMessage": "…",
"pausedUntil": "…",
"releasedOn": "2026-11-24",
"health": {
"status": "problem",
"reasons": [
"listedIp"
],
"held": {
"reason": "listed",
"since": "…"
},
"bounceRate": 1,
"complaints": 12,
"warmup": {
"state": "…",
"day": 12,
"health": "excellent",
"inboxRate": 12,
"start": "started"
},
"dns": {
"spf": "ok",
"dkim": "ok",
"dmarc": "ok"
},
"test": {
"state": "running",
"at": "2026-11-24T09:58:00.000Z",
"landing": "inbox",
"spf": "…",
"dkim": "…",
"dmarc": "…",
"blocklists": {
"ip": "clean",
"domain": "clean"
}
},
"tests": {
"today": 12,
"left": 12,
"againAt": "2026-11-24T09:58:00.000Z",
"running": true,
"next": null
},
"checkedAt": "2026-11-24T09:58:00.000Z"
},
"bought": {
"kind": "new",
"monthCents": 1240,
"nextChargeOn": "2026-11-24",
"pack": 12
}
}
],
"domains": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "ordered",
"mailboxes": 12,
"own": true,
"nameservers": [
"…"
],
"paidUntil": "…",
"lastError": "…",
"lastErrorMessage": "…",
"bought": {
"platform": "google",
"yearCents": 1240,
"renewsOn": "2026-11-24",
"slotsLeft": 12
},
"nextTryAt": "2026-11-24T09:58:00.000Z"
}
],
"network": {
"available": true,
"paused": true,
"days": 7,
"mailboxes": 12,
"domains": 12,
"sent": 12
},
"ownBrand": {
"domains": 12,
"mailboxes": 12,
"monthlyCents": 1240,
"firstEmailsOn": "2026-11-24",
"waitingForCard": true
}
}Show all 112 lines
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.
/mailboxes/connectMCP tool connect_mailboxAs the app's “Your own mailboxes”: send the mailbox's login and Bibu connects it at once, with no page to open and no link to follow (but for a Microsoft mailbox, below). provider google: a Google Workspace or Gmail mailbox, with its address and an app password (in the Google account: 2-Step Verification on, then an app password); no servers. provider imap (the default): any other mailbox, with its password and its SMTP and IMAP servers and ports. Both logins are tried before the mailbox is connected, so a wrong password or a server that can't be reached is said at once (422 mailboxes.err.auth, mailboxes.connect.err.appPassword for a Google one, mailboxes.err.connection; error.detail is what the mail server answered, word for word). provider microsoft: a Microsoft 365 or Outlook mailbox takes no password, a person signs it in with Microsoft: the call answers how: page and url, Bibu's own page (Settings › Mailboxes, Microsoft chosen) for the user to open, signed in to Bibu; the mailbox shows in list_mailboxes once they are back. Sent with a password instead, such a mailbox answers 422 mailboxes.connect.err.microsoft. Bibu then starts the mailbox's free warm-up and tests it at once; it sends at once (under its daily limit), unless waitUntilWarm: a new mailbox, held from campaigns until it is warm. The password only serves to connect the mailbox: Bibu doesn't keep it, never answers it and never logs it (a test copy of Bibu keeps it encrypted). The account's email address must be confirmed first. Several at once: connect_mailboxes.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
provider | body | string | google: a Google Workspace or Gmail mailbox and its app password. imap (the default): any other mailbox, with its servers. microsoft: a Microsoft 365 or Outlook mailbox, which takes no password: connect_mailbox answers the page where a person signs it in (nothing else is needed); connect_mailboxes answers mailboxes.connect.err.microsoft for it. One of: google, imap, microsoft. |
email | body | string | The mailbox's address. At most 254 characters. |
firstName | body | string | The first name it signs with (default: the sender's). At most 100 characters. |
lastName | body | string | The last name it signs with (default: the sender's). At most 100 characters. |
password | body | string (password) | google: the app password (16 letters, with or without its spaces), not the Google account's password. imap: the mailbox's password. Never kept by Bibu, answered or logged. At most 500 characters. |
smtpHost | body | string | imap: its SMTP server. At most 253 characters. |
smtpPort | body | integer | imap: 465 (TLS) or 587. From 1 to 65,535. |
imapHost | body | string | imap: its IMAP server. At most 253 characters. |
imapPort | body | integer | imap: 993 (TLS). From 1 to 65,535. |
waitUntilWarm | body | boolean | New mailboxes: campaigns wait until they are warm (14 days of warm-up in good health). Default false: a mailbox sends at once, its warm-up alongside (a mailbox already in use). |
Example request
curl -X POST "https://meetbibu.com/api/v1/mailboxes/connect" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "google",
"email": "[email protected]",
"password": "abcd efgh ijkl mnop"
}'Example answer
{
"connected": true,
"how": "page",
"url": "https://maisonlune.fr",
"mailbox": {
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"email": "[email protected]",
"name": "D2C brands",
"status": "setting_up",
"source": "provider",
"dailyLimit": 12,
"sentToday": 12,
"warmup": {
"skipped": true,
"waitsUntilWarm": true,
"readyOn": "2026-11-24",
"progress": 1
},
"lastError": "…",
"lastErrorMessage": "…",
"pausedUntil": "…",
"releasedOn": "2026-11-24",
"health": {
"status": "problem",
"reasons": [
"listedIp"
],
"held": {
"reason": "listed",
"since": "…"
},
"bounceRate": 1,
"complaints": 12,
"warmup": {
"state": "…",
"day": 12,
"health": "excellent",
"inboxRate": 12,
"start": "started"
},
"dns": {
"spf": "ok",
"dkim": "ok",
"dmarc": "ok"
},
"test": {
"state": "running",
"at": "2026-11-24T09:58:00.000Z",
"landing": "inbox",
"spf": "…",
"dkim": "…",
"dmarc": "…",
"blocklists": {
"ip": "clean",
"domain": "clean"
}
},
"tests": {
"today": 12,
"left": 12,
"againAt": "2026-11-24T09:58:00.000Z",
"running": true,
"next": null
},
"checkedAt": "2026-11-24T09:58:00.000Z"
},
"bought": {
"kind": "new",
"monthCents": 1240,
"nextChargeOn": "2026-11-24",
"pack": 12
}
}
}Show all 74 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.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.
/mailboxes/connect/batchMCP tool connect_mailboxesconnect_mailbox for up to 20 mailboxes in one call, as the app's CSV import (more: call again with the next ones). Each mailbox is an object as connect_mailbox takes one (provider, email, password, the name it signs with, the servers of an imap one); waitUntilWarm is for all of them. One answer per mailbox, in the order sent: connected with the mailbox, or error (its key, its sentence, the field at fault, and detail: what its mail server answered, word for word). A refused mailbox never stops the others: the call answers 200 once it ran, even when none is connected. The same checks and the same keys as connect_mailbox; an address twice in the call is refused the second time (mailboxes.connect.err.duplicate). Always by their logins: no link is ever answered (a Microsoft mailbox answers mailboxes.connect.err.microsoft: connect_mailbox with provider microsoft, one at a time). Passwords are never kept by Bibu, answered or logged.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
mailboxes | body | array of objectrequired | 1 to 20 mailboxes, each as connect_mailbox takes one. At most 20 items. |
mailboxes[].provider | body | string | google: a Google Workspace or Gmail mailbox and its app password. imap (the default): any other mailbox, with its servers. microsoft: a Microsoft 365 or Outlook mailbox, which takes no password: connect_mailbox answers the page where a person signs it in (nothing else is needed); connect_mailboxes answers mailboxes.connect.err.microsoft for it. One of: google, imap, microsoft. |
mailboxes[].email | body | string | The mailbox's address. At most 254 characters. |
mailboxes[].firstName | body | string | The first name it signs with (default: the sender's). At most 100 characters. |
mailboxes[].lastName | body | string | The last name it signs with (default: the sender's). At most 100 characters. |
mailboxes[].password | body | string (password) | google: the app password (16 letters, with or without its spaces), not the Google account's password. imap: the mailbox's password. Never kept by Bibu, answered or logged. At most 500 characters. |
mailboxes[].smtpHost | body | string | imap: its SMTP server. At most 253 characters. |
mailboxes[].smtpPort | body | integer | imap: 465 (TLS) or 587. From 1 to 65,535. |
mailboxes[].imapHost | body | string | imap: its IMAP server. At most 253 characters. |
mailboxes[].imapPort | body | integer | imap: 993 (TLS). From 1 to 65,535. |
waitUntilWarm | body | boolean | New mailboxes: campaigns wait until they are warm (14 days of warm-up in good health). Default false: a mailbox sends at once, its warm-up alongside (a mailbox already in use). |
Example request
curl -X POST "https://meetbibu.com/api/v1/mailboxes/connect/batch" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mailboxes": [
{
"provider": "google",
"email": "[email protected]",
"password": "abcd efgh ijkl mnop"
},
{
"provider": "google",
"email": "[email protected]",
"password": "qrst uvwx yzab cdef",
"firstName": "Léa",
"lastName": "Martin"
}
]
}'Example answer
{
"connected": 12,
"failed": 12,
"results": [
{
"email": "[email protected]",
"connected": true,
"mailbox": {
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"email": "[email protected]",
"name": "D2C brands",
"status": "setting_up",
"source": "provider",
"dailyLimit": 12,
"sentToday": 12,
"warmup": {
"skipped": true,
"waitsUntilWarm": true,
"readyOn": "2026-11-24",
"progress": 1
},
"lastError": "…",
"lastErrorMessage": "…",
"pausedUntil": "…",
"releasedOn": "2026-11-24",
"health": {
"status": "problem",
"reasons": [
"listedIp"
],
"held": {
"reason": "listed",
"since": "…"
},
"bounceRate": 1,
"complaints": 12,
"warmup": {
"state": "…",
"day": 12,
"health": "excellent",
"inboxRate": 12,
"start": "started"
},
"dns": {
"spf": "ok",
"dkim": "ok",
"dmarc": "ok"
},
"test": {
"state": "running",
"at": "2026-11-24T09:58:00.000Z",
"landing": "inbox",
"spf": "…",
"dkim": "…",
"dmarc": "…",
"blocklists": {
"ip": null,
"domain": null
}
},
"tests": {
"today": 12,
"left": 12,
"againAt": "2026-11-24T09:58:00.000Z",
"running": true,
"next": null
},
"checkedAt": "2026-11-24T09:58:00.000Z"
},
"bought": {
"kind": "new",
"monthCents": 1240,
"nextChargeOn": "2026-11-24",
"pack": 12
}
},
"error": {
"key": "…",
"message": "…",
"field": "…",
"detail": "…"
}
}
]
}Show all 85 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.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.
/mailboxes/{id}MCP tool update_mailboxAs the app's mailbox row and Settings › Advanced: the name it signs with, its daily limit (15 at most for one Bibu made, 100 for your own), pause or resume it (resuming one in error logs in again; one paused after a spam complaint only the Bibu team resumes), and whether it waits for its warm-up (warmup: false sends at once; true waits until it is warm: one Bibu made, unless over, or one of yours).
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string (uuid)required | A Bibu id (UUID). |
firstName | body | string | At most 100 characters. |
lastName | body | string | At most 100 characters. |
dailyLimit | body | integer | From 1 to 100. |
paused | body | boolean | |
warmup | body | boolean | true: campaigns wait until it is warm (a mailbox Bibu made: unless its warm-up is over); false: it sends at once, its warm-up alongside. |
Example request
curl -X PATCH "https://meetbibu.com/api/v1/mailboxes/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"firstName": "Claire",
"lastName": "Martin",
"dailyLimit": 12,
"paused": true,
"warmup": true
}'Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"email": "[email protected]",
"name": "D2C brands",
"status": "setting_up",
"source": "provider",
"dailyLimit": 12,
"sentToday": 12,
"warmup": {
"skipped": true,
"waitsUntilWarm": true,
"readyOn": "2026-11-24",
"progress": 1
},
"lastError": "…",
"lastErrorMessage": "…",
"pausedUntil": "…",
"releasedOn": "2026-11-24",
"health": {
"status": "problem",
"reasons": [
"listedIp"
],
"held": {
"reason": "listed",
"since": "…"
},
"bounceRate": 1,
"complaints": 12,
"warmup": {
"state": "…",
"day": 12,
"health": "excellent",
"inboxRate": 12,
"start": "started"
},
"dns": {
"spf": "ok",
"dkim": "ok",
"dmarc": "ok"
},
"test": {
"state": "running",
"at": "2026-11-24T09:58:00.000Z",
"landing": "inbox",
"spf": "…",
"dkim": "…",
"dmarc": "…",
"blocklists": {
"ip": "clean",
"domain": "clean"
}
},
"tests": {
"today": 12,
"left": 12,
"againAt": "2026-11-24T09:58:00.000Z",
"running": true,
"next": null
},
"checkedAt": "2026-11-24T09:58:00.000Z"
},
"bought": {
"kind": "new",
"monthCents": 1240,
"nextChargeOn": "2026-11-24",
"pack": 12
}
}Show all 69 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.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.
/mailboxes/{id}MCP tool remove_mailboxBibu sends nothing more from it; its conversations stay. Bibu disconnects it for good, and deletes one it made. A released one: only its line goes.
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/mailboxes/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.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.
/mailboxes/{id}/checkMCP tool check_mailboxAs the app's “Check now”: one ordinary email from the mailbox to Bibu's test inbox. A few minutes later its health (list_mailboxes) says where it landed (inbox, spam, or missing), SPF, DKIM and DMARC as the receiver saw them, and whether Spamhaus lists its server or its domain. 2 credits a test, refused when the balance can't pay it (402, credits.err.short). 10 tests a mailbox a UTC day, Bibu's own daily one included: past them, 409 mailboxes.health.err.limit (health.tests.againAt says when). One at a time (409 mailboxes.health.err.running). Refused for a paused mailbox (422 mailboxes.health.err.paused) or one not connected yet (422 mailboxes.health.err.notConnected). A mailbox listed by Spamhaus, or in spam twice in a row, is held from new first emails until a test says it is well again.
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/mailboxes/6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90/check" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"email": "[email protected]",
"name": "D2C brands",
"status": "setting_up",
"source": "provider",
"dailyLimit": 12,
"sentToday": 12,
"warmup": {
"skipped": true,
"waitsUntilWarm": true,
"readyOn": "2026-11-24",
"progress": 1
},
"lastError": "…",
"lastErrorMessage": "…",
"pausedUntil": "…",
"releasedOn": "2026-11-24",
"health": {
"status": "problem",
"reasons": [
"listedIp"
],
"held": {
"reason": "listed",
"since": "…"
},
"bounceRate": 1,
"complaints": 12,
"warmup": {
"state": "…",
"day": 12,
"health": "excellent",
"inboxRate": 12,
"start": "started"
},
"dns": {
"spf": "ok",
"dkim": "ok",
"dmarc": "ok"
},
"test": {
"state": "running",
"at": "2026-11-24T09:58:00.000Z",
"landing": "inbox",
"spf": "…",
"dkim": "…",
"dmarc": "…",
"blocklists": {
"ip": "clean",
"domain": "clean"
}
},
"tests": {
"today": 12,
"left": 12,
"againAt": "2026-11-24T09:58:00.000Z",
"running": true,
"next": null
},
"checkedAt": "2026-11-24T09:58:00.000Z"
},
"bought": {
"kind": "new",
"monthCents": 1240,
"nextChargeOn": "2026-11-24",
"pack": 12
}
}Show all 69 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.
/domains/suggestionsMCP tool suggest_domainsDomain names Bibu can buy now for you, close to your company's name or website, free and not used in Bibu, each with its year (yearCents: at cost, what Bibu pays for that name plus the card's fee: about €12.19 for a .com, its own price for each name) and the platforms its mailboxes may be on. Pick one for order_mailboxes (kind new); search_domains finds others. Looking them up is free; nothing is reserved. The search can take a minute: while it goes on, 422 mailboxes.err.domainsStillLooking: call again in a few seconds (the same search goes on).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
count | query | integer | How many names, 1 to 10 (default 6). From 1 to 10. |
Example request
curl "https://meetbibu.com/api/v1/domains/suggestions" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"currency": "EUR",
"mailboxesPerDomain": 12,
"data": [
{
"name": "D2C brands",
"yearCents": 1240,
"monthlyCents": 1240,
"platforms": [
"google"
]
}
]
}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.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.
/domains/searchMCP tool search_domainsAs “Search a name” in Settings › Mailboxes: the domain names Bibu can buy now for a word or a whole domain you give (query: trybibu, or trybibu.io to rank that exact name first when it is free), free and not used in Bibu, each with its year (yearCents: at cost, what Bibu pays for that name plus the card's fee: about €12.19 for a .com, its own price for each name) and the platforms its mailboxes may be on. taken: the exact name asked, when it can't be bought here. Pick one for order_mailboxes (kind new), as a suggested one. Free; nothing is reserved. The search can take a minute: while it goes on, 422 mailboxes.err.domainsStillLooking: call again with the same query in a few seconds (the same search goes on, and counts once). 5 new queries a minute per account, then 429 mailboxes.err.searchTooOften. A query with no word in it: 422 mailboxes.err.searchWord; no free name: 422 mailboxes.err.searchNone.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
query | query | stringrequired | A word (trybibu) or a whole domain (trybibu.io): Bibu searches the word, and ranks the exact name first when it is free. At most 300 characters. |
count | query | integer | How many names, 1 to 20 (default 10). From 1 to 20. |
Example request
curl "https://meetbibu.com/api/v1/domains/search?query=trybibu.io" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"currency": "EUR",
"mailboxesPerDomain": 12,
"data": [
{
"name": "D2C brands",
"yearCents": 1240,
"monthlyCents": 1240,
"platforms": [
"google"
]
}
],
"taken": "…"
}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.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.
/mailboxes/quoteMCP tool quote_mailboxesWhat order_mailboxes would charge now, on the card saved in Bibu, never from the balance. kind new: a domain (suggest_domains or search_domains) with 1 to 5 new mailboxes on Google Workspace or Microsoft 365, warmed for 14 days (its year now, at cost, what Bibu pays for that name plus the card's fee: about €12.19 for a .com, its own price for each name; and each mailbox €5 a month from today); kind add: 1 to 5 more on a domain you bought here, up to its slots; kind prewarmed: mailboxes already warm, ready to send, by 3 (€15 each the first month, then €10). The mailboxes are signed with firstName and lastName (default: your company's sender). Show dueNowCents and monthlyCents to the user, then pass them to order_mailboxes. Sending from Bibu's own mailboxes: coming soon.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
kind | query | stringrequired | new: a domain with new mailboxes; add: more mailboxes on a domain you bought here; prewarmed: mailboxes already warm, by 3. One of: new, add, prewarmed. |
platform | query | string | google (Google Workspace, the default) or microsoft (Microsoft 365). kind add: the domain's own. prewarmed: google only today. One of: google, microsoft. |
domain | query | string | kind new: the domain to buy (suggest_domains, search_domains); kind add: a domain you bought here. At most 253 characters. |
count | query | integerrequired | How many mailboxes: 1 to 5 (new, add), 3, 6 or 9 (prewarmed). From 1 to 9. |
firstName | query | string | The name the mailboxes send under (default: your company's sender). At most 60 characters. |
lastName | query | string | At most 60 characters. |
Example request
curl "https://meetbibu.com/api/v1/mailboxes/quote?kind=new&count=9" \
-H "Authorization: Bearer $BIBU_API_KEY"Example answer
{
"currency": "EUR",
"kind": "new",
"platform": "google",
"domain": "maisonlune.fr",
"count": 42,
"emails": [
"[email protected]"
],
"dueNowCents": 1240,
"monthlyCents": 1240,
"domainYearCents": 1240,
"mailboxFirstMonthCents": 1240,
"mailboxMonthCents": 1240,
"registryEmail": "[email protected]",
"domains": 12,
"mailboxes": 12,
"mailboxesPerDomain": 12,
"perDomainCents": [
12
],
"domainMonthlyCents": 1240,
"free": true,
"card": true,
"needsCard": true,
"billingUrl": "https://maisonlune.fr",
"firstEmailsOn": "2026-11-24"
}Show all 28 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.
/mailboxes/orderMCP tool order_mailboxesBuys what quote_mailboxes priced, as Settings › Mailboxes › “Buy mailboxes” does. expectedMonthlyCents (and expectedDueNowCents) must be the quote's, shown to the user: another price is refused (409, mailboxes.err.priceChanged) before anything is paid. The card saved in Bibu is charged dueNowCents first (never the balance); without a card, 402 (mailboxes.err.needCard): the user adds one in the app. A card refused or a bank asking to confirm buys nothing. Then Bibu orders them: new mailboxes arrive within hours and send after 14 days of warm-up; pre-warmed ones send within a day. What can't be made is refunded on the card. Each mailbox is then charged monthly from today, a domain yearly, until you remove it (remove_mailbox; a pre-warmed one stops with its pack of 3). Refused too: an order less than a minute ago, your company's postal address or phone missing in My company (a new domain is registered in its name), the prices no longer Bibu's (mailboxes.err.costChanged, nothing charged).
Idempotency-Key header required (a UUID): sent again with the same key, the request does nothing twice.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
kind | body | string | new, add or prewarmed (see quote_mailboxes). Required since v1.8: the former order by number of domains is no longer sold. One of: new, add, prewarmed. |
platform | body | string | google (default) or microsoft; as quoted. One of: google, microsoft. |
domain | body | string | As quoted. At most 253 characters. |
count | body | integer | As quoted. From 1 to 9. |
names | body | array of object | The name each mailbox sends under, in order: one for all, or one each (default: your company's sender). Pre-warmed: the first one for all. At most 9 items. |
names[].firstName | body | stringrequired | At most 60 characters. |
names[].lastName | body | stringrequired | At most 60 characters. |
domains | body | integer | Before v1.8: a number of domains of 5 mailboxes each. No longer sold: 422 mailboxes.err.useBuy. From 1 to 10. |
expectedMonthlyCents | body | integerrequired | quote_mailboxes' monthlyCents, as shown to the user. At least 0. |
expectedDueNowCents | body | integer | quote_mailboxes' dueNowCents, as shown to the user (checked when given). At least 0. |
Example request
curl -X POST "https://meetbibu.com/api/v1/mailboxes/order" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"expectedMonthlyCents": 1240
}'Example answer
{
"ok": true,
"dueNowCents": 1240,
"monthlyCents": 1240,
"order": {
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"status": "charging",
"emails": [
"[email protected]"
]
},
"domains": [
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "ordered",
"mailboxes": 12,
"own": true,
"nameservers": [
"…"
],
"paidUntil": "…",
"lastError": "…",
"lastErrorMessage": "…",
"bought": {
"platform": "google",
"yearCents": 1240,
"renewsOn": "2026-11-24",
"slotsLeft": 12
},
"nextTryAt": "2026-11-24T09:58:00.000Z"
}
],
"firstEmailsOn": "2026-11-24"
}Show all 35 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.
/domainsMCP tool add_own_domainAs Settings › Advanced › “Your own domains”: Bibu makes new mailboxes on a domain you already own, signed with the sender's name. Nothing is bought, nothing charged. Choose a domain used only for sending, not your main one: Bibu takes over its management (its nameservers), so a website or email on it would stop working. The answer's nameservers are to set at its registrar in place of its current ones; once they are, Bibu makes the mailboxes, connects and warms them up. The account's email address must be confirmed first.
Takes an optional Idempotency-Key header.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
name | body | stringrequired | The domain (example.com). At most 300 characters. |
mailboxes | body | integerrequired | How many mailboxes Bibu makes on it, 1 to 5. From 1 to 5. |
Example request
curl -X POST "https://meetbibu.com/api/v1/domains" \
-H "Authorization: Bearer $BIBU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "maisonstudio-mail.com",
"mailboxes": 5
}'Example answer
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands",
"status": "ordered",
"mailboxes": 12,
"own": true,
"nameservers": [
"…"
],
"paidUntil": "…",
"lastError": "…",
"lastErrorMessage": "…",
"bought": {
"platform": "google",
"yearCents": 1240,
"renewsOn": "2026-11-24",
"slotsLeft": 12
},
"nextTryAt": "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.403forbidden· This key can't do that (read only), or it isn't yours to do.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.