Call Card Tab CALL_CARD
Scope:
telephony
You can add your item in the call card tab.
The specific widget placement code is specified in the PLACEMENT parameter of the placement.bind method.
The widget will not be displayed in the interface until the application installation is complete. Check the application installation
Where the widget is embedded
|
Placement Code |
Location |
|
|
Item in the call card tab |
What the handler receives
Data is sent as a POST request
Array
(
[DOMAIN] => xxx.bitrix24.com
[PROTOCOL] => 1
[LANG] => en
[APP_SID] => 588b8a98e848778a4ffb38fbcf70f2b9
[AUTH_ID] => 4172bb6600705a0700005a4b00000001f0f107c42ca5bd5f61030c5d9c3e4d60d11b5a
[AUTH_EXPIRES] => 3600
[REFRESH_ID] => 31f1e26600705a0700005a4b00000001f0f107b1918506d8a2ed9ecf76e8fdac962471
[member_id] => da45a03b265edd8787f8a258d793cc5d
[status] => L
[PLACEMENT] => CALL_CARD
[PLACEMENT_OPTIONS] => {"CALL_ID":"externalCall.c3ee67f1a63f6e6117c230ab59cc49ea.1723556778","PHONE_NUMBER":"555555","LINE_NUMBER":"","LINE_NAME":"","CRM_ENTITY_TYPE":"","CRM_ENTITY_ID":"0","CRM_ACTIVITY_ID":"undefined","CALL_DIRECTION":"incoming","CALL_STATE":"connected","CALL_LIST_MODE":"false"}
)
Required parameters are marked with *
|
Parameter |
Description |
|
DOMAIN* |
The Bitrix24 address where the widget handler was invoked |
|
PROTOCOL* |
Secure or non-secure HTTP protocol:
|
|
LANG* |
The user interface language of Bitrix24 that invoked the widget. You can localize the interface language in your widget based on this value |
|
APP_SID |
String identifier of the application that registered the widget handler |
|
AUTH_ID |
Authorization token OAuth 2 issued for the user who invoked the widget. Can be used for REST API calls on behalf of this user |
|
AUTH_EXPIRES |
Time in seconds after which the authorization token will become invalid |
|
REFRESH_ID |
Refresh token OAuth 2 issued for the user who invoked the widget. Can be used to refresh the authorization token on behalf of this user |
|
member_id* |
Unique string identifier of Bitrix24 where the widget handler was invoked. |
|
status |
Type of application that registered the handler for this widget. Accepts values:
|
|
PLACEMENT* |
Code for the widget embedding location. You can use the same handler URL for all your widgets. The value that Bitrix24 will report in the |
|
PLACEMENT_OPTIONS |
Additional data in the form of a JSON string that defines the context of the widget execution. For example, this could be an array containing the numeric identifier of the CRM entity in the detail form where the widget handler was invoked, etc. The |
PLACEMENT_OPTIONS
The value of PLACEMENT_OPTIONS is a JSON string containing an array of one or more keys.
Required parameters are marked with *
|
Parameter |
Description |
|
CALL_ID* |
The identifier of the call during which the widget was opened. |
|
PHONE_NUMBER* |
The phone number of the client with whom the conversation is taking place. |
|
LINE_NUMBER |
The company phone number used to talk to the client. |
|
LINE_NAME |
The name of the company phone line used to talk to the client. Lines are added by applications for integrating telephony using the telephony.externalLine.add method and are used for user convenience in Sales Intelligence. |
|
CRM_ENTITY_TYPE |
Type of the CRM entity to which the current call is linked. Knowing the type and identifier of the CRM entity (specified in the |
|
CRM_ENTITY_ID |
The identifier of the CRM entity to which the current call is linked. Knowing the type (specified in the
|
|
CRM_ACTIVITY_ID |
The identifier of the CRM activity associated with the current call. Can be used to obtain additional information using the user.get method. |
|
CALL_DIRECTION* |
Defines the type of call. Can take the following values:
|
|
CALL_STATE |
Defines the state of the call. Can take the following values:
Other possible values will be published later. |
|
CALL_LIST_MODE |
Indicates whether the call is part of a call campaign or not. Can take the following values:
|
Continue exploring
- Set Up the Widget Handler placement.bind
- Interaction with UI from Widgets
- Interaction with CRM Card
- Interactive Applications
- Open a Slider with Your Interface
- Open Standard Bitrix24 Pages from Application Widgets