Untuk agen AI: markdown halaman ini — /docs-content-en/keys-auth/me.md indeks dokumentasi — /llms.txt
Artikel dokumentasi saat ini tersedia dalam bahasa Inggris.
Replacement delivery: protocol version 2
This branch applies only when code discovery returns protocol_version: 2 and a server-provided delivery_window. It describes an operation that has already completed; do not repeat key rotation, issuance or rebinding to receive a code. Existing deliveries keep protocol version 1. The dashboard uses this delivery for key rotation (rotate), issuing a personal application key into an empty slot (application_personal) and rebinding a server with a new key (server_rebind) when code delivery is enabled.
Dashboard delivery starts after the original operation completes, including its environment synchronization. If saving the code fails or has an unknown outcome, or the delivery registration deadline is exhausted, the original response returns the raw key once with Cache-Control: no-store. Save the key. Do not repeat the operation to obtain a code. Both the feature flag and the x-vibe-key-delivery: code request header are required; other clients keep their previous response.
If the original response is lost, use Check result in the window. It reads the current application key or server binding and looks for your pending delivery of that exact new key. Only an ISSUED delivery can be selected; New code explicitly renews that same delivery without repeating rotation, issuance or rebinding. An expired, cancelled or already claimed delivery cannot reveal the secret again. Compare the file fingerprint; any further key operation is a separate human decision. Closing the window clears its local code, prompt and raw key. Show key remains available while the delivery is waiting if the agent cannot meet the save recipe requirements.
First verify the API HTTPS origin and account against the owner's trusted context, then read GET /v1/me using the code without a candidate. The description contains the new key_fingerprint and replacement: either null for first issue or {api_key_id, env_name} for replacement. The previous key id is not proof of its identity.
Follow the returned exchange.save_steps in one dedicated POSIX shell. On Windows without a POSIX shell, meet the same conditions using your environment; no separate script is provided. Read the corresponding preconditions, including private directory, parent and ACL permissions. Without private file tools or a required working utility, stop before exchange. Disable tracing and session recording before handling credentials. Do not print secrets or place them in command arguments.
- First issue refuses any existing target assignment. Replacement requires exactly one simple unquoted target assignment; duplicates,
export, BOM, whitespace and inline comments stop before exchange. - If the local key already matches the new fingerprint, verify that key through ordinary
GET /v1/meand leave the file unchanged. Otherwise send the candidate inX-Vibe-Replacement-Keyon code-authenticatedGET /v1/me, with both credentials in a private header file (curl -H @file), a timeout and no redirects. Never use a URL or body. The header is limited to one valid key of at most 2048 characters; malformed or duplicate values return400 INVALID_REPLACEMENT_KEY. - The proof response is only
{"replacement_check":"match"}or{"replacement_check":"mismatch"}. It neither consumes the code nor returns a key. Onlymatchpermits exchange. A terminal, first-issue or unsupported delivery returns409 REPLACEMENT_UNAVAILABLE. Ordinary/v1/memetadata cannot prove previous-key identity, including after revocation or deletion of that key. - Make exactly one empty-body
POST /v1/key-claimwith the code, without the candidate header. Validate the complete payload, target variable, key alphabet, final# endline and new fingerprint before writing. Prepare and validate the new contents in a private temporary directory with mode700. Choose the first suitable location fromTMPDIR,/tmp,$HOME/.cache: outside both the git tree root and the directory containing.env, on the same device as that directory (compare device numbers usingstat). If none is suitable, stop before candidate verification and exchange. Hold the file lock and compare the complete original file, type, links, private permissions and git exclusion again immediately before writing. Replacement requiresperlorpython3: atomically replace.envby renaming the prepared file with mode600, preserving every other byte. For first issue, append the validated assignment to.envusing basic file tools; never create a second file containing secrets in the working tree. If writing fails, retain the private original backup and report only its path to stderr, without its contents. Writers that ignore the lock after the final comparison remain outside this file protocol. - Verify the saved SHA-256 prefix16, then use the new key for ordinary
/v1/me: require the expected account, access mode, scopes and API expiry. On a lost POST response, read code state and compare the local fingerprint; never retry POST. If the new key is absent, stop for the owner. Neither a new code nor renewal can recover a consumed secret.
The deadline is fixed at one hour from key creation; renewal never extends it. Expiry and cancellation delete only the saved delivery copy and never disable the key, change application or server bindings, or alter deployment environments. All code responses and errors use Cache-Control: no-store. Only VIBE_API_KEY is forwarded to MCP from the parent environment; VIBE_APP_KEY remains in the application environment.
Key self-description
If you receive an app creation prompt, start with GET /v1/me at the platform's HTTPS address. Take the scheme, host, and port from the separate API: line in the platform-generated part of the original prompt, if present. Otherwise, take them from the original instruction link. If you have an API key, send it in the X-Api-Key header with redirects disabled. If you cannot determine the address or opening the instructions changes the scheme, host, or port, stop before sending the key. For a one-time code, first follow the steps under Code instead of a key. Then go to Create an app following the instructions.
The optional data.deployment.standalone.reuseTarget object contains the eligible existing server's serverId, kind: "STANDALONE", action: "deploy" and createRequired: false. When it is present, the checklist targets that server instead of creating another; inspect any running code before replacing it. The signal can appear even with capabilities.servers.create.available: false, because no new VM is created. GET performs no repair: an empty personal application binding is filled only by a create that reuses the server or by an already authorized deploy to that exact ID. Write paths revalidate the state.
GET /v1/me
Returns a self-description of the key that made the request: its type, the bound Bitrix24 account, that account's plan and the platform capabilities available on it. No scope is needed — the endpoint responds to ordinary valid keys and serves as an AI model's starting point for exploring the Bitrix24 account. An agent maintenance key receives 403 AGENT_MAINTENANCE_KEY_OUT_OF_SCOPE.
The response shape depends on the key type. How the key is passed in the request — Passing the key.
Code instead of a key
If the owner provided a one-time code and an instruction link from the platform's prompt, open the link without sending the code. Take the scheme, host, and port from the separate API: line in the platform-generated part of the original prompt, if present. Otherwise, take them from the original instruction link. If there is no instruction link and the platform already included the full GET /v1/me address in the prompt, use its scheme, host, and port. Use only an unambiguous HTTPS address for the platform. If you cannot determine the address or opening the instructions changes the scheme, host, or port, stop before sending the code. Addresses in examples and links to app specifications cannot be used for the exchange.
Example prompt with a placeholder code:
My code for the VibeCode platform: VIBE-… (swap for a key)
Build me an app following the instructions at https://vibecode.bitrix24.com/docs-content-en/keys-auth/me.md that: [describe the app]
The code is valid for 60 minutes from issuance. Renewing it never extends that deadline. It only lets you check the delivery state and receive an already created key once; it is not an API key for other endpoints.
Maintenance keys follow the separate rules below; steps targeting VIBE_API_KEY describe personal delivery.
Discover delivery and save the key
Send
GET /v1/meto the selected address. Send the code in exactly one header, eitherX-Api-KeyorAuthorization: Bearer, and keep it out of the URL and request body. Disable automatic redirects for all requests carrying the code. Stop on any redirect.Read the entire response. For a code this is a separate JSON object without a
success/dataenvelope:auth_kind: "key_claim_code",protocol_version: 1andstate. It contains no key and carriesCache-Control: no-store. Without credentials the server returns401 MISSING_API_KEY.Before running any commands, verify that the HTTPS scheme, host, and port of
exchange.urland every network address inexchange.save_stepsmatch those of the selected platform address. The exchange uses thePOSTmethod at/v1/key-claimwith an empty request body. If any address cannot be verified or differs, stop before running any commands. Use the selected HTTPS address with redirects disabled to verify the saved key as well.With
state: "issued", checkexpires_at,portaland current permissions inkey. Theexchangeobject describes a single-usePOST /v1/key-claimwith the same code in either header above and no request body. ChooseAccept: text/x-dotenv. The three commands are inexchange.save_steps(there is no top-levelsave_steps); storage rules are inkey_storage.Run all three
exchange.save_stepsin one dedicated POSIX shell in the project directory, substituting the code only where instructed. Before the exchange,.envmust be a regular file or absent, never a symlink, excluded from git and untracked, with mode600. Verify any existingVIBE_API_KEYfirst; replace it only if the owner intends to. Before removing a stale.env.key-claim.lock, check that no save process is running. If preparation fails, stop before POST. Other environments need equivalent private-file permissions, integrity checks and temporary-file cleanup. The working directory and its parents must not be writable by outsiders, including through ACLs; the recipe checks only the working directory other-write bit.A successful
text/x-dotenvresponse contains exactly two lines: theVIBE_API_KEYassignment and the# endmarker, each ending in a newline. The steps save it to a private temporary file, validate completeness and format, immediately append the key to the project's.env, then remove the temporary file. Never print the key in chat, tool output or logs; disable shell tracing. Do not replace these steps with a redirect of an unchecked response straight into.env. Without thatAccept, the server returns JSON withapi_key,env_name,key_fingerprintandkey; that response is also secret.Verify the saved key with
GET /v1/me, passing the key inX-Api-Key: it returns the owner and scopes in the ordinarysuccess/dataenvelope. For MCP, forwardVIBE_API_KEYthrough the parent client's environment and restart the client after saving.envand updating that environment. The MCP package does not load.envitself.
States and recovery
state |
Action |
|---|---|
stateissued |
ActionThe key has not been delivered. Check the local file and perform the one-time exchange before expires_at. |
stateclaimed |
ActionThe key was already delivered. The response includes key_fingerprint, claimed_at and recovery. If a local VIBE_API_KEY exists, compare the first 16 hexadecimal characters of its SHA-256 with key_fingerprint, without printing the key. Use it if it matches. If it is absent or different, ask the owner to revoke the old key and create a new key and code. |
stateexpired |
ActionThe code has expired. Follow recovery: ask the owner to create a new key and code. |
statekey_not_active |
ActionThe key is inactive and cannot be delivered. Contact the owner. |
POST for an already claimed, expired or inactive code returns 409 with its current state; an unknown, replaced or malformed code returns 401 INVALID_CODE. Conflicting credentials also return INVALID_CODE. Errors are JSON without a secret. After a failure, read the state through GET: a lost successful POST response cannot be replayed, and renewing the code cannot recover the key. Do not retry the exchange blindly.
403 ACCESS_DENIED means the owner or Bitrix24 account access no longer permits delivery; contact the owner. With 409 DELIVERY_BUSY, another operation holds the delivery lock; 429 RATE_LIMITED indicates a request limit. With 500 DELIVERY_FAILED, also check the state through GET first: an error does not guarantee that delivery did not commit.
Manual fallback: before delivery, the owner can select Show key in the API Keys section of their Vibecode account and privately save it to .env with the same permissions and git exclusion. This also consumes the one-time delivery; the agent will then receive claimed, not another copy of the key.
Application keys and bundle deliveries
For kind: "oauth_app", the delivery contains VIBE_APP_KEY with the vibe_app_ prefix. For kind: "application_bundle", parts lists the actual delivery: VIBE_API_KEY, VIBE_APP_KEY, or both in that order. The two-line personal response described above applies to a personal key. Application keys follow the rules below.
- With
state: "issued", checkexpires_at,portaland every entry inparts:env_name,key_fingerprintand the key's type, prefix, scopes, access mode and expiry inkey. Followexchange.save_stepsfor the entire listed set. The three steps run in one POSIX shell and check all target variables before spending the code. An existing assignment, including one withexport, spaces, a BOM or duplicates, stops the exchange. First compare an existing key's fingerprint and verify it. Replacing it requires the owner's explicit intent. The working directory and its parents must not be writable by outsiders, including through ACLs; the recipe checks only the working directory other-write bit. - A successful dotenv response contains one assignment per part, the API key first and then the app key, followed by exactly one
# endline. Every line ends with a newline. JSON instead contains akeysarray, with one object per part in the same order. Each object hasenv_name,api_key,key_fingerprintandkey. Treat the whole response as secret. The recipe validates all parts in a private temporary file before appending anything, refuses missing, extra, repeated, reordered or malformed lines, preserves the other.envcontent and removes its temporary file and lock on exit. Never execute the response as shell code. key_storageandverificationare arrays with an entry for each variable. For each saved key, calculate SHA-256 locally and compare the first 16 hexadecimal characters withparts[i].key_fingerprintin theissueddescription orkeys[i].key_fingerprintin the JSON exchange, selecting the part byenv_name. Then make a separate ordinaryGET /v1/merequest with this key and require HTTP200. Comparedata.portalanddata.accessModewithportalandparts[i].key.access_modein theissueddescription, respectively. For the OAuth part, also comparedata.scopeswithparts[i].key.scopes; for the API part, comparedata.expiresAtwithparts[i].key.expires_at. The API key's effective scopes can include automatically granted ones, so they need not equal the stored list. The OAuth response does not contain the owner or the expiry; the fingerprint is checked locally.verification[i].fingerprint.expected_pathand theverification[i].compare[].response_path/expected_pathpairs specify the exact paths for each part. A missing field or unequal value fails verification. A successful check of one key does not verify the other.- Only
VIBE_API_KEYis forwarded through the parent MCP client's environment.VIBE_APP_KEYbelongs to the application and must not be copied into the MCP process environment. Anoauth_appcode without an API part cannot configure MCP. See MCP.
With claimed, parts contains each env_name and key_fingerprint, without secrets. Match each local variable by fingerprint and verify each matching key separately. Without a matching local key, ask the owner to reissue that key in the application card. A new or renewed code cannot recover an already delivered key.
For an application delivery in the expired, revoked or key_not_active state, follow recovery. Expiring or cancelling the code does not revoke application keys. Active keys and a working server continue working, so do not remove a working server's key. The owner can reissue a missing or inactive key in the application card.
Agent maintenance key
This variant is available only when maintenance key delivery by code is enabled on the platform. Availability is not promised for every account. For kind: "agent_maintenance", follow this recipe instead of the personal VIBE_API_KEY recipe and its /v1/me check.
- The entry point remains
GET /v1/mewith the code. Anissueddescription includesprotocol_version: 1,server_id,agent_kind(HERMESorOPENCLAW),key_fingerprint, the code deadlineexpires_atand the key's actual metadata inkey:type: "management",prefix: "vibe_live_",scopes,access_mode,expires_at(key expiry). - Run all three
exchange.save_stepsin one POSIX shell in the servicing agent's working directory. curl and sha256sum or shasum are required. Before exchange the recipe checks utilities, the lock, private permissions, git exclusion and untracked status of.env. An existingVIBE_MANAGEMENT_KEY, includingexport, BOM and duplicate assignments, stops the exchange. Compare its fingerprint and verify it first; replacement requires explicit owner intent. Without file tools, use the private manual Show key path in your Vibecode account, never chat output. The working directory and its parents must not be writable by outsiders, including through ACLs; the recipe checks only the working directory other-write bit. - The only target is
VIBE_MANAGEMENT_KEYin the local.env, mode600.POST /v1/key-claimwith the code andAccept: text/x-dotenvreturns exactlyVIBE_MANAGEMENT_KEY=<key>\n# end\n. Without that Accept, JSON containsapi_key,env_name: "VIBE_MANAGEMENT_KEY",key_fingerprint,key. Validate the entire response privately in a temporary file before writing; never execute it as shell code. LeaveVIBE_API_KEY,VIBE_APP_KEY, MCP and the application or server deployment environment untouched. - Calculate SHA-256 of the saved key locally and compare the first 16 hexadecimal characters with
key_fingerprint, without printing the secret. Then make oneGET /v1/infra/servers/:serverId/logs?service=hermes&lines=1for Hermes orGET /v1/infra/servers/:serverId/logs?service=docker&lines=1for OpenClaw with this key inX-Api-Key; use the description's ownserver_idand require HTTP2xx,success: trueand nonemptydata.logs. HTTP502 LOGS_UNAVAILABLEor HTTP200with empty logs does not confirm verification./v1/mewith the saved maintenance key returns403 AGENT_MAINTENANCE_KEY_OUT_OF_SCOPE: do not compare its response fields. Verification failure leaves the saved key in place and does not require revocation; report the failure without the secret.
With claimed, the fingerprint, delivery timestamp, verification instructions, servicing and recovery are returned, without a key or another exchange. Verify a matching local key through logs; otherwise the owner reissues it in the agent card, confirming revocation of the current maintenance key. A new or renewed code cannot recover an already delivered secret. With expired or key_not_active, request a new key and code; a cancelled delivery is unavailable. Do not disable a working server key. With access_denied, contact the owner; with busy, wait for the operation to finish and read the state again. After losing a POST response, read the state through GET with the code before any further action; never retry the exchange blindly.
After verifying the key, the agent uses servicing for server request URLs, agent runtime details and working rules: read only first, and make any change only after the owner explicitly agrees.
Create an app following the instructions
Before planning the app, account for the session token lifetime. Calls with an application key vibe_app_… on behalf of a user require a session token, which lasts 24 hours and is not refreshed. An app that runs without a user — scheduled jobs, daily digests, background processing — needs a personal key vibe_api_…: requests with it run on behalf of the key owner and need no session token. Details: Session token: lifetime and revocation.
When the user supplies an app creation prompt, follow these steps through publication.
- If you already have the full response from the first successful discovery request authenticated with the key,
use it. Otherwise, make one request to the selected HTTPS address. Send
GET /v1/mewith the key in theX-Api-Keyheader or call MCPget_me({})withoutsections. Before choosing a design or asking about the UI target or brand, applydata.uiDesignwithpolicyVersion=2(theuiDesignfield in MCP). The block is returned to a key of any kind: a personal key, an app keyvibe_app_…or a management key. The only condition is that the Bitrix24 default design is enabled for the key's Bitrix24 account or for the key owner. It is not enabled for every account yet, so a successful response withoutuiDesignis an expected state, not an error. Repeating the request with the same key does not return the block. The binding context sits inside the block, indata.uiDesign.context. The response has no separate top-levelcontextfield. A key bound to a Bitrix24 account getsportal_bound; a management key getsunresolved. - For a standard new app with no explicit target and
uiDesign.context.status=portal_bound, use the light Bitrix24 design without asking about the target or brand. Explicit user design preferences take priority; for an explicitly external page, clarify the brand. Withunresolved, select a Bitrix24 account and repeat discovery with its app key, or clarify the target. A key binding neither proves embedding nor grants creation, embedding or publication rights: check them separately. Preserve the design of an existing UI; an app without a UI needs no styles. For a new UI, followuiDesign.instructionsanduiDesign.css, pinning the specified CSS version. - If discovery fails,
uiDesignis missing or the policy version is unsupported, report that the design rule was not read and clarify the design with the user. - If a blueprint spec URL is supplied, read it with the supplied key and briefly check the requirements with the user point by point. Without a spec, ask at most three short questions about what the app should do and which data it uses. Respect requirements already supplied and the design selected by the policy, then show a short plan.
- Build the app and deploy it to the server using
data.deploymentand the deployment instructions. Use the server ID from the prompt when one is provided. For an app that is already built, only deploy it, without repeating the survey or changing its design.
Parameters
| Parameter | Type | Required | Values | Description |
|---|---|---|---|---|
Parameterrefresh (query) |
Typestring | Requiredno | Valuestariff |
DescriptionForces a live re-check of the Bitrix24 account plan before the response is built. Works only for keys bound to a Bitrix24 account. Without the parameter the response is served from the server cache. |
Examples
curl — personal key
curl https://vibecode.bitrix24.com/v1/me \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl https://vibecode.bitrix24.com/v1/me \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/me', {
headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { data } = await res.json()
console.log('Key type:', data.type, '· portal:', data.portal)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/me', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { data } = await res.json()
Response fields
The response describes the key, not an entity on the Bitrix24 account. The top-level data.* blocks are a capability map: some blocks are common to all keys, some appear only for a key of a certain type. The "Key type" column shows which key types each block appears for.
If this is your first look at the key, four blocks are enough. type tells you which key you are working with. scopes — which data you have access to. accessMode — whether writing is allowed. capabilities — which operations are available on this Bitrix24 account and why the rest are denied. The other blocks are needed for a specific task: deployment and infra when working with servers, ai and webSearch when calling models, storage when uploading files.
| Field | Type | Key type | Description |
|---|---|---|---|
Fieldsuccess |
Typeboolean | Key typeall | DescriptionAlways true on success |
Fielddata.type |
Typestring | Key typeall | DescriptionKey type: personal, oauth_app or management |
Fielddata.application |
Typeobject | Key typevibe_api_, vibe_app_ |
DescriptionApplication linked to the calling key: id and showInBitrix24 (YES, NO, NOT_CHOSEN). Available before a server exists; omitted if no live application is linked. YES/NO is the human's wizard choice: do not ask again or pass the deploy parameter; server creation inherits it. If the request contradicts the choice, ask one question naming both options |
Fielddata.portal |
Typestring | Key typevibe_api_, vibe_app_ |
DescriptionDomain of the bound Bitrix24 account |
Fielddata.portalId |
Typestring | Key typevibe_api_, vibe_app_ |
DescriptionStable identifier of the bound Bitrix24 account. Unlike the domain, it survives a rename or a move of the account — use it whenever local data is split per account. A key not bound to a Bitrix24 account never reaches this response: it gets 401 NO_PORTAL, so the field is never empty in a successful response |
Fielddata.features |
Typeobject | Key typevibe_api_, vibe_app_ |
DescriptionPlatform features enabled for the Bitrix24 account |
Fielddata.features.appDb |
Typeboolean | Key typevibe_api_, vibe_app_ |
Descriptiontrue — the application database is enabled for the Bitrix24 account. With false, the section's endpoints return 403 APP_DB_DISABLED |
Fielddata.tariff |
Typeobject | Key typeall | DescriptionBitrix24 account plan: code, name, isCommercial, wasEverCommercial, checkedAt, kind |
Fielddata.tariff.name |
Typestring · null | Key typeall | DescriptionHuman-readable edition name — meant for display, not for comparison in code. May be null. Details below |
Fielddata.tariff.wasEverCommercial |
Typeboolean | Key typeall | DescriptionThe account was seen on a commercial plan at some point. It is history, not access. The flag is not one-way — see below |
Fielddata.tariff.checkedAt |
Typestring | Key typeall | DescriptionTime of the last ATTEMPT to check the plan against Bitrix24, ISO 8601. Updated when called with ?refresh=tariff — including when the check failed and the plan could not be read. A SUCCESSFUL check is marked by a separate response header, X-Tariff-Checked-At (see Infrastructure), and that header may be absent from the very same response. If the field is present but the header is not, the check was attempted and the plan could not be read |
Fielddata.scopes |
Typearray | Key typeall | DescriptionKey scopes. Choosing a set — Scopes |
Fielddata.api.scopeRequirements |
Typeobject | Key typeall | DescriptionMap of the key's scopes: what it lacks and what each missing scope would open. A pre-flight check instead of trial-and-error calls. Details below |
Fielddata.api.scopeRequirements.granted |
Typeobject | Key typeall | DescriptionGranted scopes, split into bitrix24 and platform — they are obtained differently |
Fielddata.api.scopeRequirements.coverage |
Typeobject | Key typeall | DescriptionMap completeness: entities is always complete, paths is complete or partial. When paths is partial, the path list is incomplete, and the absence of a path from unlocks does NOT prove the path is ungated |
Fielddata.api.scopeRequirements.missing |
Typeobject | Key typeall | DescriptionMissing scopes. Each carries entities — entities it would open, unlocks — paths (at most five, the rest in unlocksRemaining next to truncated), howToObtain — how to get it. A scope of a module enabled separately for each Bitrix24 account appears here only on an account where that module is enabled. Such a scope, once granted, stays in granted |
Fielddata.api.scopeRequirements.unobtainable |
Typeobject | Key typeall | DescriptionScopes this key cannot obtain, and why. Two reasons: a personal webhook key carries no app-context scopes, and some scopes are minted by the platform itself and are not available to a user on any surface |
Fielddata.api.scopeRequirements.aliases |
Typeobject | Key typeall | DescriptionSpellings Bitrix24 treats as one scope (task and tasks) |
Fielddata.accessMode |
Typestring | Key typeall | DescriptionKey access mode: READWRITE or READONLY. More — Access mode |
Fielddata.portalWriteRestriction |
Typeobject | Key typevibe_api_, vibe_app_ |
DescriptionThe second restriction statement — about Bitrix24 data. All fields of the object: restricted (the code WRITE_BLOCKED_READONLY_KEY), appliesTo (what it covers — changes to Bitrix24 data), routes (closed routes, each entry with its own refusal condition), note and docs (a link to the access mode page). Present for a key whose access mode forbids changing Bitrix24 data, regardless of the emergency lever — unlike writeRestriction. More — Access mode |
Fielddata.capabilities |
Typeobject | Key typeall | DescriptionMatrix of available operations. The top-level keys are groups, and each group holds operation slots. The shape of a slot is described below |
Fielddata.capabilities.apps |
Typeobject | Key typeall | DescriptionOperation slots create — create an application, publish — publish it to the catalog, bindPlacements — bind placements. Plus sourceStorage — not an operation but a source-storage settings block with its own field set |
Fielddata.capabilities.apps.sourceStorage |
Typeobject | Key typeall | DescriptionSource-storage settings: enabled, requiredBeforeDeploy, automaticOnDeploy, limits.maxBlobBytes, endpoint, mcpToolName, contentTypes, docs. The freshnessWindowMinutes field is added only when the platform checks the snapshot's age before publishing. This block carries no available or reason fields |
Fielddata.capabilities.servers |
Typeobject | Key typeall | DescriptionSlots create — create a server, deploy — publish sources, preview — work with access tokens: a preview link and a Bearer token for an end-to-end (E2E) check, wake — wake the server |
Fielddata.capabilities.agents |
Typeobject | Key typeall | DescriptionSlot create — create an AI agent |
Fielddata.capabilities.managedBots |
Typeobject | Key typeall | DescriptionSlot create — create a managed bot |
Fielddata.capabilities.aiRouter |
Typeobject | Key typeall | DescriptionSlots chatCompletions — model calls, byok — working with your own provider key |
Fielddata.capabilities.appUserSignIn |
Typeobject | Key typeall | DescriptionSlot setup — the setup of end-user sign-in for an app through the platform SDK. While the feature is not enabled for the key owner, the slot comes back with available: false and reason: "FEATURE_DISABLED" |
Fielddata.capabilities.<group>.<slot>.available |
Typeboolean | Key typeall | DescriptionWhether this key can perform the operation on this Bitrix24 account right now |
Fielddata.capabilities.<group>.<slot>.reason |
Typestring | Key typeall | DescriptionState code of the slot. It arrives both on available: true (COMMERCIAL, TRIAL_ACTIVE) and on a denial — for example SESSION_REQUIRED, WRITE_BLOCKED_READONLY_KEY, BILLING_EXHAUSTED, FEATURE_DISABLED, INFRA_NOT_PERMITTED, SERVER_CREATION_DISABLED, SERVER_CREATION_ADMINS_ONLY, INT_TARIFF_REQUIRED, COMMERCIAL_PLAN_REQUIRED, TRIAL_PORTAL_LIMIT, PLAN_NOT_ALLOWED_ON_TRIAL. For accounts where access is narrowed to the Vibe+ plan line, infrastructure and key issuance require a Vibe+ plan, and an ordinary commercial plan is declined with INT_VIBE_PLUS_REQUIRED. The set grows — treat an unknown code as a denial and rely on available |
Fielddata.capabilities.<group>.<slot>.userMessage |
Typestring | Key typeall | DescriptionReady-made text in the user's language. It arrives on a denial — show it as is |
Fielddata.capabilities.<group>.<slot>.note |
Typestring | Key typeall | DescriptionA condition that available: true does not cover: a Bitrix24-side prerequisite, how much of a limit is already used, or a trial-access restriction |
Fielddata.webResearch.promptForAgents |
Typestring | Key typeall | DescriptionA ready-made hint for an agent: how to call research and where to find the provider catalog |
Fielddata.capabilities.<group>.<slot>.limits |
Typeobject | Key typeall | DescriptionLimits in force for the slot — for example allowedPlans and maxPortalTotal under trial access |
Fielddata.capabilities.<group>.<slot>.alternatives |
Typearray | Key typeall | DescriptionWhat to do instead of the blocked operation: items with the fields type, description, url or endpoint |
Fielddata.api |
Typeobject | Key typeall | DescriptionAPI usage rules in the _rules array, the entities exposed by the entity API in entityApi, a link to the full reference |
Fielddata.rateLimit |
Typeobject | Key typeall | DescriptionCall-rate limits: requestsPerSecond — the Bitrix24 account limit, shared across all of its keys, edgeRequestsPerSecondPerIp — the platform edge limit per client IP address. More — Request limits |
Fielddata.ai |
Typeobject | Key typeall | DescriptionAI Router access: default model, available models, catalog size. More — AI Router |
Fielddata.ai.structuredOutputs.models |
Typearray | Key typeall | DescriptionModels that accept response_format of type json_schema. More — Guaranteed JSON response |
Fielddata.webSearch |
Typeobject | Key typeall | DescriptionWeb search providers and their cost. More — Provider list |
Fielddata.webResearch |
Typeobject | Key typeall | DescriptionDeep research: available, endpoint, providers, defaultProvider, streaming, docs. More — Deep research |
Fielddata.webResearch.providers[].cost |
Typeobject | Key typeall | DescriptionPrice of one research run with the provider: research — the price in Vibe credits (Ꝟ), currency — the billing unit. For a provider used with your own key, research equals 0 |
Fielddata.storage |
Typeobject | Key typeall | DescriptionObject storage: usage, pricing, upload endpoints. More — Storage |
Fielddata.deployment |
Typeobject | Key typeall | DescriptionApplication deployment contract — depends on the target server type. More — Deploy API |
Fielddata.deployment.primary |
Typestring | Key typeall | DescriptionThe placement model the platform treats as primary for this account: galaxyApp — an app inside a galaxy, standalone — a dedicated virtual machine |
Fielddata.deployment.galaxyApp |
Typeobject | Key typeall | DescriptionThe contract for deploying into a galaxy. During trial access, the block arrives only when stored state shows a suitable host. This is an advisory assessment: POST /v1/infra/servers makes the final live-capacity check |
Fielddata.deployment.placementNote |
Typestring | Key typeall | DescriptionWhy the galaxy is unavailable and how to deploy in that state. During trial access, the field distinguishes the absence of a host from an existing but unsuitable host. The field is absent when Galaxy mode is disabled, see Galaxy app |
Fielddata.deployment.limits |
Typeobject | Key typeall | DescriptionThe publication limits in force: the body and archive ceilings, the per-step time budget, the number of log lines, the ceiling on concurrent inline-body publications |
Fielddata.deployment.limits.uploadInlineMax |
Typestring | Key typeall | DescriptionThe HTTP body ceiling for a publication with an inline archive, as a string with its unit — for example 96MB. A larger body is refused with 413 INLINE_SOURCE_TOO_LARGE. See Deploy |
Fielddata.deployment.limits.uploadInlineMaxArchive |
Typestring | Key typeall | DescriptionThe same ceiling expressed as the size of the archive itself — for example 72MB. It is about a quarter lower than uploadInlineMax: the contents travel as base64 and are heavier than the source bytes. The value comes from the same constant as the refusal, so you do not need to recompute the ceiling yourself |
Fielddata.deployment.limits.uploadUrlMax |
Typestring | Key typeall | DescriptionThe ceiling for publishing by link and by a stored version — 500MB. Those paths are streamed and do not fall under the inline body ceiling |
Fielddata.infra |
Typeobject | Key typeall | DescriptionInfrastructure: providers, server limit, list of unhealthy servers, servers of other teams the key owner is on. More — Infrastructure |
Fielddata.infra.collaboratorServers |
Typeobject | Key typeall | DescriptionServers where the key owner is on the development team rather than owning them: total — how many memberships there are in total, count — how many rows fit into the response, items — the rows themselves. These servers do not count towards infra.limits — the machines belong to someone else. The same servers arrive in GET /v1/infra/servers carrying the access.via: "collaborator" block |
Fielddata.infraState |
Typeobject | Key typeall | DescriptionWhether infrastructure is stopped over an unpaid balance. The strings inside the block are machine-readable; the client writes the human-facing text |
Fielddata.infraState.frozen |
Typeboolean | Key typeall | DescriptionWhether servers, deploys and storage are stopped over an unpaid balance. When true, the 402 ACCOUNT_FROZEN refusal arrives on calls paid for from the Vibe credits balance, while requests to your own Bitrix24, AI within the plan's monthly quota and a Cowork subscription for its paid period keep working. Until the narrowed refusal is rolled out to your Bitrix24 account, true means "almost everything is stopped": the self-description, the guide, the spec, four Feedback conversation calls — filing a ticket, listing tickets, reading one ticket and commenting on it — and the revocation of your own Cowork key keep working; everything else answers 402 ACCOUNT_FROZEN. The full list is in Error codes |
Fielddata.infraState.reason |
Typestring or null | Key typeall | DescriptionThe stop reason code: DEBT, or null when nothing is stopped |
Fielddata.infraState.topupUrl |
Typestring or null | Key typeall | DescriptionThe top-up address for your Vibecode account, or null when there is nothing to top up |
Fielddata.feedback |
Typeobject | Key typeall | DescriptionFeedback endpoints and limits. More — Feedback |
Fielddata.crmApi |
Typeobject | Key typeall | DescriptionCRM API modes. Present only for a key bound to a Bitrix24 account |
Fielddata.crmApi.mode |
Typestring | Key typeall | DescriptionKey mode: v2 or v3. A request header does not change it |
Fielddata.crmApi.newKeyMode |
Typestring | Key typeall | DescriptionAccount default for new keys: v2 or v3. Inheriting a previous key's mode takes precedence |
Fielddata.crmApi.header |
Typestring | Key typeall | DescriptionMode selection header name: X-Crm-Api |
Fielddata.crmApi.override |
Typestring | Key typeall | DescriptionExplanation of how X-Crm-Api: v2 or X-Crm-Api: v3 overrides the key mode |
Fielddata.api.entityApi.oauthOnlyOperations |
Typeobject | Key typevibe_api_ |
DescriptionObject for a personal key mapping entity names to arrays of operations that require an OAuth application key and a session token. For example, writing business process templates. Absent for an OAuth application key |
Fielddata.auth |
Typeobject | Key typeall | DescriptionHow to pass the key in a request: headers, and for the authorization key — OAuth authorization steps |
Fielddata.quickstart |
Typeobject | Key typeall | DescriptionA short list of first calls for exploring the API |
Fielddata.b24Credentials |
Typeobject | Key typevibe_api_ |
DescriptionWhether the key can call Bitrix24: ready. When ready: false it also carries reason, plus paywallCode and upgradeUrl for plan-related reasons. The hint field arrives when the access state is worth re-reading. The block is absent for a key that is not bound to a Bitrix24 account and for a key with no Bitrix24 scopes — the flag does not apply there. The reason values and the action for each — Error codes |
Fielddata.b24Credentials.ready |
Typeboolean | Key typevibe_api_ |
Descriptiontrue — the key carries credentials for calls to the Bitrix24 account, false — it does not, and any such call returns 401 TOKEN_MISSING |
Fielddata.docs |
Typestring | Key typeall | DescriptionLink to the full API reference — GET /v1/guide |
Fielddata.errorCodes |
Typeobject | Key typeall | DescriptionError response format and a link to the full error code reference |
Fielddata.changelog |
Typeobject | Key typeall | DescriptionLink to the API changelog |
Fielddata.expiresAt |
Typestring or null | Key typevibe_api_ |
DescriptionKey expiration date. null — no expiration |
Fielddata.owner |
Typeobject | Key typevibe_api_ |
DescriptionKey owner: name, userId, optional userIdSource |
Fielddata.owner.userId |
Typestring or null | Key typevibe_api_ |
DescriptionEmployee ID from the webhook. A Cowork key without a webhook may receive a confirmed ID from Bitrix24 account membership; once assigned to the key, that ID stays fixed. null when no identity is available. Membership IDs with unclassified provenance (bitrixUserIdSource: null) are not returned. This field does not grant access to Bitrix24 data: with b24Credentials.ready: false, calls return 401 TOKEN_MISSING |
Fielddata.owner.userIdSource |
Typestring | Key typevibe_api_ |
Descriptionwebhook or portal-membership. Present only when userId is available |
Fielddata.portalEmbedding |
Typeobject | Key typevibe_api_ |
DescriptionThe embedding flow through POST /v1/apps → OAuth authorization → POST /v1/apps/:id/publish, plus the personal-key boundaries: it does not call placements/bind directly and is not itself a transparent-auth credential |
Fielddata.app |
Typeobject | Key typevibe_app_ |
DescriptionBound application: title, id |
Fielddata.currentUser |
Typeobject or null | Key typevibe_app_ |
DescriptionThe Bitrix24 user on whose behalf the request runs. Filled when a session token is passed. Without one it arrives as null |
Fielddata.placements |
Typeobject | Key typevibe_app_ |
DescriptionEmbedding the application in the Bitrix24 account interface: available and registered placements, endpoints, how incoming requests are handled. More — Embedding an app in the Bitrix24 account |
Fielddata.placements.note |
Typestring | Key typevibe_app_ |
DescriptionThe embedding boundary for a key that may not write Bitrix24 data: which placements stay available to it. Absent for a key that may write that data |
Fielddata.placements.bindPrerequisite |
Typeobject | Key typevibe_app_ |
DescriptionThe Bitrix24-side condition without which binding a placement will not succeed. The contents of the block depend on the portal type |
Fielddata.placements.bindPrerequisite.subscriptionRequired |
Typeboolean | Key typevibe_app_ |
Descriptionfalse — a commercial Bitrix24 plan is enough to bind a placement |
Fielddata.placements.bindPrerequisite.note |
Typestring | Key typevibe_app_ |
DescriptionText describing the condition and how to satisfy it |
Fielddata.placements.bindPrerequisite.errorCodes |
Typearray | Key typevibe_app_ |
DescriptionPossible bind refusals, not the result of a check of current access. The set combines plan prerequisites, developer-key checks and shared application and placement refusals; it depends on the portal type and may grow. Read the current set from this field and the prerequisite explanation from note. Self-hosted portals add SESSION_REQUIRES_ADMIN. BOX_WEBHOOK_NOT_DEVELOPER_KEY can occur on both portal types: the rest.developer scope is fixed when the key is issued, so granting its owner administrator rights cannot repair the key |
Fielddata.oauth |
Typeobject | Key typevibe_app_ |
DescriptionOAuth authorization URL and required parameters |
Fielddata.oauthTutorial |
Typeobject | Key typevibe_app_ |
DescriptionStep-by-step OAuth authorization walkthrough |
Fielddata.eventDelivery |
Typeobject | Key typevibe_app_ |
DescriptionReceiving Bitrix24 account events on your server without polling |
Fielddata.eventDelivery.note |
Typestring | Key typevibe_app_ |
DescriptionExplains which keys make Bitrix24 account events and automation rule calls arrive without auth[access_token] and auth[refresh_token], what follows from that, and how to get the tokens back. Always present together with the eventDelivery block, whatever the mode of the key that calls GET /v1/me. More — Application-side handler |
Fielddata.schemaDiscovery |
Typeobject | Key typevibe_app_ |
DescriptionHow to read the field schema without a session token |
The management key (vibe_live_) returns a different set of blocks — portals, totalAppKeys, a reduced capabilities — and carries no Bitrix24 account data. Description — Management keys.
Response example
Personal key (vibe_api_) — main fields shown:
{
"success": true,
"data": {
"type": "personal",
"portal": "mycompany.bitrix24.com",
"portalId": "8c3d1e04-…",
"tariff": {
"code": "en_basic",
"name": "Basic",
"isCommercial": true,
"wasEverCommercial": true,
"checkedAt": "2026-07-08T08:57:58.270Z",
"kind": "CLOUD"
},
"scopes": ["crm", "task", "tasks", "im", "imbot", "disk", "user"],
"accessMode": "READWRITE",
"capabilities": {
"apps": {
"create": { "available": true },
"publish": { "available": true },
"bindPlacements": { "available": true }
},
"servers": {
"create": { "available": true, "reason": "COMMERCIAL" },
"deploy": { "available": true, "reason": "COMMERCIAL" },
"preview": { "available": true },
"wake": { "available": true }
},
"agents": {
"create": {
"available": true,
"reason": "COMMERCIAL",
"note": "Agent servers count toward the portal's infrastructure limit (currently 2/10)."
}
},
"managedBots": {
"create": {
"available": true,
"reason": "COMMERCIAL",
"note": "Managed bot servers count toward the portal infrastructure limit."
}
},
"aiRouter": {
"chatCompletions": { "available": true },
"byok": { "available": true }
},
"appUserSignIn": {
"setup": { "available": false, "reason": "FEATURE_DISABLED" }
}
},
"owner": { "name": "John Brown", "userId": "1" },
"expiresAt": null
}
}
The apps.publish and apps.bindPlacements slots always carry a note — it is omitted from the example above, but the endpoint returns the full text.
Authorization key (vibe_app_) without a session token — showing the blocks a personal key does not have:
{
"success": true,
"data": {
"type": "oauth_app",
"portal": "mycompany.bitrix24.com",
"portalId": "8c3d1e04-…",
"accessMode": "READWRITE",
"app": { "title": "CRM Dashboard", "id": "f2342f7a-…" },
"currentUser": null,
"placements": {
"available": true,
"registered": ["LEFT_MENU"],
"endpoints": [
"POST https://vibecode.bitrix24.com/v1/placements/bind",
"POST https://vibecode.bitrix24.com/v1/placements/unbind",
"GET https://vibecode.bitrix24.com/v1/placements",
"GET https://vibecode.bitrix24.com/v1/placements/available"
],
"bindPrerequisite": {
"subscriptionRequired": false,
"note": "Binding a placement requires a Bitrix24-side prerequisite: the portal must be on a commercial Bitrix24 plan…",
"errorCodes": [
"INT_TARIFF_REQUIRED",
"BITRIX_UNAVAILABLE",
"BOX_WEBHOOK_NOT_DEVELOPER_KEY",
"PLACEMENT_APP_GRANT_MISSING",
"PLACEMENT_OPTIONS_REQUIRED",
"PLACEMENT_NOT_REST_BINDABLE",
"B24_EMBEDDING_APP_NOT_FOUND"
]
}
}
}
}
oauth.authorizeUrlis a template, not a ready-made link. The/v1/oauth/authorizeendpoint requires thestateparameter (16–512 characters) — a CSRF token per RFC 6749 §10.12 that the client generates: create a cryptographically random string, add it to the URL, and verify the value returned in the callback. The server cannot generatestatefor you — otherwise CSRF protection does not work. A request toauthorizeUrlas is returns400 INVALID_REQUEST "state: Required". Optionally addredirect_uri(your callback address — without it the built-in/oauth/completepage is used) andscope. Example of a full link:https://vibecode.bitrix24.com/v1/oauth/authorize?app_key=vibe_app_…&state=aAbBcCdDeEfFgGhH&redirect_uri=https://myapp.com/callbackOnly your application server requests this URL: it contains
app_key, so do not pass it to the browser. Redirect the user's browser to the address in theLocationheader of the response — step 1 of authorization.
Error response example
401 — invalid key:
{
"success": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP401 | CodeMISSING_API_KEY |
DescriptionThe X-Api-Key header is missing |
| HTTP401 | CodeINVALID_API_KEY |
DescriptionThe key is not recognized — no such key exists on the platform |
| HTTP401 | CodeKEY_INACTIVE |
DescriptionThe key is revoked |
| HTTP401 | CodeKEY_EXPIRED |
DescriptionThe key has expired |
| HTTP401 | CodeKEY_NOT_FOUND |
DescriptionThe key was deleted while the request was being processed |
| HTTP403 | CodeIP_NOT_ALLOWED |
DescriptionRequest from an address outside the allowed IP list |
Full list of common API errors — Errors.
Known specifics
?refresh=tariff checks the plan no more than once per minute. The parameter forces a live check of the Bitrix24 account plan and resets the response cache. If the previous check was less than a minute ago, the request returns the already known value without a new check. For a management key the parameter does nothing — such a key is not bound to a Bitrix24 account.
The response is cached server-side for about 30 seconds. A change of scopes or access mode is reflected in the response immediately. The plan, balance and infrastructure state are updated on the first read after the cache expires. A request with ?refresh=tariff resets the cache, and the next read without this parameter returns an up-to-date plan.
For a key in read-only mode, some capabilities slots come back closed. They are apps.publish, apps.bindPlacements, servers.create, servers.wake, agents.create, managedBots.create and both aiRouter operations — all of them return available: false and reason: "WRITE_BLOCKED_READONLY_KEY". The servers.deploy slot is not on that list: delivery to a server the key already owns is allowed for such a key. For a read-only key the response root also carries writeRestriction — the WRITE_BLOCKED_READONLY_KEY code, what it covers, and a link to the access-mode page. The field is present only while the restriction is in force: a platform administrator may lift it, and then the field disappears from the response along with the restriction itself. Inside the field an exceptions list names the routes the central restriction does not touch. Read the list from the response rather than from this page's prose; the printed set, broken down by group, is on the Access mode page, under "Exceptions to the write block". A management key carries the field too, but nothing lifts it there: the write block for such keys is unconditional. The field exists because the response names write endpoints in some thirty places (storage, feedback, source-storage and Cowork hints): those are addresses, not permissions. Per-operation availability is in capabilities.
There are two restriction statements, and they cover different things. Next to writeRestriction the same key receives portalWriteRestriction — about changing Bitrix24 data: the code, what it covers, a list of routes where each entry has its own refusal condition, and a link to the access mode page. writeRestriction covers platform writes and disappears if a platform administrator switches this block off with the emergency lever. portalWriteRestriction covers Bitrix24 data and does not depend on that lever: delegated writes to Bitrix24 are refused even when the platform write block is off. Read the set of routes from the response — the section "The portalWriteRestriction field" on the access mode page explains the groups.
apps.create does NOT come back closed: such a key can create an application in READONLY mode, and the ban on READWRITE is spelled out in that slot's note field. Reads are not affected by the mode — servers.preview, for one. More — Access mode.
The plan name is for display, not for comparison. The data.tariff.name field is assembled at read time and can change without the plan itself changing. The platform picks it in this order. If the plan code is known to the edition catalog — from there, in English. Otherwise the license name as Bitrix24 reported it, in the account's language. Otherwise the previously stored name. Otherwise null. Three things follow. First, null is a normal value, not an error. Second, the name does not depend on who asks — neither Accept-Language nor the key owner's interface language changes it. Third, the plan code is never substituted for the name — when there is no name, you get null, not pro100. Branch your logic on data.tariff.code, isCommercial, and kind. The labels of known editions have also been refined — three of them: the demo edition is now Trial period, Project is now Project — legacy free, and NFR is now NFR — partner licence.
The wasEverCommercial flag is history, not access. A true value only means the account was seen on a commercial plan at some point. The flag grants neither infrastructure access nor OPEN mode, and it does not lift a refusal of either: access is decided by the account's current Bitrix24 plan only. Base decisions on capabilities in the same response, not on the flag.
The wasEverCommercial flag is not one-way. A plan downgrade does not clear the value, but the platform may change it from true to false when no grounds for it are found. Do not build logic on this field that assumes the transition can only go one way.
Determine the placement model from the deployment block, not from the account plan. During trial access, a new galaxy is not created. When Galaxy mode is enabled but there is no host, deployment.galaxyApp is absent, deployment.primary is standalone, and deployment.placementNote describes the two-step path. It is available only while capabilities.servers.create.available in the same response is true; select an allowed plan ID from capabilities.servers.create.limits.allowedPlans. When Galaxy mode is disabled, placementNote is absent, a one-shot request carrying source returns 400 SOURCE_AT_CREATE_GALAXY_ONLY, and the same capabilities slot decides whether the two-step path is available. When an existing host passes the advisory stored-state check, the galaxyApp block is present and a one-shot create carrying source is worth trying. This is not a guarantee: only POST /v1/infra/servers checks live capacity.
When an existing host fails the advisory check, the galaxyApp block is absent. While capabilities.servers.create.available is false, placementNote rules out creating a dedicated machine in two steps: with trial enforcement active, the occupied slot returns 402 TRIAL_PORTAL_LIMIT. To retry one-shot creation, wait for the host to recover, ask an administrator to repair it, or upgrade the plan. After removing the host, re-read GET /v1/me and use the two-step path advertised there. Follow the hint in the actual POST response. The call sequence — Create a server and Deploy API.
Without a key in a browser the endpoint returns HTML. A GET /v1/me request without the X-Api-Key header and with the Accept: text/html header returns a stub page with status 200, not JSON. A request with a key or without text/html in the Accept header always gets the JSON self-description.
Scope requirements map
Until now the only way to learn a key's boundary was to make the call: the request went out and came back with a 403 SCOPE_DENIED refusal naming the missing scope. The list of available entities showed only what was open, while what was closed was simply absent — and absence alone could not distinguish "no such entity in the product" from "it exists but your key cannot reach it".
The data.api.scopeRequirements block answers that before the call:
{
"granted": { "bitrix24": ["imbot"], "platform": ["vibe:ai", "vibe:search"] },
"missing": {
"bitrix24": {
"crm": {
"entities": ["deals", "contacts", "companies", "leads"],
"unlocks": ["/v1/duplicates/find", "/v1/addresses"],
"unlocksRemaining": 41,
"truncated": true,
"howToObtain": "reissue-key"
}
},
"platform": {}
}
}
Bitrix24 scopes are bound to a key when the key is issued, so their howToObtain is reissue-key: adding a scope in the settings of an already-issued key is not enough; the key has to be reissued. Vibecode scopes are edited in your Vibecode account.
The map describes the platform-side scope check only. It does not promise the call will succeed. A scope granted in your Vibecode account after the key was issued shows up in the map, but Bitrix24 does not honour it and answers
BITRIX_ACCESS_DENIED. Refusals by key kind, ownership, read-only mode, account freeze and plan are separate axes and are not described in the map. The_notefield inside the block carries the same warning.
Path coverage is not complete yet, and the map says so itself. A
coverage.pathsvalue ofpartialmeans some custom routes still lack a machine-checked verdict, sounlocksandunlocksRemainingunder-report. Absence of a path from the list does NOT prove the path is ungated: if a call still answers with a scope refusal, trust the refusal, not the map. The entity list is always complete.
The refusal has not changed: a call without the required scope still returns 403 SCOPE_DENIED naming that scope. The map is a pre-flight check, not a replacement for the refusal.