Bitrix24 Widgets API

The Widgets API from Bitrix24 — 12 operation(s) for widgets.

GitHub OpenAPI

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /BX24.placement.bindEvent Register an event handler for a placement · Set Up an Event Handler for the Interface BX24.placement.bindEvent #
Ask an LLM
“How do I register a callback to handle an event fired by a placement?”
“Can I bind an event handler to a specific interface event?”
Tell an agent
Register event {event} with callback {callback}.
Subscribe to interface event {event} and call {callback} when it fires.
POST /BX24.placement.call Call a registered placement command · Call the Registered Interface Command BX24.placement.call #
Ask an LLM
“How do I invoke a registered interface command from a placement?”
“Can I pass parameters when calling a placement command?”
Tell an agent
Call placement command {command} with callback {callback}.
Invoke registered command {command} and pass {parameters} to its callback {callback}.
POST /BX24.placement.getInterface List available placement commands and events · Get Information About the JS Interface of the Current Placement… #
Ask an LLM
“Which commands and events can my placement handle?”
“What does the JS interface of the current placement expose?”
Tell an agent
Get the interface info for the current placement and call {callback}.
List the available placement commands and events.
POST /BX24.placement.info Get the context of a placement call · Get Information About the Call Context of BX24.placement.info #
Ask an LLM
“What does the placement info call return about where the widget was embedded?”
“Can I get the current context or call type when a widget is placed?”
Tell an agent
Get the placement info to see the embedding context.
Show the call context from the placement info request.
POST /placement.bind Register a widget placement handler · Set Up the Widget Handler placement.bind #
Ask an LLM
“How do I add a widget to a placement location?”
“Can I register a widget handler for a specific user?”
Tell an agent
Register handler {HANDLER} for placement {PLACEMENT}.
Add a widget {HANDLER} to placement {PLACEMENT} for user {USER_ID}.
POST /placement.get List registered widget placement handlers · Get a List of Registered Placement Handlers placement.get #
Ask an LLM
“Which widget handlers have been registered for my placement?”
“Can I see all registered placement handlers?”
Tell an agent
List the registered placement handlers.
Show every widget placement handler I have registered.
POST /placement.list List embed locations for an application · Get a List of Available Application Embed Locations placement.list #
Ask an LLM
“Where can my application be embedded?”
“Which embed locations are available for my application?”
Tell an agent
List the available embed locations for my application.
Show embed locations for scope {SCOPE}.
POST /placement.unbind Remove a widget placement handler · Remove Registered Automation Rule Handler placement.unbind #
Ask an LLM
“How do I remove a widget handler from a placement?”
“Can I unregister a placement handler for one user?”
Tell an agent destructive · confirm first
Unregister handler {HANDLER} from its placement.
Remove placement handler {HANDLER} for user {USER_ID}.
POST /userfieldtype.add Register a new user field type · Register a New User Field Type userfieldtype.add #
Ask an LLM
“How do I register a custom user field type?”
“Can I set a height for a new user field type?”
Tell an agent
Register user field type {USER_TYPE_ID} with handler {HANDLER}.
Add user field type {USER_TYPE_ID} with handler {HANDLER} and height {OPTIONS}.
POST /userfieldtype.delete Delete a user field type · Delete Registered User Field Type userfieldtype.delete #
Ask an LLM
“How do I remove a user field type I registered?”
“Can I delete a custom user field type by its code?”
Tell an agent destructive · confirm first
Delete user field type {USER_TYPE_ID}.
Remove the custom user field type {USER_TYPE_ID}.
POST /userfieldtype.list List registered user field types · Get a list of registered user field types userfieldtype.list #
Ask an LLM
“Which user field types have I registered?”
“Can I page through my custom user field types?”
Tell an agent
List the registered user field types.
Show my custom user field types with {total} total.
POST /userfieldtype.update Update a user field type · Change settings for user field type userfieldtype.update #
Ask an LLM
“How do I change the handler or title of an existing user field type?”
“Can I rename a user field type I already registered?”
Tell an agent
Update user field type {USER_TYPE_ID} with handler {HANDLER} and title {TITLE}.
Rename existing user field type {USER_TYPE_ID} to {TITLE}.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitrix24:bitrix24-widgets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitrix24-widgets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrix24 REST Widgets API
  version: 1.0.0
  description: 'Bitrix24 REST API provides access to CRM, tasks, drive, chats, telephony, e-commerce, automation, and other modules. Documentation: https://apidocs.bitrix24.com'
  contact:
    name: Bitrix24 Developer Support
    url: https://apidocs.bitrix24.com/support.html
  license:
    name: MIT
    url: https://github.com/bitrix-tools/b24-rest-docs/blob/main/LICENSE
  x-logo:
    url: https://apidocs.bitrix24.com/_images/bitrix24logo.svg
servers:
- url: https://{portal}.bitrix24.com/rest
  description: Your Bitrix24 portal (cloud)
  variables:
    portal:
      default: your-portal
      description: Subdomain of your Bitrix24 portal
- url: https://{host}/rest
  description: On-Premise Bitrix24 installation
  variables:
    host:
      default: your-bitrix24.example.com
      description: Host of your on-premise installation
security:
- AccessToken: []
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/bitrix24/openapi/bitrix24-widgets-api-openapi.yml