PHPackages                             egeneralov/bitrix24-api-hook - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. egeneralov/bitrix24-api-hook

ActiveComposer-package[API Development](/categories/api)

egeneralov/bitrix24-api-hook
============================

Библиотека PHP для REST API Bitrix24

02PHP

Since Dec 10Pushed 2y agoCompare

[ Source](https://github.com/TheGeneralov/bitrix24-api-hook)[ Packagist](https://packagist.org/packages/egeneralov/bitrix24-api-hook)[ RSS](/packages/egeneralov-bitrix24-api-hook/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bitrix24 API library
====================

[](#bitrix24-api-library)

A PHP library for the Bitrix24 REST API

Installation
------------

[](#installation)

Run from the command line:

```
composer require egeneralov/bitrix24-api-hook
```

Usage
-----

[](#usage)

### Prepare Bitrix24

[](#prepare-bitrix24)

1. Register on  (if you do not hava account) and confirm account
2. Get your Btrix-domain (ex.: , ,...) after register
3. Login and create a webhook for the desired action: Applications → WebHuck → Add WebHook (Приложения → Вебхуки → Добавить вебхук).
4. After building the webhuk you will get a example url: `https://your-domen.bitrix24.ru/rest/13/9cybrkhzxxf28zl4/profile/`

In this class you need use next params: base URL, user ID, secret password (token)

- base URL - `https://your-domen.bitrix24.ru`
- user ID - `13`
- password - `9cybrkhzxxf28zl4`

### Use PHP class

[](#use-php-class)

```
