Back to Features
🛠️

Versioned API

ActivePlatformMUSTFREE

What it does

POTAL API uses URL-based versioning (/api/v1/) to ensure backward compatibility. Breaking changes are introduced in new versions only, while existing versions continue to work. Deprecation notices are communicated via headers and changelog.

How to use it

1

Use the latest version

All current endpoints are under /api/v1/. Include the version prefix in all requests.

2

Check deprecation headers

Responses may include X-API-Deprecated and Sunset headers for endpoints scheduled for removal.

3

Follow the changelog

Subscribe to the API changelog for advance notice of new versions and deprecations.

4

Migrate gradually

When a new version launches, both old and new versions run in parallel for at least 6 months.

Related Features

Having issues?