# Baatzo API changelog

Every change to API v1, its status webhook and the MCP server that a developer can notice, newest first. Dates are in India time.

## Versioning

Changes to API v1 add to it: a new field, endpoint or event never breaks code that ignores it. A change that can break an integration is listed on this page at least 7 days before it takes effect, marked **Deprecated** with the date it ends.

## 28 November 2026

- **Changed.** A Marketing send through `POST /v1/messages` keeps the workspace's sending hours, as campaigns do: outside them it answers `409 quiet_hours` with `details.retry_at`. New error code `quiet_hours`.

- **Added.** The [full API](https://api.baatzo.com/docs#full-api), part of Pro. On Starter and Growth its operations answer `403 plan_required` with `details.upgradeTo`; API v1 works as before on every paid plan.

- **Added.** [Contacts](https://api.baatzo.com/docs#contacts): list, read, add or update by number, change, tag, add to lists, opt out and erase (DPDP erasure), with [consent records](https://api.baatzo.com/docs#consent-rules) that carry how the person agreed, the words they agreed to, when, and the IP address. `GET /v1/tags` and `GET /v1/lists`.

- **Added.** [Templates](https://api.baatzo.com/docs#templates), read only: the list, one template with the version Meta reviewed, and its review status.

- **Added.** [Campaigns](https://api.baatzo.com/docs#campaigns): create a draft, estimate it, schedule it or send it now (held 30 seconds), cancel it and read its results.

- **Added.** [Marketing sends](https://api.baatzo.com/docs#marketing): `POST /v1/messages` sends a Marketing template to a contact with a recorded marketing consent, through Meta's Marketing Messages API. Image and video headers by https link (`variables.header.image`, `variables.header.video`), for Utility templates too.

- **Added.** [Event webhooks](https://api.baatzo.com/docs#events): `message.received`, `contact.opted_in`, `contact.opted_out`, `template.status_changed`, `campaign.finished`, `payment_link.paid` and `conversation.assigned`, signed and retried like the status events. Choose them in Settings, Developers or with `PUT /v1/webhook-endpoint/events`; read the delivery log and replay with [`/v1/webhook-deliveries`](https://api.baatzo.com/docs#webhook-api). An endpoint saved before today keeps the four status events.

- **Added.** Scopes `templates:read`, `campaigns:read`, `campaigns:write`, `messages:send_marketing` and `webhooks:manage`, on Pro.

- **Added.** Error codes `contact_exists`, `consent_refused`, `consent_required`, `recipient_unreachable`, `campaign_state` and `nothing_to_send`. `recipient_not_allowed` also answers a Marketing send to a +1 number, with `details.reason` `us_number`.

- **Added.** MCP tools `get_contact`, `list_campaigns` and `create_campaign`, on Pro ([MCP server](https://api.baatzo.com/docs/mcp.html#tools)).

- **SDK.** Version 0.2.0 of `@baatzo/node` and `baatzo`, with the full API and typed event payloads, is coming. The 0.1 versions keep working.

## 27 November 2026

- **Changed.** Downloading an export that is still queued or building answers `409 export_not_ready` instead of `410 export_expired`, so a client can wait and try again. `410 export_expired` now means only that the export is gone or could not be made.

- **Added.** A 401 from API v1 carries `WWW-Authenticate: Bearer realm="Baatzo API"`.

- **Added.** `GET https://api.baatzo.com/health` answers `{"ok":true}` while the API and its database answer. `/openapi.json` redirects to [/docs/openapi.json](https://api.baatzo.com/docs/openapi.json), and every unknown path answers a JSON `404 not_found`.

- **SDK.** [`@baatzo/node`](https://www.npmjs.com/package/@baatzo/node) 0.1.2 changes only its package details: bug reports go to [baatzo.com/developers](https://baatzo.com/developers) and support@baatzo.com.

## 26 November 2026

- **Added.** Official SDKs: [`@baatzo/node`](https://www.npmjs.com/package/@baatzo/node) on npm and [`baatzo`](https://pypi.org/project/baatzo/) on PyPI, version 0.1.0. Each sends a message, reads one and verifies a webhook signature, with no dependencies.

- **SDK.** 0.1.1 of both reads the key from `BAATZO_API_KEY`, the name these docs use. `BAATZO_KEY` still works.

## 25 November 2026

- **Added.** Every answer past the key check carries `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`, also as `X-RateLimit-*`.

- **Added.** Roll an API key in Settings, Developers: the old key works for 24 hours beside the new one.

- **Docs.** Request and response examples on every OpenAPI operation, and the reference for AI assistants at [llms.txt](https://api.baatzo.com/docs/llms.txt).

## 24 November 2026

- **Added.** OAuth sign-in for the [MCP server](https://api.baatzo.com/docs/mcp.html#oauth), with dynamic registration and PKCE. Keys keep working.

## 23 November 2026

- **Added.** [Sandbox keys](https://api.baatzo.com/docs#sandbox) (`bz_test_`) on every plan.

- **Added.** The [MCP server](https://api.baatzo.com/docs/mcp.html), [exports](https://api.baatzo.com/docs#exports) and the [consent certificate](https://api.baatzo.com/docs#consent).

- **Added.** The webhook [delivery log and replay](https://api.baatzo.com/docs#replay), with the header `Baatzo-Replay: 1`.

## 22 November 2026

- **First release of API v1.** `POST /v1/messages`, `GET /v1/messages/{id}` and the signed status webhook. A failed message explains why in English and Hindi.

## Versions

The version is in the path: `/v1`. A change that could break a working integration gets a new path, such as `/v2`; we do not make it inside `/v1`. A security fix or a change Meta requires can be the exception, and it is listed here.

These can be added to `/v1` at any time, so write code that ignores what it does not know:

- a new endpoint, a new optional request field or header, or a new scope;

- a new field in an answer or a webhook, a new webhook type, a new status or a new error code;

- different wording in `message` and in explanations. Act on `code`.

We count these as breaking: removing or renaming a field, endpoint or code, changing a field's type or meaning, making an optional field required, and changing how the webhook is signed.

No end date is set for `/v1`. If a version is ever retired, its last day is published on this page first.

Source: https://api.baatzo.com/docs/changelog.html
