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

# Vobiz API Versioning & Deprecation Policy

> How Vobiz versions the REST API, which changes are additive versus breaking, and the deprecation lifecycle: Deprecation and Sunset headers and a 90-day minimum before removal.

The Vobiz REST API is versioned in the URL path. The current version is **v1**, and every request carries it:

```text theme={null}
https://api.vobiz.ai/api/v1
```

The version lives entirely in the path, so an integration pinned to `/api/v1` keeps talking to v1 until you change the URL yourself. Pinning is the only version control you need - the URL you deploy is the contract you get.

## Compatibility contract

Vobiz ships changes to v1 continuously. Anything on the additive list can appear in v1 at any time, without notice, so build your client to tolerate it. Anything on the breaking list goes through the [deprecation lifecycle](#deprecation-lifecycle) instead.

### Additive changes

| Change | Example |
| - | - |
| A new endpoint | A new path added under `/api/v1` |
| A new optional request field | A new optional body property on an existing operation |
| A new response field | A new key in an existing JSON response object |
| A new value in an output-only enum | A new status or hangup-cause string in a response |
| A new optional response header | Diagnostic metadata on an existing response |

### Breaking changes

| Change | Example |
| - | - |
| Removing or renaming a field | Dropping a response key your code reads |
| Changing a field's type | An integer becoming a string |
| Changing the HTTP status code for an outcome | A `200` becoming a `201` |
| Making an optional request field required | A body property gaining a `required` constraint |
| Removing an endpoint | Retiring a path under `/api/v1` |
| Removing a value from a request enum | Rejecting an input value that used to be accepted |

> [!NOTE]
>
> **Ignore unknown response fields.** Parse responses leniently: read the keys you need and skip the ones you do not recognise. Clients that reject unexpected keys - strict schema validators, generated models with "additional properties" turned off, exhaustive `switch` statements over enum values - break on additive changes that are safe by design.

## Deprecation lifecycle

A breaking change to v1 moves through four stages.

**1. Announced**

The change is documented. The affected field or endpoint keeps working exactly as before, and the docs name the replacement.

**2. Deprecated**

The resource is marked `deprecated` in the [OpenAPI specification](https://www.vobiz.ai/docs/api-reference#download-the-api-contract) and listed under [Currently deprecated](#currently-deprecated). Where the deprecation covers a whole endpoint, its responses carry a `Deprecation` header. Behaviour is unchanged - the marker is a signal to migrate.

**3. Sunset**

A removal date is announced on this page and, for a whole endpoint, sent in a `Sunset` header alongside `Deprecation`. The resource still works up to that date.

**4. Removed**

The field or endpoint is gone. Requests that depend on it fail - see [Error Handling](https://www.vobiz.ai/docs/errors.md) for the response shape.

Vobiz keeps a deprecated field or endpoint available for a minimum of **90 days** between the sunset announcement and removal, so you have a defined window to migrate. The removal date is never earlier than 90 days after it is first published.

## Deprecation and Sunset headers

When a whole endpoint enters the deprecation lifecycle, its responses carry two standard HTTP response headers. No v1 endpoint is deprecated today, so you will not see them yet - but handle them now so the first deprecation does not catch your integration off guard. They use different formats - do not parse them the same way.

```http theme={null}
Deprecation: @1751327999
Sunset: Tue, 30 Jun 2026 23:59:59 GMT
```

| Header | Specification | Format | Meaning |
| - | - | - | - |
| `Deprecation` | [RFC 9745](https://www.rfc-editor.org/rfc/rfc9745.html) | Structured Fields Date: `@` followed by seconds since the Unix epoch | When the endpoint became (or becomes) deprecated |
| `Sunset` | [RFC 8594](https://www.rfc-editor.org/rfc/rfc8594.html) | HTTP-date | When the endpoint is expected to stop responding |

In the example above, `@1751327999` is `Mon, 30 Jun 2025 23:59:59 GMT` and the sunset follows a year later. The gap between the two is never shorter than 90 days. A `Deprecation` value in the future means the endpoint is scheduled for deprecation and is not deprecated yet.

Treat both headers as advisory metadata: log them, alert on them, and keep processing the response body normally. No v1 endpoint carries a sunset date today.

> [!NOTE]
>
> Every v1 response goes through the same auth path regardless of deprecation state. See [Authentication](https://www.vobiz.ai/docs/api-reference/authentication.md) for the required headers.

## Currently deprecated

Three request properties on `POST /api/v1/Account/{auth_id}/trunks` are marked `deprecated` in the OpenAPI specification. They still work; new integrations should use the replacements.

| Deprecated property | Use instead |
| - | - |
| `username` | `credential_uuid` |
| `password` | `credential_uuid` |
| `ip_whitelist` | `ipacl_uuid` |

`credential_uuid` attaches an existing SIP credential (username, password, realm) by UUID, and `ipacl_uuid` attaches an existing IP access-control list. Create those resources first, then pass their UUIDs. See [Create a Trunk](https://www.vobiz.ai/docs/trunks/create-trunk.md), [SIP credentials](https://www.vobiz.ai/docs/trunks/credentials/create-credential.md), and [IP access control lists](https://www.vobiz.ai/docs/trunks/ip-acl/create-ip-acl.md).

## Staying current

* Generate your client from the [OpenAPI specification](https://www.vobiz.ai/docs/api-reference#download-the-api-contract) and regenerate it periodically - `deprecated: true` markers surface as deprecation warnings in most generators.
* Keep response parsing lenient so additive changes land without a deploy.
* Watch for `Deprecation` and `Sunset` headers in your HTTP client middleware and surface them in your logs.
* Check the [Vobiz status page](https://status.vobiz.ai) for live service availability.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.