How to Make Your First API Request
Choose a tool for developing with an AI agent:
- use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
- use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation
To make your first request to the REST API, create an inbound webhook. This is a ready-to-use tool for calling API methods with the permissions of the user who created the webhook.
On this page, you will learn how to configure a webhook, perform a test request, and choose the appropriate authorization method for your integration.
How to Create an Inbound Webhook
- In the Bitrix24 left menu, open the Applications > Developer resources section.
- Go to the Common use cases > Other > Inbound webhook tab. A slider will appear containing the pre-generated webhook code.
If the Inbound webhook item is missing, the permission to create webhooks is disabled. Ask the administrator to grant access to webhook creation.
Request Builder
Below the webhook code is the Request builder block. You can use it to select the required method and parameter values.
-
Select a method from the list. If the required method is not in the list:
- Set the necessary scopes in the Permission settings block and save the webhook.
- Manually enter the method name in the URL.

-
Specify the method parameters if necessary.
-
Click the Execute button. The request will be sent to the Bitrix24 API, and you will see the response in JSON format.

Webhook URL Structure
To execute a request from an external system, a URL is used which is generated automatically. You can view it in the generator.
Example URL:
https://test.bitrix24.com/rest/1/4l777m8lapmdaz1n/crm.company.add.json?fields[TITLE]=Company
The URL consists of several parts:
test.bitrix24.com— your Bitrix24 address/rest— indication of REST API access/1— the identifier of the user who created the webhook/4l777m8lapmdaz1n— the unique webhook code/crm.company.add— the called Bitrix24 REST API method.json— the data format?fields— parameters required for the specific method
Never share the secret webhook code and do not embed it in public web page code or scripts.
Webhook Permission Settings
The Permission settings block specifies which Bitrix24 modules the webhook can access. Requests are executed with the permissions of the user who created the webhook and only within the selected scopes. You can find out which scopes are required to execute a specific method on its description page.
How to Configure Access to Webhook Creation for Employees
In Bitrix24, access to webhook creation may be disabled by default.
An employee without administrator permissions cannot grant this access to themselves. An administrator can allow webhook creation for all employees or selected users.
- Open Settings > Bitrix24 settings. The section is available only to employees with administrator permissions.
- In the new window, go to Security > Bitrix24 integrations.
- In the Who can create inbound webhooks field, click Add and select all employees or selected users

The Vibecode connector also controls permissions to create webhooks. If Permission source — Vibecode server is enabled, permissions to create keys and applications are taken from the Vibecode server, bypassing the portal restriction on REST webhooks. If it is disabled, creation follows the Bitrix24 portal permissions. Configure permissions on the Vibecode server in advance.
Other Ways to Work with the API
Inbound webhooks are suitable for personal use and internal scenarios where requests are executed on behalf of a single user. For local applications that will run for different users, use OAuth 2.0. For commercial solutions that will be listed in the Bitrix24 Market, OAuth 2.0 and solution registration are also required.
- To register local applications, go to the Common use cases > Other > Local application tab. If the Local application item is missing, ask the administrator to configure access to application creation in the same way as access to webhook creation.
- To list solutions in the Market, you must become a partner program member. To do this, fill out the application form on the developer portal website.