> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mymarky.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Versioning

> How API versioning works

The Marky API uses date-based versioning, inspired by Stripe. This means the
API evolves without breaking your existing integrations.

## How it works

Every request returns a `Marky-Version` header with the API version used:

```
Marky-Version: 2026-04-08
```

You can pin your integration to a specific version by sending the header:

```bash theme={null}
curl https://api.mymarky.ai/api/businesses \
  -H "Authorization: Bearer mk_live_your_key" \
  -H "Marky-Version: 2026-04-08"
```

If you don't send the header, you get the latest version.

## When we make changes

* **Non-breaking changes** (new fields, new endpoints) are added without a version bump.
  Your existing code won't break.
* **Breaking changes** (removed fields, changed behavior) create a new version date.
  Your pinned version continues working until you're ready to upgrade.

## Current version

| Version      | Date          | Notes           |
| ------------ | ------------- | --------------- |
| `2026-04-08` | April 8, 2026 | Initial release |

## Best practices

* **Pin your version** in production integrations to avoid surprises
* **Test against the latest** version periodically to adopt improvements
* **Check the changelog** for new features and deprecation notices
