# API changes: November 18, 2026

[← Changelog](/docs/changelog) · [November 2026](/docs/changelog/2026-11)

### NEW-1118-1: the business process template list is readable with a personal key

[GET /v1/bizproc-templates](/docs/entities/bizproc-templates/list), [POST /v1/bizproc-templates/search](/docs/entities/bizproc-templates/search) and [GET /v1/bizproc-templates/fields](/docs/entities/bizproc-templates/fields) now accept an API key `vibe_api_…`, not only an OAuth application key. The list contains the templates the key owner can access in Bitrix24. The `list` action in the batch calls `POST /v1/batch` and `POST /v1/bizproc-templates/batch` works with an API key too. Uploading, updating and deleting templates still require an OAuth application key and answer an API key with `403 OAUTH_REQUIRED`.

In `GET /v1/me` for an API key, the field `api.entityApi.oauthOnlyEntities` no longer contains `bizproc-templates`, and the new field `api.entityApi.oauthOnlyOperations` lists the operations that require an OAuth application key: `{"bizproc-templates": ["create", "update", "delete"]}`. In `GET /v1/guide` the entity `bizproc-templates` is visible to an API key, and its field `oauthAppKeyRequiredFor` names the same operations.

### FIX-1118-2: server commands report a lost connection sooner

**Before**

When the agent reconnected, waiting for the command response could continue until the full timeout even though the original connection had already closed.

**After**

When the agent reconnects, a request for a shell command running on the server ends immediately with a connection error instead of waiting for the full timeout. The command is not sent again. File transfers to the server (archive upload, writing `.env`) still wait for a response until their own timeout and may receive it over the agent's new connection; the endpoints below are affected in the steps where they run shell commands on the server. Deployment keeps its existing outcome check: it confirms success or reports an interruption.

If the gateway ends a command already running on the server during key synchronization (`syncServerEnv: true`), `envSync.status` is `failed`: the environment may already have changed, so check the server. Other key synchronization outcomes are unchanged.

**Impact on integrators**

If the response is lost, check the operation outcome before executing a modifying command again.

**Affected endpoints:**

- [POST /v1/infra/servers](/docs/infra/servers/create), [GET /v1/infra/servers/{id}](/docs/infra/servers/get), [DELETE /v1/infra/servers/{id}](/docs/infra/servers/delete).
- [POST /v1/infra/servers/{id}/exec](/docs/infra/deploy/exec), [POST /v1/infra/servers/{id}/deploy](/docs/infra/deploy/deploy), [POST /v1/infra/servers/{id}/upload](/docs/infra/deploy/upload), [GET /v1/infra/servers/{id}/logs](/docs/infra/deploy/logs).
- [POST /v1/infra/servers/{id}/start](/docs/infra/lifecycle/start), [POST /v1/infra/servers/{id}/wake](/docs/infra/lifecycle/wake), [POST /v1/infra/servers/{id}/reboot](/docs/infra/lifecycle/reboot), [PATCH /v1/infra/servers/{id}/mode](/docs/infra/access/mode), [PATCH /v1/infra/servers/{id}/port](/docs/infra/deploy/port).
- [GET /v1/infra/servers/{id}/db](/docs/infra/database/info), [GET /v1/infra/servers/{id}/db/schema](/docs/infra/database/schema), [POST /v1/infra/servers/{id}/db/query](/docs/infra/database/query), [POST /v1/infra/servers/{id}/db/execute](/docs/infra/database/execute).
- [GET /v1/infra/servers/{id}/db/tables/{table}/rows](/docs/infra/database/rows), [POST /v1/infra/servers/{id}/db/tables/{table}/rows](/docs/infra/database/rows-create), [PATCH /v1/infra/servers/{id}/db/tables/{table}/rows/{key}](/docs/infra/database/rows-update), [DELETE /v1/infra/servers/{id}/db/tables/{table}/rows/{key}](/docs/infra/database/rows-delete).
- [GET /v1/infra/servers/{id}/app-db/prepare](/docs/infra/database/prepare-status), [POST /v1/infra/servers/{id}/app-db/prepare](/docs/infra/database/prepare), [POST /v1/infra/servers/{id}/db/backups](/docs/infra/database/snapshot), [POST /v1/infra/servers/{id}/db/restore](/docs/infra/database/restore).
- [POST /v1/cowork/applications/{id}/key](/docs/cowork/applications-key), `POST /v1/app-user-signin/servers/{serverId}/enable`.

### NEW-1118-3: Agent maintenance instructions in code discovery

When receiving an agent maintenance key by code, the [GET /v1/me](/docs/keys-auth/me) response in the `issued` and `claimed` states includes a `servicing` block: server request URLs, agent runtime details, and operating rules. The agent first reads status and logs; any change requires the owner's explicit consent.

### NEW-1118-4: task comment list and lookup name the store of a row

[GET /v1/tasks/:taskId/comments](/docs/entities/task-comments/list) now reads both stores — the task chat and the comment block of the old card — and merges them into one series by creation date, so comments written before the account moved to the new task card are returned again. Every list row carries a `source` field: `chat` for a chat comment, `legacy` for an entry of the old card's comment block. Comment numbers in the two stores are independent and overlap numerically, so `id` names a comment only together with this field.

[GET /v1/tasks/:taskId/comments/:id](/docs/entities/task-comments/get) and [attachment download](/docs/entities/task-comments/file-download) accept an optional `source` parameter with the value `chat` or `legacy`: it narrows the lookup to the named store. Without the parameter the behaviour is unchanged — chat-first, with the old read path on a miss — so existing requests still answer HTTP 200 as before. The `source` field of the comment response names the store, and the `downloadUrl` of every attachment already carries the `?source=` parameter with that value. A value other than `chat` and `legacy` is refused with `400 INVALID_SOURCE`, and Bitrix24 is not called in that case.

The legacy store returns at most 50 records per call, so a full page of it is reported by `meta.truncated: true`, and `meta.sources` names the stores whose contents the response learned about. When the legacy store cannot be read, the response remains HTTP 200 and is assembled from the chat with `meta.sources: ["chat"]`. Sorting by `ID` on a task holding both stores compares creation dates: chat identifiers and old-card identifiers live in separate spaces that overlap numerically. For the same reason a numeric `ID` is not an incremental-sync cursor — to pick up what is new, filter by `POST_DATE`.

### BC-1118-5: Personal pins, favorites, and saving files to Drive without automatic retries

> Old format supported until: not provided

**Before**

[POST /v1/chats/files/save](/docs/chats/files/save) could return HTTP 200 after retrying an initial 503 from Bitrix24 or after following a redirect successfully. If the first call saved the file before the failure, a retry could save a second copy.

**After**

The endpoint sends one request to Bitrix24. A 503 from Bitrix24 now returns `502 BITRIX_UNAVAILABLE`, and a redirect returns `502 BITRIX_REDIRECT_REFUSED`.

**What integrators should do**

Handle both 502 responses. After an error, the save outcome may be unknown. Check the saved-files folder in Drive, and send a new request only if the file is missing.

**New capabilities**

Added personal message pins and favorite messages: paginated lists and commands to set or remove the current user’s mark. Favorites also have a separate counter. The new lists accept `chat` followed by the real chat id, including private chats.

- [GET /v1/chats/:dialogId/pins/personal](/docs/chats/messages/personal-pins)
- [POST /v1/chats/messages/:messageId/pin/personal](/docs/chats/messages/personal-pins-create)
- [DELETE /v1/chats/messages/:messageId/pin/personal](/docs/chats/messages/personal-pins-delete)
- [GET /v1/chats/:dialogId/favorites](/docs/chats/messages/favorites)
- [GET /v1/chats/:dialogId/favorites/count](/docs/chats/messages/favorites-count)
- [POST /v1/chats/messages/:messageId/favorite](/docs/chats/messages/favorites-create)
- [DELETE /v1/chats/messages/:messageId/favorite](/docs/chats/messages/favorites-delete)

[GET /v1/chats/configuration](/docs/chats/discovery/configuration) provides personal pin availability, pin limits, the permission policy and API version markers. Missing data remains unknown. A version marker does not replace Bitrix24 permission.

[GET /v1/chats/:dialogId/load](/docs/chats/messages/load) provides the initial personal pin block `personalPins` and the `personalPinsHasNextPage` flag on a full load when the feature is available.

### FIX-1118-6: the WRONG_KEY message and hint for a server with an application point to replacing the key in the card

**Before**

For a server that has a live application, the `403 WRONG_KEY` answer on deploy, exec, upload and log reads advised rebinding the server (in `error.message` too) and switching the client key.

**After**

For such a server `error.message` and `hint` say the application key was replaced or is not yours: the application owner clicks "Replace key" in the application card and passes over the new key, and the client puts it into `X-Api-Key`. The code and status of the response stay the same — `403 WRONG_KEY`.

### NEW-1118-7: Employee signatures through the Vibe API

The `/v1/sign-b2e` section covers employee legal fields and profiles, templates and bundles, sending and reading documents, personal and company safes, HCM Link documents and external signature providers. The `sign.b2e` scope is required; operation pages list additional scopes and permissions. Sending has legal consequences and is never retried automatically. [Documentation](/docs/sign-b2e).

Six REST V3 operations for legal fields, profiles, templates and bundles are being rolled out with `sign 26.1300.0`. Until the update reaches the Bitrix24 account, they return `422 METHOD_NOT_YET_AVAILABLE` with `error.release`: this signals rollout, not an integration error. The classic methods in this family are already generally available.

### FIX-1118-8: a lost environment file write during key replacement is no longer reported as an unreachable server

**Before**

When replacing a key with `syncServerEnv: true` in [POST /v1/cowork/applications/{id}/key](/docs/cowork/applications-key), a lost response to writing the server environment file returned `envSync.status: unreachable` ("the environment was not touched"), even though the file may already have changed and been left unreadable to the application.

**After**

The outcomes below apply to the response of [POST /v1/cowork/applications/{id}/key](/docs/cowork/applications-key). If the response to writing the environment file is lost, the platform restores the file's previous owner and returns `envSync.status: failed`. If the owner could not be restored, the response is `envSync.status: owner_restore_failed`. If the file's previous owner is unknown, the platform does not change it and returns `envSync.status: failed`. If the file was written and the response to restarting the application is lost, the response is `envSync.status: restart_failed`. `unreachable` remains only when the environment was definitely not touched: the server was unreachable before the write, or the write command did not reach the server. The successful key replacement response is unchanged.
