Get Call Status getStatus

We are still updating this page

Some data may be missing here — we will complete it shortly.

Scope: telephony

Who can execute the method: any user

The method returns information about the current call.

No parameters.

Code Examples

How to Use Examples in Documentation

Calling the placement method. The result is returned in a callback.

curl -X POST \
        -H "Content-Type: application/json" \
        -H "Accept: application/json" \
        -d '{"PLACEMENT":"getStatus","PARAMS":{}}' \
        "https://**put_your_bitrix24_address**/rest/**put_your_user_id_here**/**put_your_webhook_here**/placement.call"
        
curl -X POST \
        -H "Content-Type: application/json" \
        -H "Accept: application/json" \
        -d '{"PLACEMENT":"getStatus","PARAMS":{}}' \
        "https://**put_your_bitrix24_address**/rest/placement.call?auth=**put_access_token_here**"
        
BX24.placement.call('getStatus', {}, function (result) {
            console.log(result);
        });
        
require_once('crest.php');
        
        $result = CRest::call(
            'placement.call',
            [
                'PLACEMENT' => 'getStatus',
                'PARAMS' => (object)[]
            ]
        );
        
        echo '<PRE>';
        print_r($result);
        echo '</PRE>';
        

Response Handling

Returned Data

Name
type

Description

CALL_ID
string

ID of the current call

PHONE_NUMBER
string

Client's phone number

CRM_ENTITY_TYPE
string

Type of the CRM entity associated with the call (CONTACT, LEAD, COMPANY)

CRM_ENTITY_ID
int

ID of the CRM entity associated with the call

CRM_ACTIVITY_ID
int

ID of the CRM activity related to the call

CALL_DIRECTION
string

Direction of the call (incoming, outgoing, incomingTransfer, callback)

CALL_LIST_MODE
bool

Indicator of operation in call list mode

CRM_BINDINGS

Array of bindings of the call to CRM entities

Continue Learning