Versioning and deprecation
#Versions
The path has a major version: /v1. Inside a major version the API only changes in ways that do not break your code. The date version in the header SmartChat-Version (today 2026-10-25) tells you which state of the API answered.
#What may change without notice (not breaking)
- New fields in answers. Ignore fields you do not know.
- New optional parameters.
- New error codes inside the existing classes (
error_type). Handle unknown codes by theirerror_type. - New webhook events and new values in lists that the docs call open.
#What is breaking
Removing a field, changing the meaning of a field, a new required parameter, removing a call or a value you can send. A breaking change is only made in a new major version (/v2).
#Deprecation
When a call or field will be removed:
- It is marked in the changelog and on its reference page.
- Answers carry the headers
Deprecation: trueandSunset(the date of removal). - You get at least 6 months between the announcement and the removal.
#Changelog
Every change is listed in the changelog, newest first, with the kind of change: added, changed, deprecated, removed, fixed or security. The OpenAPI file is the one description of the API. Before every release it is compared with the last released one; an unannounced breaking change fails that check.