PHP library to access Bitrix24 via incomming webhoook API
use Obuchmann\BitrixApi\BitrixApi;
class YourClass {
public function __construct(
private BitrixApi $api,
)
{}
public function getCompanies(){
return $this->api->request('crm.company.list')->select([
"TITLE",
])->all();
}
}