For AI agents: markdown of this page — /docs-content-en/telephony/crm/show.md documentation index — /llms.txt

Show the call card

POST /v1/calls/:callId/show

Displays the active-call card over open Bitrix24 windows for the specified user. Call it after POST /v1/calls/register, while the call is still active.

Parameters

Parameter In Type Required Description
callId path string yes CALL_ID from the POST /v1/calls/register response

Request fields (body)

Parameter Type Required Default Description
userId number yes ID of the Bitrix24 user the card is shown to. A positive integer. A numeric string such as "42" is also accepted. Employees

Examples

curl — personal key

Terminal
curl -X POST https://vibecode.bitrix24.com/v1/calls/CALL_ID/show \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"userId": 1}'

curl — OAuth application

Terminal
curl -X POST https://vibecode.bitrix24.com/v1/calls/CALL_ID/show \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -H "Authorization: Bearer USER_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"userId": 1}'

JavaScript — personal key

javascript
const callId = 'externalCall.00b1e735843c558431be668e3687a58b.1777974304'

const res = await fetch(`https://vibecode.bitrix24.com/v1/calls/${callId}/show`, {
  method: 'POST',
  headers: {
    'X-Api-Key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ userId: 1 }),
})

const { success, data } = await res.json()

JavaScript — OAuth application

javascript
const callId = 'externalCall.00b1e735843c558431be668e3687a58b.1777974304'

const res = await fetch(`https://vibecode.bitrix24.com/v1/calls/${callId}/show`, {
  method: 'POST',
  headers: {
    'X-Api-Key': 'YOUR_APP_KEY',
    'Authorization': 'Bearer USER_SESSION_TOKEN',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ userId: 1 }),
})

const { success, data } = await res.json()

Response fields

Field Type Description
data boolean true — the card was shown successfully, false — the card was not shown: the call was not found or has already finished

Response example

JSON
{
  "success": true,
  "data": true
}

Error response example

400 — a required parameter is missing:

JSON
{
  "success": false,
  "error": {
    "code": "MISSING_PARAMS",
    "message": "Required: userId (positive integer)"
  }
}

Errors

HTTP Code Description
400 MISSING_PARAMS userId is missing or is not recognized as a positive integer
401 MISSING_API_KEY The X-Api-Key header is missing
401 INVALID_API_KEY Invalid API key
401 TOKEN_MISSING The API key has no Bitrix24 tokens configured
401 KEY_INACTIVE The API key is inactive or revoked
403 SCOPE_DENIED The key is missing the telephony scope
422 BITRIX_ERROR Bitrix24 returned an error (text in error.message)
429 RATE_LIMITED Request limit exceeded
502 BITRIX_UNAVAILABLE Bitrix24 is unavailable

Full list of common API errors — Errors.

Known specifics

The success indicator is the data field, not the HTTP status. For a non-existent or already-finished callId, Bitrix24 returns HTTP 200 with data: false. Check the field value, not the response code.

userId does not have to match the user who registered the call. The card can be shown to any Bitrix24 account user — for example, a supervisor or a substitute operator.

See also