[{"data":1,"prerenderedAt":12},["ShallowReactive",2],{"docs-partner-connect\u002Fendpoints":3,"docs-tabs-partner-connect\u002Fendpoints":6},{"content":4,"lastmod":5},"\n# Partner Connect endpoints\n\nA switcher for the Partner Connect methods. Each tab opens the endpoint page with its parameters, code examples and responses.\n\n**Base URL:** `https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1` · **Authorization:** the application's `client_id` and `client_secret` in the request body; for the Company status, the connection secret in `X-Api-Key`\n\n## Operations\n\n- [Start authorization](.\u002Fauthorize.md) — `GET \u002Fv1\u002Fconnect\u002Fauthorize`\n- [Exchange a code for a key](.\u002Ftoken.md) — `POST \u002Fv1\u002Fconnect\u002Ftoken`\n- [Sign in from a device](.\u002Fdevice-authorize.md) — `POST \u002Fv1\u002Fconnect\u002Fdevice\u002Fauthorize`\n- [Revoke a key](.\u002Frevoke.md) — `POST \u002Fv1\u002Fconnect\u002Frevoke`\n- [Company connection status](.\u002Fcompany-status.md) — `GET \u002Fv1\u002Fconnect\u002Fcompany\u002Fstatus`\n\n## See also\n\n- [Partner Connect](\u002Fdocs\u002Fpartner-connect)\n- [Application registration and scopes](\u002Fdocs\u002Fpartner-connect\u002Fregistration)\n- [Key lifetime, revocation and limit](\u002Fdocs\u002Fpartner-connect\u002Fkeys)\n","2026-11-19",{"authorize.md":7,"token.md":8,"device-authorize.md":9,"revoke.md":10,"company-status.md":11},"## Start user authorization\n\n`GET \u002Fv1\u002Fconnect\u002Fauthorize`\n\nRedirects the user to the Alaio Vibecode consent page.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `client_id` | string | yes | Partner identifier received when the client was registered |\n| `redirect_uri` | string | yes | Callback URL. Must match one of the URLs registered for the client |\n| `state` | string | yes | Arbitrary string returned together with the code. Protects against CSRF |\n| `scope` | string | no | Requested scopes, separated by spaces or commas: `crm task im`. If omitted, the scopes registered for the client apply. A request for a scope outside the registered set is rejected |\n| `code_challenge` | string | conditional | SHA-256 hash of `code_verifier` in `base64url` without `=`. Required for a public client or when PKCE is mandatory, otherwise optional |\n| `code_challenge_method` | string | conditional | `S256`, required together with `code_challenge`. Other methods, empty values and a method without a hash are rejected |\n| `portal` | string | no | Bitrix24 account domain to preselect on the consent page: `mycompany.bitrix24.com`. A hint, not an account choice — see [Account hint](#account-hint) |\n| `operation` | string | no | Only for a client in `COMPANY` mode: `CREATE` — a new connection, `RECONNECT` — new administrator consent without changing the secret, `ROTATE_SECRET` — secret replacement without expanding scopes. Defaults to `CREATE`. The purpose is kept for the whole flow and does not change during consent or code exchange — see [Reconnection and secret rotation](\u002Fdocs\u002Fpartner-connect\u002Fcompany#reconnection-and-secret-rotation) |\n| `credential_version` | integer | conditional | Current version of the connection secret, starting at `1`. Required for a client in `COMPANY` mode with `operation=ROTATE_SECRET`. Take the value from the `data.credential_version` field of the [`GET \u002Fv1\u002Fconnect\u002Fcompany\u002Fstatus`](\u002Fdocs\u002Fpartner-connect\u002Fcompany-status) response |\n\nFor a client with a secret, PKCE is optional unless it is enabled in the client settings. If you pass `code_challenge`, the platform stores it and requires the matching `code_verifier` when the code is exchanged. PKCE complements `client_secret` rather than replacing it. For a public client and when PKCE is mandatory, the hash is always required.\n\n### Account hint\n\nIf the application knows which Bitrix24 account the user came from, pass that account's domain in the `portal` parameter. The scheme and path do not have to be stripped, and case does not matter.\n\n```\nhttps:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fauthorize?client_id=YOUR_CLIENT_ID&redirect_uri=https:\u002F\u002Fyourapp.com\u002Fcallback&scope=crm%20task&state=abc123random&portal=mycompany.bitrix24.com\n```\n\n- If the user is an active member of the specified account, that account is preselected on the consent page. Otherwise the account on the page is chosen the same way as without the parameter.\n- The user can choose a different account. The key is issued for the account the user confirmed, so take the key's account from the `portal.domain` field of the [`POST \u002Fv1\u002Fconnect\u002Ftoken`](\u002Fdocs\u002Fpartner-connect\u002Ftoken) response, not from your hint.\n- The `authorize` response does not depend on the parameter: the application does not learn whether the user is a member of the specified account.\n- An invalid value causes no error and is not returned to `redirect_uri` — sign-in proceeds as without the parameter.\n- The hint is honored only by the authorization code flow for clients in `PERSONAL` mode. Clients in `COMPANY` mode ignore the parameter, and [device sign-in](\u002Fdocs\u002Fpartner-connect\u002Fdevice-authorize) has no account hint.\n\n## Examples\n\nThe endpoint is opened by navigating the user's browser to a link your application builds. No API key and no `X-Api-Key` or `Authorization` headers are needed: the application identifies itself with the `client_id` parameter.\n\n### curl — OAuth application\n\nThe request shows the response the user's browser receives: `302` with the consent page address in the `Location` header.\n\n```bash\ncurl -i \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fauthorize?client_id=YOUR_CLIENT_ID&redirect_uri=https%3A%2F%2Fyourapp.com%2Fcallback&scope=crm%20task&state=abc123random\"\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst state = crypto.randomUUID()\n\u002F\u002F store state in the user's session to check it on redirect_uri\n\nconst params = new URLSearchParams({\n  client_id: 'YOUR_CLIENT_ID',\n  redirect_uri: 'https:\u002F\u002Fyourapp.com\u002Fcallback',\n  scope: 'crm task',\n  state,\n})\n\nconst authorizeUrl = `https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fauthorize?${params}`\n\u002F\u002F send the user to authorizeUrl: as a link or as a redirect from your server\n```\n\nServer code that builds such a link and checks `state` on return is in the [full example](\u002Fdocs\u002Fpartner-connect#full-example). You can also build the link for your application without code: use the \"Build a link\" helper in the application card, see [Application registration and scopes](\u002Fdocs\u002Fpartner-connect\u002Fregistration).\n\n## Response fields\n\nThe response is a redirect to `redirect_uri` with parameters in the query string:\n\n| Parameter | Type | Description |\n|----------|-----|----------|\n| `code` | string | One-time authorization code. Arrives after approval. Exchanged for a key via [`POST \u002Fv1\u002Fconnect\u002Ftoken`](\u002Fdocs\u002Fpartner-connect\u002Ftoken) |\n| `state` | string | The `state` value from the request, unchanged |\n| `error` | string | Denial code. Arrives instead of `code` |\n| `error_description` | string | Machine-readable denial reason code. Arrives on a [denial after the consent screen](#denial-after-the-consent-screen) and when a client in `COMPANY` mode is denied — see [Company connection](\u002Fdocs\u002Fpartner-connect\u002Fcompany) |\n\n## Response example\n\n**Successful redirect** after approval:\n\n```\nhttps:\u002F\u002Fyourapp.com\u002Fcallback?code=AUTH_CODE_HERE&state=abc123random\n```\n\n**Redirect on denial** by the user on the consent page:\n\n```\nhttps:\u002F\u002Fyourapp.com\u002Fcallback?error=access_denied&state=abc123random\n```\n\n## Error response example\n\n400 — `client_id` is unknown or the client is disabled:\n\n```json\n{\n  \"error\": \"invalid_client\",\n  \"error_description\": \"Unknown or inactive client\"\n}\n```\n\n## Errors\n\nThis endpoint returns errors in three different ways, and you must handle all three.\n\n**Before `redirect_uri` is verified** — a regular `400` response with an RFC 6749 body. There is nowhere to send the user back: the address is not yet confirmed, and a redirect to an unverified URL would be a vulnerability.\n\n| HTTP | `error` | Condition |\n|------|---------|---------|\n| 400 | `invalid_request` | One of `client_id`, `redirect_uri`, `state` is missing |\n| 400 | `invalid_client` | `client_id` is unknown or the client is disabled |\n| 400 | `invalid_request` | `redirect_uri` is malformed: it does not parse as a URL, or contains a `#` fragment, a username or a password. `error_description` — `Redirect URI is malformed` |\n| 400 | `invalid_request` | The `redirect_uri` scheme is not allowed for its host: not `https` for a host other than localhost, neither `http` nor `https` for localhost. `error_description` — `Redirect URI scheme is not allowed for this host` |\n| 400 | `invalid_request` | `redirect_uri` does not match any registered URL. `error_description` — `Redirect URI not registered` |\n\n**After `redirect_uri` is verified** — a redirect back to it with the `error` and `state` parameters (RFC 6749 §4.1.2.1). Your `redirect_uri` handler must parse this.\n\n| `error` in the redirect | Condition |\n|---------------------|---------|\n| `invalid_scope` | An unknown scope or a scope outside the client's registered set was requested |\n| `invalid_scope` | A client in `COMPANY` mode requested a `vibe:*` platform scope other than `vibe:ai` and `vibe:storage`: only these two platform scopes are available to a Company connection |\n| `invalid_request` | Mandatory PKCE was not passed, or an invalid `code_challenge` or `code_challenge_method` was passed. Only `S256` is supported |\n| `invalid_request` | A client in `COMPANY` mode passed an `operation` other than `CREATE`, `RECONNECT`, `ROTATE_SECRET` |\n| `access_denied` with `error_description=CONNECT_COMPANY_NOT_READY` | A client in `COMPANY` mode is refused before the consent page: the technical conditions for the connection are not met — the client is disabled or its Company configuration is invalid, the requested `operation` is not allowed for it, the partner has not confirmed the Company mode, the client's mode is changing at that moment, or issuance of Company connections is not ready on the platform. The refusal holds until its cause is removed, so retrying by itself does not clear it |\n| `access_denied` with `error_description=CONNECT_COMPANY_DISABLED` | A client in `COMPANY` mode is refused before the consent page: the Company connection is unavailable for the selected user or Bitrix24 account — see [Company connection](\u002Fdocs\u002Fpartner-connect\u002Fcompany) |\n| `access_denied` | The user clicked \"Deny\" on the consent page |\n| `access_denied` | The user confirmed access, but the key could not be issued: the Bitrix24 account's plan does not grant access to Vibecode, the region is not supported, or the key limit is reached. The machine-readable reason code arrives in `error_description` |\n| `temporarily_unavailable` | The user confirmed access, but key issuance did not complete because Bitrix24 was temporarily unavailable. The machine-readable reason code, for example `BITRIX_UNAVAILABLE`, arrives in `error_description`. The attempt can be retried |\n\n```\nhttps:\u002F\u002Fyourapp.com\u002Fcallback?error=invalid_scope&state=abc123random\n```\n\nAny other refusal of a client in `COMPANY` mode arrives the same way: `error=access_denied` and the machine-readable reason code in `error_description`. The list of these codes is open — see [Company connection](\u002Fdocs\u002Fpartner-connect\u002Fcompany).\n\n**Rate limit exceeded** — `429` before any parameter check, so there is neither a redirect nor a `state`. Limit: 30 requests per minute, counted per `client_id` and caller address pair. The effective value is in the `x-ratelimit-limit` header. The body comes in the common API envelope — `{ \"success\": false, \"error\": { \"code\": \"RATE_LIMITED\", \"message\": \"...\" } }`, not in RFC 6749 form, and the `X-RateLimit-*` headers are present.\n\nThis path must be handled separately because `authorize` is opened by **browser navigation**: the user sees a page with JSON instead of the consent screen, nothing arrives at `redirect_uri`, and the application does not get its `state` back. The application must treat such an authorization as incomplete after its own timeout rather than wait for the callback. The `Retry-After` value gives the minimum pause.\n\n### Denial after the consent screen\n\nKey issuance is denied after the user has already confirmed access. The user sees the reason on the Vibecode consent page and returns to the application via a button — then `error`, `error_description` and the original `state` arrive at `redirect_uri`:\n\n```\nhttps:\u002F\u002Fyourapp.com\u002Fcallback?error=access_denied&error_description=INT_TARIFF_REQUIRED&state=abc123random\n```\n\n`error_description` carries the machine-readable reason code the application can use to show its own screen:\n\n| Code in `error_description` | What happened |\n|---------------------------|---------------|\n| `INT_TARIFF_REQUIRED` | The Bitrix24 account's plan does not grant access to Vibecode. Where access requires the Vibe+ plan, `INT_VIBE_PLUS_REQUIRED` arrives instead |\n| `KEY_LIMIT_REACHED` | The key cannot be issued: the user's key limit or the platform's per-account cap is reached — see [Key limit](\u002Fdocs\u002Fpartner-connect\u002Fkeys#key-limit) |\n| `BITRIX_UNAVAILABLE` | Bitrix24 did not respond while the key was being issued. Arrives with `error=temporarily_unavailable`, not `access_denied` |\n| `STATE_EXPIRED` | The consent link expired before confirmation — start authorization again with `\u002Fv1\u002Fconnect\u002Fauthorize` |\n| `admin_approval_requested` | The user is not a Bitrix24 account administrator and asked the administrators to allow AI for the application — the request reached them in the bot chat. Arrives when administrator approval of AI is enabled on the platform. Once the administrator allows AI, start authorization again with `\u002Fv1\u002Fconnect\u002Fauthorize` |\n\nThe list of codes is open: the application must treat any `error_description` as a denial reason and must not rely on the list above being exhaustive.\n\nWhen access is denied for a payment reason, the user sees a built-in payment card on the consent page. The actions apply to the selected Bitrix24 account. For `INT_TARIFF_REQUIRED` the card prompts the user to choose a Bitrix24 plan and, depending on the selected account, may also offer Vibe+. For `INT_VIBE_PLUS_REQUIRED` it offers the Vibe+ plan. In the Vibe+ model the card offers trial activation if available. The Bitrix24 demo plan is activated in Bitrix24 itself, if available there.\n\nUntil the user clicks the button to return to the application, nothing arrives at `redirect_uri`. Returning after such a denial passes `error=access_denied`, the machine-readable reason code in `error_description` and the original `state`. No `code` and no API key are issued. After a purchase or trial activation, return to the application and start authorization again with `\u002Fv1\u002Fconnect\u002Fauthorize`: the one-time state of the previous link has already been used.\n\nFull reference of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Exchange a code for an API key](\u002Fdocs\u002Fpartner-connect\u002Ftoken)\n- [Public client: PKCE flow](\u002Fdocs\u002Fpartner-connect\u002Fpkce)\n- [Application registration and scopes](\u002Fdocs\u002Fpartner-connect\u002Fregistration)\n- [Partner Connect](\u002Fdocs\u002Fpartner-connect)\n","## Exchange a code for an API key\n\n`POST \u002Fv1\u002Fconnect\u002Ftoken`\n\nExchanges a one-time authorization code for a permanent API key. Accepts `application\u002Fjson` and `application\u002Fx-www-form-urlencoded`.\n\n## Request fields (body)\n\n| Field | Type | Required | Description |\n|------|-----|:-----:|----------|\n| `grant_type` | string | yes | `authorization_code` for this flow. If it is missing, the endpoint responds with `unsupported_grant_type`. The other mode of the same endpoint is `urn:ietf:params:oauth:grant-type:device_code` (see [Device sign-in without a browser](\u002Fdocs\u002Fpartner-connect\u002Fdevice-authorize)). |\n| `client_id` | string | yes | Partner identifier |\n| `client_secret` | string | conditional | Partner secret. Required for a confidential client. Pass it only from the server side. A public client (`PUBLIC`) does not pass it |\n| `code` | string | yes | Code from the `code` parameter of the redirect |\n| `redirect_uri` | string | yes | The same `redirect_uri` that was passed to `\u002Fv1\u002Fconnect\u002Fauthorize` |\n| `code_verifier` | string | conditional | Original PKCE string. Required if `code_challenge` was passed during authorization, including for a client with a secret |\n\n## Examples\n\nThe endpoint authenticates with the application's credentials — `client_id` and `client_secret` in the request body. The `X-Api-Key` and `Authorization` headers are not needed.\n\n### curl — OAuth application\n\n```bash\ncurl -X POST https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Ftoken \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded\" \\\n  -d grant_type=authorization_code \\\n  -d client_id=YOUR_CLIENT_ID \\\n  -d client_secret=YOUR_CLIENT_SECRET \\\n  -d code=RECEIVED_CODE \\\n  -d redirect_uri=https:\u002F\u002Fyourapp.com\u002Fcallback\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Ftoken', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    grant_type: 'authorization_code',\n    client_id: 'YOUR_CLIENT_ID',\n    client_secret: 'YOUR_CLIENT_SECRET',\n    code: receivedCode,\n    redirect_uri: 'https:\u002F\u002Fyourapp.com\u002Fcallback',\n  }),\n})\n\nconst data = await res.json()\n\u002F\u002F data.api_key — permanent Vibecode API key\n\u002F\u002F data.portal — Bitrix24 account selected by the user\n\u002F\u002F data.scopes — requested scopes, data.granted_scopes — scopes of the key\n\u002F\u002F data.user — user who granted access\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `api_key` | string | Vibecode API key in the `vibe_api_...` format. Pass it in the `X-Api-Key` header in subsequent calls |\n| `portal.domain` | string | Bitrix24 account domain, for example `example.bitrix24.com` |\n| `portal.name` | string | Bitrix24 account name |\n| `scopes` | string[] | Scopes requested by the application. On the consent page the user confirms the set as a whole |\n| `granted_scopes` | string[] | Scopes the issued key actually carries. For a self-registered partner application it generally matches `scopes`. The two differ if the key's scopes were changed after consent |\n| `user.name` | string | Name of the user who granted access |\n| `user.email` | string | User's email address |\n\nThe two scope sets differ only for applications whose scopes are assigned by the platform itself — for example, the [Cowork](\u002Fdocs\u002Fcowork) desktop application. Such an application may request nothing, in which case `scopes` arrives empty and `granted_scopes` lists the key's full set. Check access against `granted_scopes`.\n\nThe `granted_scopes` field may be absent from the response if the platform could not read the scopes of the issued key. It never arrives empty, so an absent field means \"set unknown\", not \"no scopes\" — in such a response rely on `scopes`.\n\nThe `granted_scopes` set reflects what is recorded in the key. The Bitrix24 account may not confirm an individual scope on its side, so determine the cause of a denial from the Bitrix24 response code, not from whether the scope is in the list.\n\n## Response example\n\n```json\n{\n  \"api_key\": \"vibe_api_...\",\n  \"portal\": {\n    \"domain\": \"example.bitrix24.com\",\n    \"name\": \"My company\"\n  },\n  \"scopes\": [\"crm\", \"task\"],\n  \"granted_scopes\": [\"crm\", \"task\"],\n  \"user\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john@example.com\"\n  }\n}\n```\n\n## Error response example\n\n400 — a required parameter is missing:\n\n```json\n{\n  \"error\": \"invalid_request\",\n  \"error_description\": \"Missing client_id, code or redirect_uri\"\n}\n```\n\n## Errors\n\nThe endpoint responds in RFC 6749 form — `{ error, error_description }`, without the `success` wrapper. This is for compatibility with off-the-shelf OAuth libraries. The exception is a denial by the endpoint's own rate limiter, whose form is described after the table.\n\n| HTTP | `error` | Condition |\n|------|---------|---------|\n| 400 | `invalid_request` | One of `client_id`, `code`, `redirect_uri` is missing |\n| 400 | `invalid_grant` | The code does not exist, has expired or was already used, or `redirect_uri` does not match the one passed to `\u002Fv1\u002Fconnect\u002Fauthorize` |\n| 400 | `invalid_grant` | PKCE verification failed: `code_verifier` was not passed or does not match the previously passed `code_challenge`. The code is consumed anyway: a retry with the correct `code_verifier` also returns `invalid_grant`, so start authorization over |\n| 400 | `invalid_client` | A public client sent `client_secret` — a public client is not issued a secret and must not pass one |\n| 400 | `unsupported_grant_type` | `grant_type` is missing or is not one of the modes listed in the `grant_type` field above |\n| 401 | `invalid_client` | `client_id` is unknown, the client is disabled, or `client_secret` does not match |\n| 403 | `access_denied` | The client is in `COMPANY` mode, and Company key issuance is refused. `code` and `error_description` carry the machine-readable reason: `CONNECT_COMPANY_NOT_READY` when the technical conditions for the connection are not met, `CONNECT_COMPANY_DISABLED` when the connection is unavailable for this user or Bitrix24 account. For details, see [Company connection](\u002Fdocs\u002Fpartner-connect\u002Fcompany) |\n| 400 | `invalid_request` | Device sign-in polling: `client_id` or `device_code` is missing. `error_description` is `Missing client_id or device_code` |\n| 401 | `invalid_client` | Device sign-in polling: the client is unknown, disabled, or not allowed to use device sign-in |\n| 400 | `unauthorized_client` | Device sign-in polling from a client in `COMPANY` mode. `code` and `error_description` are both `CONNECT_COMPANY_DEVICE_FLOW_FORBIDDEN` |\n| 429 | `slow_down` | The rate limit at the platform entry was exceeded. The limit is counted per caller address and is shared between code exchange and device polling. The response carries `Retry-After` with the minimum pause in seconds and no `X-RateLimit-*` headers |\n\n**There are two rate limiters, and both respond with `429`.** Tell them apart by the `X-RateLimit-Limit` header. A denial at the platform entry from the table above does not carry this header and comes in RFC 6749 form. A denial by the endpoint itself carries it, and the body comes in the common API envelope — `{ \"success\": false, \"error\": { \"code\": \"RATE_LIMITED\", \"message\": \"...\" } }`. The action is the same in both cases: wait, then retry with a longer pause each time.\n\nDenials of issuance, reconnection and secret rotation in `COMPANY` mode arrive with HTTP 400, 403, 409, 429 or 503 and a `code` field. The `429 CONNECT_COMPANY_ATTEMPT_LIMITED` denial also carries `retryAfterSeconds`. The full list is in [Reconnection and secret rotation](\u002Fdocs\u002Fpartner-connect\u002Fcompany#reconnection-and-secret-rotation).\n\nFor the full reference of common API errors, see [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Start user authorization](\u002Fdocs\u002Fpartner-connect\u002Fauthorize)\n- [Public client: PKCE flow](\u002Fdocs\u002Fpartner-connect\u002Fpkce)\n- [Device sign-in without a browser](\u002Fdocs\u002Fpartner-connect\u002Fdevice-authorize)\n- [Key lifetime, revocation and limit](\u002Fdocs\u002Fpartner-connect\u002Fkeys)\n- [Partner Connect](\u002Fdocs\u002Fpartner-connect)\n","\n## Request a device sign-in code\n\n`POST \u002Fv1\u002Fconnect\u002Fdevice\u002Fauthorize`\n\nIssues a confirmation code for signing in from a device without a browser: a TV, a set-top box, a terminal utility — anywhere typing a login and password is awkward. The user confirms the sign-in on a phone or computer, and the device receives access. The flow is defined by RFC 8628.\n\nThe application needs device sign-in enabled: a platform administrator turns it on, and only for verified applications. A self-registered client gets `400 unauthorized_client` — this protects users from confirmation codes displayed by unverified applications.\n\n## Request fields (body)\n\nThe request accepts `application\u002Fjson` and `application\u002Fx-www-form-urlencoded`.\n\n| Field | Type | Required | Description |\n|------|-----|:-----:|----------|\n| `client_id` | string | yes | Identifier of the application for which a platform administrator has enabled device sign-in |\n| `scope` | string | no | Requested permissions, separated by spaces or commas. If omitted, the permissions registered for the client apply |\n| `code_challenge` | string | conditional | SHA-256 hash of `code_verifier` in `base64url` without `=`. Required if PKCE is enabled in the client settings. The platform stores the submitted hash and checks it against `code_verifier` during polling |\n| `code_challenge_method` | string | conditional | `S256`, required together with `code_challenge` |\n| `device_id` | string | no | Persistent identifier of the application installation: up to 128 characters, Latin letters, digits and the characters `.`, `:`, `-`, `_`. The platform adds it to `verification_uri_complete` as the `device_id` parameter to link the steps of one sign-in, even if the link is opened in another browser. A value of any other form is dropped without an error: the response stays `200`, and the link is returned without the parameter. Does not affect issuing a key to a third-party application |\n| `login_source` | string | no | Your sign-in button label for statistics: a lowercase Latin letter followed by lowercase Latin letters, digits and `_`, up to 64 characters in total. Leading and trailing spaces are trimmed. An invalid label does not interrupt the sign-in and does not affect permissions or key issuance |\n| `last_connect_clear` | string | no | Optional window-clear receipt: a JSON string of up to 1024 UTF-8 bytes. Accepted and recorded only for keys of the official Cowork client (`client_id=cowork-desktop`); ignored for other clients. Invalid known values or an oversized receipt cause the entire receipt to be discarded without a connection error. Unknown fields are ignored and never recorded. Omitting the parameter preserves the existing connection flow |\n\n## Examples\n\nThe endpoint authenticates with the application identifier `client_id` in the request body. The `X-Api-Key` and `Authorization` headers are not needed.\n\nKeep `code_verifier` until the exchange at `POST \u002Fv1\u002Fconnect\u002Ftoken`. The curl example uses the RFC 7636 pair with `code_verifier` equal to `dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk`. Generate a new random pair for each sign-in, as in the JavaScript example.\n\n### curl — OAuth application\n\n```bash\ncurl -X POST https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fdevice\u002Fauthorize \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"client_id\":\"YOUR_CLIENT_ID\",\"scope\":\"crm\",\"code_challenge\":\"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\",\"code_challenge_method\":\"S256\"}'\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst base64url = bytes => btoa(String.fromCharCode(...bytes))\n  .replace(\u002F\\+\u002Fg, '-').replace(\u002F\\\u002F\u002Fg, '_').replace(\u002F=+$\u002F, '')\nconst code_verifier = base64url(crypto.getRandomValues(new Uint8Array(32)))\nconst challenge = base64url(new Uint8Array(\n  await crypto.subtle.digest('SHA-256', new TextEncoder().encode(code_verifier)),\n))\n\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fdevice\u002Fauthorize', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    client_id: 'YOUR_CLIENT_ID',\n    scope: 'crm',\n    code_challenge: challenge,\n    code_challenge_method: 'S256',\n  }),\n})\n\nconst data = await res.json()\n\u002F\u002F data.user_code and data.verification_uri — show to the user\n\u002F\u002F data.device_code — keep on the device, do not display\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `device_code` | string | Device secret. Not displayed; sent when polling `POST \u002Fv1\u002Fconnect\u002Ftoken` |\n| `user_code` | string | Code shown to the user together with the URL |\n| `verification_uri` | string | URL where the user enters the code |\n| `verification_uri_complete` | string | The same URL with `user_code` already filled in |\n| `expires_in` | integer | Number of seconds the user has to confirm |\n| `interval` | integer | Polling interval for `POST \u002Fv1\u002Fconnect\u002Ftoken`, in seconds |\n\n## Response example\n\n```json\n{\n  \"device_code\": \"MYQnuWB3H0tR...\",\n  \"user_code\": \"54BV-XT8F\",\n  \"verification_uri\": \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fconnect\u002Fdevice\",\n  \"verification_uri_complete\": \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fconnect\u002Fdevice?user_code=54BV-XT8F\",\n  \"expires_in\": 899,\n  \"interval\": 5\n}\n```\n\n## Error response example\n\n400 — device sign-in is not enabled for this client:\n\n```json\n{\n  \"error\": \"unauthorized_client\",\n  \"error_description\": \"Client is not enabled for the device flow\"\n}\n```\n\n## Errors\n\nRejections come in the RFC 6749 form — `{ error, error_description }`:\n\n| HTTP | `error` | Condition |\n|------|---------|---------|\n| 400 | `invalid_request` | `client_id` is missing. `error_description` — `Missing client_id` |\n| 401 | `invalid_client` | `client_id` is unknown or the client is disabled |\n| 400 | `unauthorized_client` | Device sign-in is not enabled for this client. `error_description` — `Client is not enabled for the device flow` |\n| 400 | `unauthorized_client` | The client is in `COMPANY` mode. `code` and `error_description` — `CONNECT_COMPANY_DEVICE_FLOW_FORBIDDEN` |\n| 400 | `invalid_request` | The client requires PKCE, and `code_challenge` is missing, the method is not `S256`, or the hash is invalid |\n| 400 | `invalid_scope` | An unknown permission or a permission outside the client's registered set is requested |\n\nThe endpoint is rate-limited — 30 requests per minute per caller IP address; `client_id` is not part of the key. On top of that, the platform entry limiter applies, shared across all of `\u002Fv1\u002F`. Exceeding either returns `429` in the common API envelope with a `Retry-After` header. The presence of `X-RateLimit-Limit` shows which one fired.\n\nFull reference of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**The user opens the URL and confirms.** On the confirmation screen they see the application card, the requested permissions, a Bitrix24 account selector and a phishing warning: confirm only a sign-in you started yourself.\n\n**The device polls `\u002Fv1\u002Fconnect\u002Ftoken`.**\n\n```bash\ncurl -X POST https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Ftoken \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"grant_type\": \"urn:ietf:params:oauth:grant-type:device_code\",\n    \"client_id\": \"YOUR_CLIENT_ID\",\n    \"device_code\": \"DEVICE_CODE\",\n    \"code_verifier\": \"CODE_VERIFIER\"\n  }'\n```\n\nUntil the user confirms, the request returns `400` with one of these states:\n\n| `error` | What to do |\n|---------|------------|\n| `authorization_pending` | Wait and keep polling every `interval` seconds |\n| `slow_down` | Polling is more frequent than allowed. Increase the interval by 5 seconds and continue |\n| `access_denied` | The user declined. Stop polling |\n| `access_denied` with `error_description=admin_approval_requested` | The user asked the Bitrix24 account administrator to allow AI for the application. Returned when administrator approval of AI is enabled on the platform. Stop polling, and after the administrator decides, request a new code via `POST \u002Fv1\u002Fconnect\u002Fdevice\u002Fauthorize` |\n| `expired_token` | The code has expired. Request a new one via `POST \u002Fv1\u002Fconnect\u002Fdevice\u002Fauthorize` |\n| `invalid_grant` | The user confirmed the sign-in, but `code_verifier` is missing or does not match `code_challenge` from the code request. Repeat the poll with the correct `code_verifier` |\n\nPolling can also receive `429` — a rate limiter rejection, not an authorization state, and it **comes in two forms** because this route has two limiters. A rejection from the platform entry limiter comes in the RFC 6749 form (`error` equals `slow_down`) and without `X-RateLimit-*` headers. A rejection from the endpoint's own limiter comes in the common API envelope — `{ \"success\": false, \"error\": { \"code\": \"RATE_LIMITED\", \"message\": \"...\" } }` — and carries `X-RateLimit-*` headers. A single branch on `error === \"slow_down\"` is therefore not enough: it misses half of the rejections.\n\nHandle both the same way: wait at least the `Retry-After` value and continue polling without resetting your growing pause. To tell them apart if needed, check for `X-RateLimit-Limit`.\n\nAfter confirmation the same request returns `200` with the key and two permission sets:\n\n```json\n{ \"api_key\": \"vibe_api_...\", \"scopes\": [\"crm\"], \"granted_scopes\": [\"crm\"] }\n```\n\nNote: this object is **narrower** than in the main flow — without the `portal` and `user` blocks.\n\nThe key is returned **once**. A repeated poll with the same `device_code` returns `expired_token`, so save the key immediately.\n\n**What the device must do:**\n\n- **Show a countdown.** The code is valid for 15 minutes. When it expires, show a new one, not a dead screen.\n- **Respect `interval` and react to `slow_down`.** Polling more often than allowed does not speed up issuance; it leads to rejections.\n- **Read `Retry-After` and increase its own pause.** The header value is the minimum pause, not a guarantee that the next request is accepted: all running copies of the application compete for the per-IP limit. Wait at least `Retry-After` and increase your pause with each rejection.\n- **Do not display `device_code`.** Only `user_code` goes on screen.\n\n## See also\n\n- [Exchange a code for an API key](\u002Fdocs\u002Fpartner-connect\u002Ftoken)\n- [Public client: PKCE flow](\u002Fdocs\u002Fpartner-connect\u002Fpkce)\n- [Partner Connect](\u002Fdocs\u002Fpartner-connect)\n","\n## Revoke a key as the application\n\n`POST \u002Fv1\u002Fconnect\u002Frevoke`\n\nThe endpoint follows RFC 7009 and revokes **one** key — the one you present in the request. Call it when the user disables the integration on your side: otherwise earlier keys keep working and occupy slots in the [key limit](\u002Fdocs\u002Fpartner-connect\u002Fkeys#key-limit).\n\n## Request fields (body)\n\nAccepts `application\u002Fx-www-form-urlencoded` and JSON with the same fields.\n\n| Field | Type | Required | Description |\n|------|-----|:-----:|----------|\n| `client_id` | string | yes | Application identifier |\n| `client_secret` | string | conditional | Application secret. Confidential clients must send it. Public clients (`PUBLIC`) do not send it — they have none |\n| `token` | string | yes | API key to revoke. The key comes in the `api_key` field of the [`POST \u002Fv1\u002Fconnect\u002Ftoken`](\u002Fdocs\u002Fpartner-connect\u002Ftoken) response |\n\n## Examples\n\nThe endpoint authenticates with the application credentials — `client_id` and `client_secret` in the request body. The `X-Api-Key` and `Authorization` headers are not needed.\n\n### curl — OAuth application\n\n```bash\ncurl -X POST https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Frevoke \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded\" \\\n  -d client_id=YOUR_CLIENT_ID \\\n  -d client_secret=YOUR_CLIENT_SECRET \\\n  -d token=API_KEY_TO_REVOKE\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Frevoke', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    client_id: 'YOUR_CLIENT_ID',\n    client_secret: 'YOUR_CLIENT_SECRET',\n    token: apiKeyToRevoke,\n  }),\n})\n\nif (res.status === 200) {\n  \u002F\u002F the key is revoked or there was nothing to revoke — retrying is safe\n}\n```\n\n## Response fields\n\nA successful response is HTTP `200` with an empty object `{}`. The same response is returned for an unknown token, for someone else's key and for an already revoked one — so brute force cannot reveal whether other parties' keys are still valid. Hence the call is **idempotent**: it is safe to repeat.\n\n## Response example\n\n```json\n{}\n```\n\n## Error response example\n\n401 — the client is unknown:\n\n```json\n{\n  \"error\": \"invalid_client\",\n  \"error_description\": \"Unknown client\"\n}\n```\n\n## Errors\n\nErrors come in the RFC 7009 form — `{ error, error_description }`, without the `success` wrapper. The exception is a rate limiter rejection; its form is described after the table.\n\n| HTTP | `error` | Condition |\n|------|---------|---------|\n| 400 | `invalid_request` | `client_id` or `token` is missing |\n| 400 | `invalid_client` | A public client sent `client_secret` |\n| 401 | `invalid_client` | The client is unknown or the secret does not match |\n| 409 | `key_manages_foreign_server` | The key manages a live server of another owner, a server without an owner, or a server of the same owner in another Bitrix24 account. The `code` field is `KEY_MANAGES_FOREIGN_SERVER`. Determine the server's owner and Bitrix24 account, rebind it to a key of that owner in the same Bitrix24 account, then retry the revocation |\n| 409 | `key_operation_in_progress` | Another operation is changing the same key right now. The `code` field is `KEY_OPERATION_IN_PROGRESS`. Retry the request after it completes |\n\nThe body of both `409` rejections contains `error`, `error_description` and `code`.\n\n**There are two rate limiters here, and both respond with `429`.** The endpoint's own limiter: 60 requests per minute. The effective value is in the `x-ratelimit-limit` header. It counts **by caller address only** — `client_id` is deliberately not part of the limiter key, so rotating it gives no new budget, and all instances of the integration behind one address share those 60 requests. It sets the `X-RateLimit-*` headers. The platform's entry limiter: 60 requests per **second** per address, and this counter is shared across all of `\u002Fv1\u002F`, not per endpoint. It does not set `X-RateLimit-*` headers, and its `Retry-After` is always 1. In both cases the body comes in the common API envelope — `{ \"success\": false, \"error\": { \"code\": \"RATE_LIMITED\", \"message\": \"...\" } }` — which differs from the RFC 7009 form of this endpoint's other responses, and the limiters cannot be told apart by the body, only by the presence of `X-RateLimit-Limit`. The rejection is **not** terminal: the key is not revoked. Retry after the delay given in `Retry-After`.\n\nFull reference of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**Revocation stops the key immediately.** If the presented key was issued to your client and was active, requests with it return `401 KEY_INACTIVE` after revocation, and its slot in the limit is freed. The `200 {}` response alone does not prove revocation: an unknown key, a key belonging to another client and an already revoked key give the same response.\n\n**Client deactivation does not block revocation.** You can also revoke a key issued before your client was deactivated: deactivation stops issuing new keys but does not prohibit revoking earlier ones.\n\n**What the endpoint does not do:**\n\n- **it does not remove the webhook in the Bitrix24 account** — the user deletes it on their side; revoking the key does not replace that.\n- **it does not return a lost key** — to revoke a key you must present it; it cannot be recovered.\n- **it does not trigger on its own** — if the user stops using the integration, the key lives on. Calling the endpoint is your responsibility.\n\n## See also\n\n- [Key lifetime, revocation and limit](\u002Fdocs\u002Fpartner-connect\u002Fkeys)\n- [Exchange a code for an API key](\u002Fdocs\u002Fpartner-connect\u002Ftoken)\n- [Partner Connect](\u002Fdocs\u002Fpartner-connect)\n","\n## Company connection polling\n\n`GET \u002Fv1\u002Fconnect\u002Fcompany\u002Fstatus`\n\nLets the Product server check its own Company connection using an already issued `COMPANY` secret. The account and Product pair is determined by the secret.\n\n## Parameters\n\nThe method accepts no query parameters, including identifiers of another pair. Send the connection secret only in the `X-Api-Key` header. A client secret, cookie or Bearer credential does not work for this method. Keep the connection secret on your server; do not pass it to the browser or write it to logs.\n\n## Examples\n\nThe method authenticates with the Company connection secret — it is issued by [`POST \u002Fv1\u002Fconnect\u002Ftoken`](\u002Fdocs\u002Fpartner-connect\u002Ftoken) in the `api_key` field. A personal key and an OAuth application key do not work here.\n\n### curl\n\n```bash\ncurl --max-time 20 \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fcompany\u002Fstatus\" \\\n  -H \"X-Api-Key: YOUR_COMPANY_SECRET\"\n```\n\n### JavaScript\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fconnect\u002Fcompany\u002Fstatus', {\n  headers: { 'X-Api-Key': 'YOUR_COMPANY_SECRET' },\n  cache: 'no-store',\n  signal: AbortSignal.timeout(20000),\n})\nconst result = await response.json()\nif (!response.ok) throw new Error(result.error.code)\nconsole.log(result.data.status, result.data.revision, result.data.action)\n```\n\n## Response fields\n\n| Field | Type | Value |\n|------|-----|----------|\n| `success` | boolean | `true` for a successful poll |\n| `data` | object | Diagnostics of your own connection |\n| `data.connection_id` | string | Identifier of the connection resolved by this method |\n| `data.connection_mode` | string | Always `COMPANY` |\n| `data.portal` | object | The connected Bitrix24: only `domain` and `name` |\n| `data.portal.domain` | string | Domain of the connected Bitrix24 |\n| `data.portal.name` | string | Name of the connected Bitrix24, `Unknown` if missing |\n| `data.user` | object \\| null | Holder of the current consent: only `name` and `email`, or `null` |\n| `data.user.name` | string | Holder's name in the platform account |\n| `data.user.email` | string | Holder's email in the platform account, an empty string if missing |\n| `data.status` | string | `ACTIVE`, `NEEDS_ADMIN`, `SUSPENDED`, `DISCONNECTED`, `DELETION_PENDING` |\n| `data.generation` | integer | Generation of the connection consent |\n| `data.revision` | integer | Recorded version of the connection state |\n| `data.credential_version` | integer | Version of the current connection secret |\n| `data.bitrix_ready` | boolean | Current availability of Bitrix24 |\n| `data.reason_code` | string \\| null | Reason why access to Bitrix24 is closed, or `null` if access is open |\n| `data.webhook_cleanup` | string | `none` — no unfinished attempts, `pending` — cleanup or creation is not finished, including when there is no way to delete the previous webhook, `attention_required` — the webhook creation result is unknown and needs investigation on the platform side |\n| `data.capabilities.bitrix` | boolean | Current availability of Bitrix24 |\n| `data.capabilities.ai` | boolean | Availability of AI, considering scope, permission and connection state |\n| `data.capabilities.storage` | boolean | Availability of storage, considering scope and connection state |\n| `data.poll_after_seconds` | integer | Recommended polling interval: 30 seconds |\n| `data.action` | string \\| null | `null` if access is open. Otherwise `WAIT`, `AUTHORIZE_ADMIN`, `CONTACT_SUPPORT`, `RECONNECT`, `WAIT_FOR_DELETION` |\n\n| State or condition | `reason_code` | `action` |\n|----------------------|---------------|----------|\n| `ACTIVE`, all connection and consent checks passed | `null` | `null` |\n| `ACTIVE`, the scheduled holder check is stale or has failed | `ADMIN_CHECK_REQUIRED` | `WAIT` |\n| `ACTIVE`, the consent, the holder's permissions or the connection webhook require new administrator consent | `CONNECTION_ADMIN_REQUIRED` | `AUTHORIZE_ADMIN` |\n| `ACTIVE`, the consent has no Bitrix24 permissions | `SCOPE_MISSING` | `WAIT` |\n| `ACTIVE`, cleanup of a webhook with an unknown creation result is not finished | `CONNECTION_WEBHOOK_CLEANUP_PENDING` | `WAIT` |\n| `ACTIVE`, the working webhook is not ready yet | `CONNECT_COMPANY_NOT_READY` | `WAIT` |\n| `ACTIVE`, the connection secret is not valid | `INVALID_API_KEY` | `WAIT` |\n| `ACTIVE`, the application or the account is blocked | `CLIENT_BLOCKED` or `PORTAL_BLOCKED` | `WAIT` |\n| `NEEDS_ADMIN` | `CONNECTION_ADMIN_REQUIRED` | `AUTHORIZE_ADMIN` |\n| `SUSPENDED` | `CONNECTION_SUSPENDED` | `CONTACT_SUPPORT` |\n| `DISCONNECTED` | `CONNECTION_DISCONNECTED` | `RECONNECT` |\n| `DELETION_PENDING` | `CONNECTION_DELETION_PENDING` | `WAIT_FOR_DELETION` |\n\nWorking calls with `ADMIN_CHECK_REQUIRED` receive `503` with the `Retry-After: 30` header. Retry after 30 seconds.\n\n## Response example\n\nThe response and errors are returned with `Cache-Control: no-store`. Example response for a connection awaiting an administrator:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"connection_id\": \"connection-id\",\n    \"connection_mode\": \"COMPANY\",\n    \"portal\": { \"domain\": \"example.bitrix24.com\", \"name\": \"Example\" },\n    \"user\": null,\n    \"status\": \"NEEDS_ADMIN\",\n    \"generation\": 0,\n    \"revision\": 1,\n    \"credential_version\": 1,\n    \"bitrix_ready\": false,\n    \"reason_code\": \"CONNECTION_ADMIN_REQUIRED\",\n    \"webhook_cleanup\": \"none\",\n    \"capabilities\": { \"bitrix\": false, \"ai\": false, \"storage\": false },\n    \"poll_after_seconds\": 30,\n    \"action\": \"AUTHORIZE_ADMIN\"\n  }\n}\n```\n\n## Error response example\n\n401 — an unknown, revoked or pre-rotation secret:\n\n```json\n{ \"success\": false, \"error\": { \"code\": \"INVALID_API_KEY\", \"message\": \"Invalid API key\" } }\n```\n\n## Errors\n\n| HTTP | Code | What to do |\n|------|-----|------------|\n| 401 | `INVALID_API_KEY` | Check the current secret. An unknown, revoked or pre-rotation secret and a request for another pair produce the same rejection |\n| 403 | `CLIENT_BLOCKED` | The Product is blocked; contact support |\n| 403 | `PORTAL_DELETED` | The account is deleted; stop polling |\n| 403 | `PORTAL_BLOCKED` | The account is blocked; contact support |\n| 403 | `PORTAL_SUSPENDED` | The account is suspended; contact support |\n| 429 | `RATE_LIMITED` | The per-IP limit is reached. Wait at least `Retry-After` seconds |\n| 429 | `CALLER_RATE_LIMITED` | The shared connection or account limit is reached. Wait at least `Retry-After` seconds |\n\nThe common codes from the table are also described in the [errors reference](\u002Fdocs\u002Ferrors), and `CLIENT_BLOCKED` is returned by this method and by Company connection AI calls.\n\n## Known specifics\n\n**`ACTIVE` alone does not open access.** Polling does not extend the holder check. Use `bitrix_ready` and the individual `capabilities` values: holder details do not change the availability of Bitrix24, AI or storage. The response contains only the details described above about the connected Bitrix24 and the consent holder. The status contains no list of people, internal identifiers, secrets or webhook URLs.\n\n**Polling frequency.** Poll no more often than `poll_after_seconds`, and increase the pause on `429`. The base per-IP limit is 120 requests per minute. The effective threshold is in `x-ratelimit-limit`. A successful poll also consumes the shared connection and account limit together with other API requests. Secret rotation does not reset this limit.\n\n**Secret states.** A secret in the `STATUS_ONLY` state allows reading diagnostics but not calling working methods. A `REVOKED` secret does not allow even polling. After rotation, use the new secret. Protection already issued and polling work independently of whether new issuance is available. Reconnection is performed by the account administrator through a separate consent.\n\n## See also\n\n- [Company connection](\u002Fdocs\u002Fpartner-connect\u002Fcompany)\n- [Exchange a code for an API key](\u002Fdocs\u002Fpartner-connect\u002Ftoken)\n- [Partner Connect](\u002Fdocs\u002Fpartner-connect)\n",1795415494346]