NAV
python csharp

Introduction

This document describes Enreach webhook implementation, providing integrators push notifications about events in Enreach core systems. This functionality supplements EnreachAPI, which is a RESTful API relying on request-response pattern unsuitable for notifications.

Simply put, webhooks send a HTTPS POST request to predefined URL whenever defined events occur in the system. The request contains JSON data providing information about the event instance.

For example, if the notification is about an incoming service pool call, the data might include arrival timestamp, caller number and target service pool. This information can then be used in the receiving end to perform any additional logic relating to the notification.

Some possible use scenarios include:

Note that Benemen was renamed to Enreach in 2022, and corresponding naming changes were applied to technical products and documentation as well. Some documentation and technical details (XML namespaces, domain names) may still contain Benemen references.

Configuration

Webhooks are configured in two steps. Any number of webhook endpoints are configured and then event subscriptions are bound to them.

Currently configuration can be managed by support only.

Sample configuration for one endpoint with two events

{
    "Webhook": {
        "Endpoint": "https://my.integration.com/wehook/",
        "InsecureSSL": true,
        "Secret": "MySecretString"
    },
    "Subscriptions": [
        {
            "EventType":"QueueCallInConnected",
            "AllEntities": true
        },
        {
            "EventType":"QueueCallInAllocated",
            "AllEntities":true
        }
    ]
}

Webhook endpoint

Webhook-receiving HTTPS endpoints are defined with following options:

Option Description Example value
Endpoint Full URL to endpoint https://my.integration.com/webhook/
InsecureSSL Enable self-signed SSL certificates (see SSL verification) true
Secret Secret string included in HTTP calls. See Secret token MySecretString
Description Description for the webhook. Freeform description.
TimeoutSeconds Timeout for the webhook request. Defaults to 5 seconds if not configured. 5

Subscription

Option Description Example value
EventType Name of event that should be notified (see event types) QueueCallInConnected
EntityId Id of specific entity to get events about e0072f3a-cc7c-42ee-b0ac-34cd7238150a
SecurityGroupId Id of specific security group to get events for entities in the security group 9118bef9-fb49-ed11-8713-6c24087ddf1c
AllEntities Alternatively to specific EntityId or SecurityGroupId, return events for all entities true

Secret token

If webhook configuration defines Secret parameter, that string will be included in X-Benemen-Token HTTP header in all requests. It should be verified to make sure the request is coming from the authorized server.

SSL verification

The HTTPS endpoint certificate is validated against known certificate authority list. This means that the certificate must be signed by a public Certificate Authority. Self-signed certificates cannot be used, unless explicitly enabled by the InsecureSSL flag in webhook configuration. Bypassing the certificate validation is discouraged in general, as it may expose the sensitive data to unauthorized parties.

Endpoint implementation

While implementing a webhook listener, several considerations should be noted.

The listener must work over HTTPS only. Plain HTTP is not allowed, as the payload is potentially very sensitive.

The listener must listen in default HTTPS port 443. Using other ports is not possible.

The listener should verify the Secret token sent in X-Benemen-Token header to verify sender identity.

The listener must respond as fast as possible with a 200 OK status code. It is important to perform any processing separately from responding to the webhook request. Otherwise you risk the request timing out and getting re-sent. Similarly, sending any other response code than 200 OK will make the request get re-sent.

The listener should not include any response body. It will be ignored in any case and simply causes unnecessary network traffic.

If the request times out or receives status code other than 200, it will be retried a few times and then discarded. This means that notifications are not guaranteed to be delivered exactly once, even though that is normally the case. If your implementation must be sure that each event is handled exactly once, keep track of handled events based on their Id.

Each endpoint can only define a single URL. No load-balancing sets or failovers are supported. If you require such functionalities, run your own load-balancer in front of the actual receivers.

Request payload

Example full request (line breaks in body added for readability)

POST /webhook/
X-Benemen-Event: QueueCallInUserAllocated
X-Benemen-Token: MySecretString
Content-Type: application/json; charset=utf-8
Host: my.integration.com
Content-Length: 656
Connection: Keep-Alive

{
    "RootEntityType":"Organization",
    "RootEntityId":"fd434d24-f685-431d-8df5-386b5d5ffa73",
    "EventType":"QueueCallInUserAllocated",
    "EntityType":"Queue",
    "EntityId":"6cb31d7d-9cd9-41dc-a096-62cf31fd0281",
    "CallId":"9cae633f-68d0-4315-8b9a-b83c7673d8dc",
    "QueueId":"6cb31d7d-9cd9-41dc-a096-62cf31fd0281",
    "OrganizationId":"fd434d24-f685-431d-8df5-386b5d5ffa73",
    "QueueName":"Sample queue 1",
    "QueueNumber":"+358101231234",
    "UserId":"b4df099e-70dc-4ff5-b4ea-c2c3547d97fb",
    "Username":"sample.agent@customer.com",
    "CallerNumber":"+358501231234",
    "TargetNumber":"+35810123",
    "Id":"85b214f2-1d27-4262-87b6-8f55b3199400",
    "Timestamp":"2018-01-01T08:01:23.45"
}

All requests include two specific HTTP headers:

Request body is always JSON encoded.

Common event properties

All event types have a basic set of properties defined. These are included to make it possible to process event payloads to some degree without explicit handling logic for each individual type. You might want to receive all webhooks in one endpoint but route them to different or several backends depending on the event type.

Property Type Description
Id Guid Unique event instance id. Can be used to keep track of handled events as well as troubleshooting
Timestamp DateTime Timestamp when event was initially instantiated (i.e. when the event happened)
RootEntityType RootEntityType Root entity type event relates to
RootEntityId Guid Id of root entity
EntityType EntityType Main entity type event relates to
EntityId Guid Id of main entity
EventType string Name of event

Root entity types

Root entity types are top-level containers events can be related to. Currently only Organization events are provided, meaning events relating to a single organization tenant as opposed to for example system-wide events.

Type Description
Undefined Undefined value for backwards-compatibility if new types are introduced later.
Organization Organization type. Currently all events belong to this root entity.

Entity types

Type Description
Undefined Undefined value for backwards-compatibility if new types are introduced later
User User type, i.e. normal end-user
Queue Service pool, i.e. a single queue handling service calls
CallList Call list handling call-back requests and outbound calling

User

Event: UserAvailability

Example payload of Event: UserAvailability

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserAvailability",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "ProfileId": "00000000-0000-0000-0000-000000000000",
  "Availability": "Example Availability",
  "StartTime": "0001-01-01T00:00:00",
  "EndTime": "0001-01-01T00:00:00",
  "Note": "Example Note",
  "EventSource": "Example EventSource",
  "TransferNumber": "+123457890123",
  "Id": "8c84c563-5414-4ce7-933d-c533cd575d32",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

User's current availability state

Property name Value type Description
Availability string Availability state, possible values: Available, Busy, DoNotDisturb, OffWork, BRB, Away
EndTime DateTime End time of the state, DateTime.MaxValue if the state is continuous
EventSource String Availability event source from db
Note String User-defined message or description
OrganizationId Guid Id of related organization.
ProfileId Guid Id of the availability profile in database.
StartTime DateTime Start time of the state
TransferNumber string The phone number calls are transferred to if appropriate.
UserId Guid Id of target user.
UserName string Username of target user.

Event: UserCallAllocationRequest

Example payload of Event: UserCallAllocationRequest

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallAllocationRequest",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 20,
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "RequestId": "00000000-0000-0000-0000-000000000000",
  "AllocationType": "Example AllocationType",
  "TTLSeconds": 0,
  "Id": "3a11c0fc-d12f-477e-a0d1-c0a064afc673",
  "Timestamp": "2020-01-01T12:00:00Z"
}

This event is emitted via the API to indicate the user wishes to allocate a new call. Used when the agent is in fetch allocation mode.

Property name Value type Description
AllocationType string Allocation type: allocate = Allocate a call if possible (according the normal rules)
OrganizationId Guid Id of related organization.
RequestId Guid For correlating responses.
TTLSeconds int TTL of the FetchAllocation request in seconds.
UserId Guid Id of target user.

Event: UserCallAllocationResponse

Example payload of Event: UserCallAllocationResponse

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallAllocationResponse",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 20,
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "RequestId": "00000000-0000-0000-0000-000000000000",
  "AllocationType": "Example AllocationType",
  "CallId": null,
  "LegId": "Example LegId",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "QueueId": null,
  "Id": "94b22163-f96f-40ba-acff-87e7a1336581",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Reply for an new call allocation request. Used when the agent is in fetch allocation mode.

Property name Value type Description
AllocationType string Allocation type: allocated = Call allocated nocalls = No calls to allocate for the agent agentunavailable = Call could not be allocated following the normal allocation rules(agent was DND, afterwork etc)
CallerNumber string Original caller Optional
CallId Guid? Call being allocated (if any) Optional
LegId string Optional
OrganizationId Guid Id of related organization.
QueueId Guid? Allocating queue Optional
RequestId Guid For correlating responses.
TargetNumber string Where the original call was made to Optional
UserId Guid Id of target user.

Event: UserCallBlockingPromptStarted

Example payload of Event: UserCallBlockingPromptStarted

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallBlockingPromptStarted",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "TechQueueId": null,
  "PlayApplet": "Example PlayApplet",
  "Reason": "Example Reason",
  "PromptDetail": "Example PromptDetail",
  "Id": "b0c02cb3-a762-40d1-8582-216d4507fe8b",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Call blocking prompt started. Current responsible owner is a user.

Property name Value type Description
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
PlayApplet string Current playing Applet name.
PromptDetail string Prompt usage or id, or SAY: when using say command. E.g. "PRO_Enter"
Reason string Reason for playing the prompt: e.g "MandatoryEnter"
TechQueueId Guid? Actual technical queue id doing the prompt playing.
UserId Guid User id

Event: UserCallInArrived

Example payload of Event: UserCallInArrived

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInArrived",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "22f99214-6dec-4a5d-990b-8244d2468d25",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is user. Call entered for allocation.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
UserId Guid Id of current target user.
UserName string Username of current target user.

Event: UserCallInCallbackCreated

Example payload of Event: UserCallInCallbackCreated

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInCallbackCreated",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "CallBackId": "00000000-0000-0000-0000-000000000000",
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "CallId": null,
  "LegId": "Example LegId",
  "RecordingId": null,
  "ContactNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "ContactMessage": "Example ContactMessage",
  "CreationTime": "0001-01-01T00:00:00",
  "Id": "be26e390-bff1-4ecc-8c56-c7a8ba0aea5f",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Produced when a callback request targeted for the user is created (by Controller).

Property name Value type Description
CallBackId Guid CallBack Id this event relates to.
CallId Guid? The id of the original call that prompted the creation of this request
CallListId Guid Id of the CallList for this CallBack
ContactMessage string ContactMessage, e.g configured in service queue
ContactNumber string Contact number that is supposed to be called to
CreationTime DateTime When the request was initially created
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
RecordingId Guid? Optional RecordingId if one exists
TargetNumber string Original target number that was called
UserId Guid Id of the user the personal callback is targeted to

Event: UserCallInComing

Example payload of Event: UserCallInComing

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInComing",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "f70bb941-505a-497b-85c6-60f2314eb792",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming direct call to user entered Controller.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
UserId Guid Id of target user.
Username string Username of target user

Event: UserCallInDisconnected

Example payload of Event: UserCallInDisconnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInDisconnected",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "Reason": "Example Reason",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechReason": "Example TechReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "6b0cfd7e-f5e9-4fd6-970d-12aef726b23d",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Call in, currently for user, was disconnected.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
Reason string Reason for the disconnect. 'remote' or 'local'
TargetNumber string Original called number.
TechQueueId Guid? Id of then current technical queue, may be different to the service queue.
TechReason string Technical reason (e.g SIP cause code) for the disconnect.
UserId Guid Id of current target user.
Username string Username of target user

Event: UserCallInOverflow

Example payload of Event: UserCallInOverflow

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInOverflow",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "ConnectedTarget": "Example ConnectedTarget",
  "TechSource": "Example TechSource",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "OverflowApplet": "Example OverflowApplet",
  "TechNumber": "+123457890123",
  "TechEvent": "Example TechEvent",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "02aa3c3a-c5c4-445a-b747-01164b46e6a4",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently for user, overflows to next routing target.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
ConnectedTarget string Currently connected target.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
OverflowApplet string Overflow Applet name.
OverflowReason string Overflow reason description, values like: NoAvailableProviders, QueueFull, UserActivelyDeclined ...
OverflowType string Overflow type, large set values like: AdHoc_1, ServiceOpen, QueueHandler, QueueOverflowDefault, UserTransferAll, ActPreEnter, TerminationHandling
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
TechEvent string Technical event.
TechNumber string Technical source type.
TechQueueId Guid Id of current technical queue.
TechQueueName string Name of current technical queue.
TechSource string Overflow source type.
UserId Guid Id of current user.
Username string Username of target user

Event: UserCallInTransferCancelled

Example payload of Event: UserCallInTransferCancelled

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInTransferCancelled",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "TransferApplet": "Example TransferApplet",
  "TechSource": "Example TechSource",
  "Reason": "Example Reason",
  "DetailedReason": "Example DetailedReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "a8e43920-558a-4175-9f0a-9c802568fb6f",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently targeted to user. Transfer cancelled.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
DetailedReason string Detailed cancellation reason.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
Reason string Cancellation reason.
TargetNumber string Original called number.
TechQueueId Guid Id of current technical queue.
TechQueueName string Name of current technical queue.
TechSource string Technical source type.
TransferApplet string Transferring Applet name.
UserId Guid Id of current user.
Username string Transferring user's username

Event: UserCallInTransferConnected

Example payload of Event: UserCallInTransferConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInTransferConnected",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "ConnectedTarget": "Example ConnectedTarget",
  "TransferSource": "Example TransferSource",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "TransferApplet": "Example TransferApplet",
  "TechSource": "Example TechSource",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "3085d3ac-abab-49ea-95cb-dcc4844f9071",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently targeted to user. Transfer to overflow target connected.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
ConnectedTarget string Connected target.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
TechQueueId Guid Id of current technical queue.
TechQueueName string Name of current technical queue.
TechSource string Technical source type.
TransferApplet string Transferring Applet name.
TransferSource string Transfer source.
UserId Guid Id of transferring current user.
Username string Transferring user's username

Event: UserCallInTransferStarted

Example payload of Event: UserCallInTransferStarted

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInTransferStarted",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "TransferTarget": "Example TransferTarget",
  "TransferSource": "Example TransferSource",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "TransferApplet": "Example TransferApplet",
  "TechSource": "Example TechSource",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "0bcb589b-2129-4429-aee2-34452ac5bb6f",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently targeted to user. Transfer to overflow target started.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
TechQueueId Guid Id of current technical queue.
TechQueueName string Name of current technical queue.
TechSource string Technical source type.
TransferApplet string Transferring Applet name.
TransferSource string Transfer source.
TransferTarget string Transfer target, guid or phone number.
UserId Guid Id of current transferring user.
Username string Transferring user's username

Event: UserCallInUserAllocated

Example payload of Event: UserCallInUserAllocated

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInUserAllocated",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "UserNumber": "+123457890123",
  "DetailedReason": "Example DetailedReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "45f875ee-edb6-4441-bc08-6f67b68f0810",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently targeted to user. Call allocated to user.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
DetailedReason string Optional detailed reason for allocation.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
UserId Guid Id of allocating User.
UserName string Allocation target username
UserNumber string Number of allocating User.

Event: UserCallInUserCancelled

Example payload of Event: UserCallInUserCancelled

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInUserCancelled",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "Reason": "Example Reason",
  "DetailedReason": "Example DetailedReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "8074a900-2740-4979-bbb4-5c152d4aba44",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently targeted to user. Call allocation to user cancelled.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
DetailedReason string Detailed cancellation reason.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
Reason string Cancellation reason.
TargetNumber string Original called number.
UserId Guid Id of allocated user.
UserName string Username of cancelling user.

Event: UserCallInUserConnected

Example payload of Event: UserCallInUserConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInUserConnected",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "AgentLegId": "Example AgentLegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "UserNumber": "+123457890123",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "f74e6717-14fc-4461-b996-5a351791ea56",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call, currently targeted to user. Call allocation to user connected.

Property name Value type Description
AgentLegId string LegId of of the forked call to agent
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
UserId Guid Id of connected User.
UserName string Username of connected User.
UserNumber string Number of connected User.

Event: UserCallInUserOverflow

Example payload of Event: UserCallInUserOverflow

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallInUserOverflow",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Username": "user.name@example.com",
  "Reason": "Example Reason",
  "Target": "Example Target",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "22605af7-c7f7-4782-9474-d78be72f1ef8",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Worknumber call is overflowing to other destination

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization
Publicity CallEventPublicityCategory The publicity of user's direct calls
Reason string Reason for the overflow: AVAActiveProfile, BusyForTechnicalError, DND, OffWork, NoAnswer, InterruptOverflow BusyOnBusy, TransferAll, BlindTransfer
Target string Transfer target. Guid or phone number, or list of targets.
TargetNumber string Original called number
UserId Guid Id of transferring "responsible" user
Username string Username

Event: UserCallOutConnected

Example payload of Event: UserCallOutConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallOutConnected",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "7c513e34-6fbf-4c2e-be1e-13fd0bf818f0",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing call

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
UserId Guid Id of calling User.
UserName string Username of calling User.

Event: UserCallOutDisconnected

Example payload of Event: UserCallOutDisconnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallOutDisconnected",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "Reason": "Example Reason",
  "TechReason": "Example TechReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "ad011d67-a7ee-4953-8ee2-2cd687008c1b",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

User call was disconnected.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
Reason string Reason for the disconnect. 'remote' or 'local'
TargetNumber string Original called number.
TechReason string Technical reason (e.g SIP cause code) for the disconnect.
UserId Guid Id of current calling user.
UserName string Username of current calling user.

Event: UserCallOutGoing

Example payload of Event: UserCallOutGoing

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallOutGoing",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "d277145b-58f3-4e1c-a30b-8da83c55b225",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing direct call initiated by a user

Property name Value type Description
CallAsNumber string Optional call as number
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Publicity CallEventPublicityCategory The publicity of user's direct calls
TargetNumber string Original called number.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: UserCallPublicityChanged

Example payload of Event: UserCallPublicityChanged

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallPublicityChanged",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "CallEventId": "00000000-0000-0000-0000-000000000000",
  "Publicity": "Undefined",
  "PreviousPublicity": "Undefined",
  "Id": "9cbf0ce4-e8ea-4e48-9175-8e455666bce3",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

User Direct Call publicity changed.

Property name Value type Description
CallEventId Guid Specific CallEvent.Id that changed
CallId Guid Call id (entire call chain)
OrganizationId Guid Organization the user belongs to
PreviousPublicity CallPublicityCategory Previous publicity
Publicity CallPublicityCategory The NEW publicity
UserId Guid User that the call belongs to

Event: UserConfigurationSetNextCallOut

Example payload of Event: UserConfigurationSetNextCallOut

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserConfigurationSetNextCallOut",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 30,
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "TargetNumber": "+123457890123",
  "CallBackId": null,
  "CallListId": null,
  "QueueId": null,
  "ServiceRecord": false,
  "AllowUserRecord": false,
  "ShowUIControl": false,
  "CLI": "Example CLI",
  "TimeToLive": 0,
  "PersistentRequest": false,
  "PrePromptPath": "Example PrePromptPath",
  "Id": "9cc91f6e-023e-4d63-a9da-3b67409095f0",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Event produced via the API, intended towards call routing core. Indicates that the user request their outgoing calls to use certain callback list or service queue specific behaviour, and possibly specifying CLI

Property name Value type Description
AllowUserRecord Boolean Allow user personal recording
CallBackId Guid? Optional: CallBack Id for the upcoming call out
CallListId Guid? Optional: Id of the CallList for the upcoming call out
CLI string CLI = caller number to use, should be a known number for route (beneuser)
OrganizationId Guid Id of related organization.
PersistentRequest bool If the request is persistent, it will be valid until it is changed or TimeToLive expires
PrePromptPath string Prompt for letting the target (and agent too) to know that the call is recorded
QueueId Guid? Optional: Id of the service queue for the upcoming call out
ServiceRecord Boolean Do service queue or callback list recording
ShowUIControl Boolean If user can stop the recording in UI
TargetNumber string Target number for the upcoming call out
TimeToLive int How long will this request be valid.
UserId Guid Id of target user.

Event: UserConfigurationSetNextCallOutRaw

Example payload of Event: UserConfigurationSetNextCallOutRaw

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserConfigurationSetNextCallOutRaw",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 30,
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "TargetNumber": "+123457890123",
  "CallBackId": null,
  "CallListId": null,
  "QueueId": null,
  "CLI": "Example CLI",
  "TimeToLive": 0,
  "PersistentRequest": false,
  "Id": "4b962d76-43e6-4d3e-8df7-1cf1ac86aea2",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Event produced via the API, intended towards call routing core. Indicates that the user request their outgoing calls to use certain callback list or service queue specific behaviour, and possibly specifying CLI

Property name Value type Description
CallBackId Guid? Optional: CallBack Id for the upcoming call out
CallListId Guid? Optional: Id of the CallList for the upcoming call out
CLI string Optional: CLI (CallAs) for the call. If provided overrides possible Queue/CallList configuration for CLI
OrganizationId Guid Id of related organization.
PersistentRequest bool If the request is persistent, it will be valid until it is changed or TimeToLive expires
QueueId Guid? Optional: Id of the service queue for the upcoming call out
TargetNumber string Target number for the upcoming call out
TimeToLive int How long will this request be valid.
UserId Guid Id of target user.

Event: UserQueueAttached

Example payload of Event: UserQueueAttached

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserQueueAttached",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "Active": false,
  "Priority": null,
  "Deleted": false,
  "Id": "312ec4e2-7cdb-4712-9862-4150d45f572a",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Event when queue user is added or removed from queue.

Property name Value type Description
Active bool Active in queue
Deleted bool Is detached from queue.
OrganizationId Guid OrganizationId
Priority int? User's priority in queue
QueueId Guid QueueId
UserId Guid UserId

Event: UserSetting

Example payload of Event: UserSetting

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserSetting",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Keyword": "Example Keyword",
  "Value": "Example Value",
  "Values": null,
  "AllowedValues": null,
  "Deleted": false,
  "Level": "Undefined",
  "Id": "1b028e98-c673-46d0-82e6-3a8ce53c90a4",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

User setting changed.

Property name Value type Description
AllowedValues Dictionary<string, string> Setting allowed values.
Deleted bool Is setting deleted.
Keyword string Setting keyword
Level UserSettingLevelEnum Setting level for authorization
OrganizationId Guid Id of related organization
UserId Guid Id of related user
Value string Setting value
Values Dictionary<string, string> Key/Value setting values

Event: UserStatus

Example payload of Event: UserStatus

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserStatus",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 60,
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "CanBeAllocatedTo": false,
  "Talking": false,
  "ActiveQueueId": null,
  "Available": false,
  "Schedule": false,
  "Serving": false,
  "ServiceTerminals": 0,
  "ActiveQueues": 0,
  "ParkedCalls": 0,
  "WrapUpEnd": null,
  "ServingCallback": false,
  "FetchMode": false,
  "Id": "3144cbed-7bfa-480e-a782-66ea86fb61c4",
  "Timestamp": "2020-01-01T12:00:00Z"
}

UserStatus changed. UserStatus represents users status from queue components view. Contains information about users serving status, such as talking, available and the ultimate “can receive calls” result.

Property name Value type Description
ActiveQueueId Guid? Guid of the service queue the user can be presumed be talking right now
ActiveQueues int Number of active queues
Available bool If AVA status is "available", typically when not "DND".
CanBeAllocatedTo bool If it is possible to allocate a call to the user. This is a composite value from several status items, "best guess".
FetchMode bool User is in FetchMode, no automatic allocation from ServiceQueues
OrganizationId Guid Id of the related organization.
ParkedCalls int Number of parked calls
Schedule bool If AVA availability code is not OffWork
ServiceTerminals int Number of active terminals
Serving bool User is serving in queues
ServingCallback bool User is serving in callback list "queues"
Talking bool If the user is having a call right now. Incoming and outgoing calls are considered as active calls even before call is connected to user
UserId Guid Id of the user.
WrapUpEnd DateTime? If wrap up time is active then the end time, otherwise null

Event: UserSupervisionStatus

Example payload of Event: UserSupervisionStatus

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserSupervisionStatus",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "TargetUserId": "00000000-0000-0000-0000-000000000000",
  "TargetUserName": "Example TargetUserName",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "SupervisorUserId": "00000000-0000-0000-0000-000000000000",
  "SupervisorUserName": "Example SupervisorUserName",
  "QueueName": "Example QueueName",
  "QueueId": null,
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "SupervisorLegId": "Example SupervisorLegId",
  "State": 0,
  "Id": "168a73f0-4139-42bd-82f0-10e56a1d06a5",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

This is emitted when supervisor status relating to a call changed.

Property name Value type Description
CallId Guid Id of of the supervised call.
LegId string LegId of of the supervised call.
OrganizationId Guid Id of related organization.
QueueId Guid? Id of the service queue
QueueName string Name of the service queue
State SupervisionState Supervision state relating to the call.
SupervisorLegId string Optional LegId of of the supervisor incoming call.
SupervisorUserId Guid Id of the supervisor.
SupervisorUserName string User supervising.
TargetUserId Guid Id of target user.
TargetUserName string User being supervised.

Event: UserWrapUpEnabled

Example payload of Event: UserWrapUpEnabled

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserWrapUpEnabled",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "MaxWrapUpDurationSec": 0,
  "Id": "dfce3c42-1179-4e8b-abf4-a2f6627025f8",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Event emitted after a service call connects to indicate that wrap-up time is enabled for the call. This is used by clients supporting wrap-up functionality to indicate to the end user that wrap-up time is in progress after the call completes.

This event is followed by UserWrapUpStarted and UserWrapUpTerminated events.

Property name Value type Description
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
MaxWrapUpDurationSec int Max wrap-up duration, seconds
OrganizationId Guid Id of related organization.
QueueId Guid Id of target user.
UserId Guid Id of target user.

Event: UserWrapUpStarted

Example payload of Event: UserWrapUpStarted

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserWrapUpStarted",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "MaxWrapUpDurationSec": 0,
  "Id": "7c745d67-0ab1-4396-b717-69b44a3aff06",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Event emitted after a call with wrap-up functionality enabled disconnects and thus wrap-up time starts. It is relayed to supporting clients to indicate that wrap-up is ongoing and no calls are allocated during that time.

Property name Value type Description
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
MaxWrapUpDurationSec int Max wrap-up duration, seconds
OrganizationId Guid Id of related organization.
QueueId Guid Queue Id
UserId Guid Id of target user.

Event: UserWrapUpTerminated

Example payload of Event: UserWrapUpTerminated

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserWrapUpTerminated",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "Reason": "Example Reason",
  "ElapsedTimeSec": 0,
  "Id": "13d601c2-4013-4ce7-8e43-4e278f69b281",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Emitted after wrap-up time for given call ends. It is emitted both when the maximum allowed time is up, and when an explicit termination request has been handled by the backend.

Property name Value type Description
CallId Guid Id of core call event relates to.
ElapsedTimeSec int How long the wrap-up time was on
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Queue Id
Reason string Reason for termination: e.g "manual" or "timer"
UserId Guid Id of target user.

Queue

Event: QueueAttachedUsers

Example payload of Event: QueueAttachedUsers

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueAttachedUsers",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 120,
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "AttachedUsers": null,
  "Id": "561929b8-ebba-4d32-8291-a0d716704754",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Event sent periodically by Controller if the status/list of attached users to the queue has changed since the last event.

Property name Value type Description
AttachedUsers List<QueueAttachedUser> List of the attached users
OrganizationId Guid Id of the related organization.
QueueId Guid Id of the service queue.

Event: QueueCallBlockingPromptStarted

Example payload of Event: QueueCallBlockingPromptStarted

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallBlockingPromptStarted",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueId": null,
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "PlayApplet": "Example PlayApplet",
  "Reason": "Example Reason",
  "PromptDetail": "Example PromptDetail",
  "Id": "1f764bf6-797c-46eb-99e0-e8f582dbcd35",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Blocking prompt started. Current target is service or technical queue.

Property name Value type Description
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
PlayApplet string Current playing Applet name.
PromptDetail string Prompt usage or id, or SAY: when using say command. E.g. "PRO_Enter"
QueueId Guid Id of the last service queue the call has visited, or if none then the latest technical queue.
Reason string Reason for playing the prompt: e.g "MandatoryEnter"
TechQueueId Guid? Technical queue id doing the prompt playing, might be different from QueueId.

Event: QueueCallInArrived

Example payload of Event: QueueCallInArrived

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInArrived",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "QueueNumber": "+123457890123",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "a8429127-45bc-402c-a294-52f6ce12c9df",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call was accepted into service queue.

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of allocating service queue.
QueueName string Name of allocating service queue.
QueueNumber string Number of allocating service queue
TargetNumber string Original called number

Event: QueueCallInCallbackCreated

Example payload of Event: QueueCallInCallbackCreated

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInCallbackCreated",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "CallBackId": "00000000-0000-0000-0000-000000000000",
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "CallId": null,
  "LegId": "Example LegId",
  "RecordingId": null,
  "ContactNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "ContactMessage": "Example ContactMessage",
  "CreationTime": "0001-01-01T00:00:00",
  "Id": "ec38cbc4-c3c7-4f65-92db-03285ddcca47",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Produced when a callback request is created (by Controller).

Property name Value type Description
CallBackId Guid CallBack Id this event relates to.
CallId Guid? The id of the original call that prompted the creation of this request
CallListId Guid Id of the CallList for this CallBack
ContactMessage string ContactMessage, e.g configured in service queue
ContactNumber string Contact number that is supposed to be called to
CreationTime DateTime When the request was initially created
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of the queue the callback is originating from
RecordingId Guid? Optional RecordingId if one exists
TargetNumber string Original target number that was called

Event: QueueCallInComing

Example payload of Event: QueueCallInComing

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInComing",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "QueueNumber": "+123457890123",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "8fcca4c0-4d00-4459-862c-a0fee51604cf",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

New incoming call to service or technical queue entered Controller.

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization
QueueId Guid Id of service queue
QueueName string Name of target service or technical queue
QueueNumber string Number of target service or technical queue
TargetNumber string Original called number

Event: QueueCallInDisconnected

Example payload of Event: QueueCallInDisconnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInDisconnected",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "Reason": "Example Reason",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechReason": "Example TechReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "ed4ff0b5-dd72-476f-95d3-5dc842dfea59",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call was disconnected, the current owner (original target might have been e.g. agent) is service or technical queue.

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization
QueueId Guid Id of the last service queue the call has visited, or if none then the latest technical queue.
QueueName string Name of last service queue the call has visited.
Reason string Reason for the disconnect. 'remote' or 'local'
TargetNumber string Original called number
TechQueueId Guid? Id of then current technical queue, may be different to the service queue.
TechReason string Informative technical local reason for the disconnect. E.g "busy_on_busy", "ivr_menu_failure" etc.

Event: QueueCallInIvrSelection

Example payload of Event: QueueCallInIvrSelection

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInIvrSelection",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "EnteredValue": "Example EnteredValue",
  "DetailedReason": "Example DetailedReason",
  "Id": "8eb49a5b-e078-4b1b-b9b6-0b9dc5472116",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Event send when caller selects an option in IVR

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to.
DetailedReason string Optional more detailed reason if any
EnteredValue string The reason for overflow
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Queue Id
TargetNumber string Original called number

Event: QueueCallInOverflow

Example payload of Event: QueueCallInOverflow

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInOverflow",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "OverflowApplet": "Example OverflowApplet",
  "TechSource": "Example TechSource",
  "TechNumber": "+123457890123",
  "TechEvent": "Example TechEvent",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "8998603c-e85a-4a6f-8819-6f724ac583fc",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current handler is service or technical queue. This is generic event sent when then call overflows to the next routing point.

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
OverflowApplet string Technical name of the current applet.
OverflowReason string Overflow reason description, values like: NoAvailableProviders, QueueFull, UserActivelyDeclined ...
OverflowType string Overflow type, large set values like: AdHoc_1, ServiceOpen, QueueHandler, QueueOverflowDefault, UserTransferAll, ActPreEnter, TerminationHandling
QueueId Guid Id of the last service queue the call has visited, or if none then the latest technical queue.
QueueName string Name of the service queue.
TargetNumber string Original called number
TechEvent string Technical event name.
TechNumber string Technical source number if any.
TechQueueId Guid Id of then current technical queue, may be different to the service queue.
TechQueueName string Name of the current technical queue.
TechSource string Technical source type.

Event: QueueCallInRecording

Example payload of Event: QueueCallInRecording

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInRecording",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "AllocatedUserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Reason": "Example Reason",
  "Id": "b114c8ac-39b7-4d95-8321-b07a0802f368",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Recording started.

Property name Value type Description
AllocatedUserId Guid The UseId of the agent
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of service queue responsible for recording.
Reason string Reason for the recording, "servicequeue"

Event: QueueCallInScheduleClosed

Example payload of Event: QueueCallInScheduleClosed

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInScheduleClosed",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "OverflowApplet": "Example OverflowApplet",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "OverflowReason": "Example OverflowReason",
  "DetailedReason": "Example DetailedReason",
  "Id": "840a66a8-6b2b-4f89-b69f-e58922538d4f",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Queue closed by ServiceOpen, AdHoc_ etc. schedules

Property name Value type Description
CallerNumber string Original caller number
CallId Guid Id of core call event relates to.
DetailedReason string Optional more detailed reason if any
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
OverflowApplet string Technical name of the current applet.
OverflowReason string The reason for overflow
QueueId Guid Queue Id
TargetNumber string Original called number

Event: QueueCallInSmartRoutingResult

Example payload of Event: QueueCallInSmartRoutingResult

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInSmartRoutingResult",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Result": "Example Result",
  "DetailedReason": "Example DetailedReason",
  "Targets": null,
  "Priority": null,
  "ExtraPriority": null,
  "ExtraData": null,
  "Id": "c5c412b7-2232-460c-bd82-152d16f02707",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. External SmartRouting query results.

Property name Value type Description
CallId Guid Id of core call event relates to.
DetailedReason string Detailed reason for error cases. <empty>, CONVERSION_ERROR or reason string from the remote service
ExtraData Dictionary<string, object> Optional SmartRouting response extra data as dictionary
ExtraPriority int? SmartRouting response ExtraPriority
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Priority int? SmartRouting response Priority
QueueId Guid Id of service queue
Result string Result for the SmartRouting operation. OK, NOT_FOUND, FAILED
Targets List<SmartRoutingTarget> SmartRouting response targets

Event: QueueCallInTransferCancelled

Example payload of Event: QueueCallInTransferCancelled

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInTransferCancelled",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "TransferApplet": "Example TransferApplet",
  "TechSource": "Example TechSource",
  "Reason": "Example Reason",
  "DetailedReason": "Example DetailedReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "f27440ed-1d50-4fcf-8dab-320090c36fa7",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is service or technical queue. Transferring the call forward was cancelled.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
DetailedReason string Detailed cancellation reason.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization
QueueId Guid Id of transferring service queue.
QueueName string Name of transferring service queue.
Reason string Cancellation reason.
TargetNumber string Original called number.
TechQueueId Guid Id of current technical queue, may differ from QueueId.
TechQueueName string Name of current transferring technical queue.
TechSource string Technical source type.
TransferApplet string Current transferring Applet name.

Event: QueueCallInTransferConnected

Example payload of Event: QueueCallInTransferConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInTransferConnected",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "ConnectedTarget": "Example ConnectedTarget",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "TransferApplet": "Example TransferApplet",
  "TechSource": "Example TechSource",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "f7e96378-9bce-48b6-a4e1-f2faccecc92d",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is service or technical queue. Transferring the call forward was connected.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
ConnectedTarget string Transfer target. Guid or phone number.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of transferring queue.
QueueName string Name of transferring service queue
TargetNumber string Original called number.
TechQueueId Guid Id of current technical queue. May differ from QueueId.
TechQueueName string Name of current technical queue.
TechSource string Technical source type.
TransferApplet string Transferring Applet name.

Event: QueueCallInTransferStarted

Example payload of Event: QueueCallInTransferStarted

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInTransferStarted",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "TransferTarget": "Example TransferTarget",
  "TransferSource": "Example TransferSource",
  "TechQueueId": "00000000-0000-0000-0000-000000000000",
  "TechQueueName": "Example TechQueueName",
  "TransferApplet": "Example TransferApplet",
  "TechType": "Example TechType",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "b8ffaeb6-2d12-48a3-a081-b16208ec02af",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is service or technical queue. Transferring the call forward was started.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of transferring queue.
QueueName string Name of transferring queue.
TargetNumber string Original called number.
TechQueueId Guid Id of current technical queue. May differ from QueueId.
TechQueueName string Name of current technical queue.
TechType string Technical source type.
TransferApplet string Transferring Applet name.
TransferSource string Transfer source.
TransferTarget string Transfer target. Guid or phone number.

Event: QueueCallInUserAllocated

Example payload of Event: QueueCallInUserAllocated

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInUserAllocated",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "QueueNumber": "+123457890123",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "DetailedReason": "Example DetailedReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "e33ba0a5-e8b3-4822-906c-d5f2c34e585a",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is service or technical queue. Allocated to an agent.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
DetailedReason string Optional detailed reason for allocation.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of allocating queue.
QueueName string Name of allocating queue.
QueueNumber string Number of allocating queue.
TargetNumber string Original called number.
UserId Guid Id of allocation target user.
UserName string Username of allocation target user.

Event: QueueCallInUserCancelled

Example payload of Event: QueueCallInUserCancelled

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInUserCancelled",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "QueueNumber": "+123457890123",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "Reason": "Example Reason",
  "DetailedReason": "Example DetailedReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "4d447032-fb92-4dec-ab46-11618561033d",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is service or technical queue. Allocation to agent was cancelled.

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
DetailedReason string Detailed cancellation reason.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of allocating queue.
QueueName string Name of allocating service queue.
QueueNumber string Number of allocating service queue.
Reason string Cancellation reason. 'local' or 'remote'.
TargetNumber string Original called number.
UserId Guid Id of cancelling user.
UserName string Username of cancelling user.

Event: QueueCallInUserConnected

Example payload of Event: QueueCallInUserConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueCallInUserConnected",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "AgentLegId": "Example AgentLegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "QueueNumber": "+123457890123",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "UserNumber": "+123457890123",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "c8c3d4fe-0c56-49cd-be8e-c5d1cda43187",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Incoming call. Current target is service or technical queue. Answered by an agent.

Property name Value type Description
AgentLegId string Id of core call leg event relates to.
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of allocating queue.
QueueName string Name of allocating service queue.
QueueNumber string Number of allocating service queue.
TargetNumber string Original called number.
UserId Guid Id of connected user.
UserName string Username of connected user.
UserNumber string Connected target number.

Event: QueueChanged

Example payload of Event: QueueChanged

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueChanged",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "TypeId": null,
  "TemplateId": null,
  "UsePriorities": false,
  "CallAgeBonus": null,
  "Region": "Example Region",
  "Culture": "Example Culture",
  "Numbers": null,
  "QueueGroups": null,
  "Created": false,
  "Updated": false,
  "Deleted": false,
  "Id": "073998d2-df49-47b6-b06b-c6216ff32d2f",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Service queue changed message.

Property name Value type Description
CallAgeBonus int? Age bonus applied to incoming calls to the queue. This enables prioritizing calls to specific queues by making them appear "older" than they actually are. The value ranges from 0 to 10k
Created bool Was service queue created.
Culture string Queue culture for localization
Deleted bool Was service queue deleted.
Numbers List<string> Phone numbers attached to the queue
OrganizationId Guid Id of related organization.
QueueGroups List<QueueGroup> List of groups attached to the queue
QueueId Guid Id of service queue.
QueueName string Name of service queue.
Region string Queue region for time zone handling
TemplateId Guid? Used queue template id
TypeId int? Queue type id, technical
Updated bool Was service queue updated.
UsePriorities bool Whether agent priorities are used in the queue when allocating calls

Event: QueueStatus

Example payload of Event: QueueStatus

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueStatus",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 60,
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "NbrOfProviders": 0,
  "NbrOfRequesters": 0,
  "NbrOfServingAgentsEstimate": 0,
  "NbrOfAllocated": 0,
  "NbrOfConnected": 0,
  "NbrOfQueuingRequesters": 0,
  "NbrOfNotServedRequesters": 0,
  "NbrOfAgentsLongTermAway": 0,
  "NbrOfAgentsShortTermAway": 0,
  "NbrOfAgentsImmediatelyFree": 0,
  "NbrOfAgentsCheckedInQueue": 0,
  "NbrOfAgentsOnWrapUp": 0,
  "NbrOfAgentsOnFetchMode": 0,
  "MaxWaitTime": 0,
  "OpenStatus": 0,
  "Id": "a10387c9-a98b-4a1a-98fb-f8532587164d",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Service queue status message, contains various counter values. Sent by Controller periodically if the status of the queue has changed since the last event.

Property name Value type Description
MaxWaitTime long Maximum current wait time in queue
NbrOfAgentsCheckedInQueue int Total number agents that are serving in the queue (away or not).
NbrOfAgentsImmediatelyFree int Number agents that are immediately free for service.
NbrOfAgentsLongTermAway int Number agents that are not currently available for service in long term (e.g DND state).
NbrOfAgentsOnFetchMode int Total number agents that are currently in FetchMode (no automatic allocation).
NbrOfAgentsOnWrapUp int Total number agents that are serving in the queue (away or not).
NbrOfAgentsShortTermAway int Number agents that are not currently available for service in short term (e.g. already talking).
NbrOfAllocated int Number of current allocated calls in the queue.
NbrOfConnected int Number of current connected (served by agent) calls in the queue.
NbrOfNotServedRequesters int Number of calls currently not being served by an agent right now
NbrOfProviders int Total number of current providers (agents) in the queue.
NbrOfQueuingRequesters int Number of current queuing calls in the queue
NbrOfRequesters int Total number of current requesters (calls) in the queue.
NbrOfServingAgentsEstimate int Estimated number of current serving agents in the queue.
OpenStatus int Queue open status estimation NA = 0 NoActiveHandler = 1 : There are no active handling endpoints/numbers for the queue. So basically "Closed" NoActiveHandlerUncertain = 2 : There are no active handling endpoints/numbers for the queue. But uncertain due script on some handlers. Closed = 3 : The only active handler is "ServiceClosed". ClosedUncertain = 4 : The only active handler is "ServiceClosed". But uncertain due script on some handlers. Open = 5 : Queue is open. OpenUncertain = 6 : Queue is open. But uncertain due script on some handlers.
OrganizationId Guid Id of related organization.
QueueId Guid Id of service queue.
QueueName string Name of service queue.

Event: QueueUserCallOutConnected

Example payload of Event: QueueUserCallOutConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueUserCallOutConnected",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "1770ae72-b062-4730-a4c6-3a65d0cc407f",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing call in the name of a service queue, initiated by a user is now connected to the user

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of the service queue the call leg event relates to.
QueueName string Name of the queue.
TargetNumber string Original called number.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: QueueUserCallOutDisconnected

Example payload of Event: QueueUserCallOutDisconnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueUserCallOutDisconnected",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "Reason": "Example Reason",
  "TechReason": "Example TechReason",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "83fe36c3-2a81-4ede-962f-8deed583c8b4",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing call in the name of a service queue originally initiated by a user is now disconnected from the user

Property name Value type Description
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of the service queue the call leg event relates to.
QueueName string Name of the queue.
Reason string Reason for the disconnect. 'remote' or 'local'
TargetNumber string Original called number.
TechReason string Technical reason (e.g SIP cause code) for the disconnect.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: QueueUserCallOutGoing

Example payload of Event: QueueUserCallOutGoing

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueUserCallOutGoing",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "QueueName": "Example QueueName",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "2e872990-aed9-435e-9ea1-a10495894e0a",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing call in the name of a service queue, originally initiated by a user

Property name Value type Description
CallAsNumber string Optional call as number
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of the service queue the call leg event relates to.
QueueName string Name of the queue.
TargetNumber string Original called number.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: QueueUserCallRecorded

Example payload of Event: QueueUserCallRecorded

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "QueueUserCallRecorded",
  "EntityType": "Queue",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "QueueId": "00000000-0000-0000-0000-000000000000",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "TargetNumber": "+123457890123",
  "RecordedFilePath": "Example RecordedFilePath",
  "Id": "a59953f7-354f-4f0f-be97-d043c5521f81",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing or incoming call for user in the name of a service queue was recorded

Property name Value type Description
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
QueueId Guid Id of the service queue the call leg event relates to.
RecordedFilePath string Path to the recorded file
TargetNumber string Original called number.
UserId Guid Id of calling user.

Event: UserCallRecorded

Example payload of Event: UserCallRecorded

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "UserCallRecorded",
  "EntityType": "User",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "TargetNumber": "+123457890123",
  "RecordedFilePath": "Example RecordedFilePath",
  "Id": "242feb3e-76b8-4a72-acba-44ea64b5bf9a",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing or incoming call for user recorded

Property name Value type Description
CallId Guid Id of core call event relates to.
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
RecordedFilePath string Path to the recorded file
TargetNumber string Original called number.
UserId Guid Id of calling user.

Misc: QueueAttachedUser

Example payload of Misc: QueueAttachedUser

{
  "UserId": "00000000-0000-0000-0000-000000000000",
  "Active": false,
  "Priority": 0
}

Property name Value type Description
Active bool If the user is active in queue
Priority int User's priority in queue
UserId Guid Attached UserId

Misc: QueueGroup

Example payload of Misc: QueueGroup

{
  "Id": null,
  "Name": "Example Name",
  "Description": "Example Description"
}

DTO for QueueGroup

Property name Value type Description
Description string Description of the group
Id Guid? Id of the group
Name string Name of the group

CallList

Event: CallbackChanged

Example payload of Event: CallbackChanged

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "CallbackChanged",
  "EntityType": "CallList",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 120,
  "CallBackId": "00000000-0000-0000-0000-000000000000",
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "Modified": "0001-01-01T00:00:00",
  "AssignedUserId": null,
  "LastAttemptUserId": null,
  "LastModifiedUserId": null,
  "LastAttemptTypeId": null,
  "ContactName": "Example ContactName",
  "ContactNumber": "+123457890123",
  "ContactMessage": "Example ContactMessage",
  "Note": "Example Note",
  "QueueId": null,
  "ChannelIn": "Example ChannelIn",
  "CreationTime": "0001-01-01T00:00:00",
  "Created": false,
  "IsClosed": false,
  "RecordingId": null,
  "TypeId": 0,
  "DueDate": null,
  "CallId": null,
  "TranscriptId": null,
  "ClassificationId": null,
  "ExpiryDate": null,
  "LastAttemptTimestamp": null,
  "LastAttemptNote": "Example LastAttemptNote",
  "CalculatedPriority": "Example CalculatedPriority",
  "NotBefore": null,
  "CallbackAttempts": null,
  "CallbackExtras": null,
  "CallbackRelatedItems": null,
  "Id": "81b75b6c-25c9-4266-b537-787db03d7a52",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Produced when a callback request changes (is created, updated, closed etc).

Property name Value type Description
AssignedUserId Guid? Id of user the callback is currently assigned
CalculatedPriority string Calculated priority
CallbackAttempts List<CallbackAttempt> History of all handling attempts
CallbackExtras List<CallbackExtra> Extra name-value fields
CallBackId Guid CallBack Id this event relates to.
CallbackRelatedItems List<CallbackRelatedItem> List of cases related to this case
CallId Guid? The id of the original call that prompted the creation of this request
CallListId Guid Id of the CallList for this CallBack
ChannelIn string Name of the channel (usually service pool) the request came in through
ClassificationId Guid? If the case has been classified, id of the classification entry
ContactMessage string Any message left by the contact (usually empty)
ContactName string Contact name (usually empty)
ContactNumber string Contact number that is supposed to be called
Created bool Whether the request was created, or updated if not created
CreationTime DateTime WHen the request was initially created
DueDate DateTime? When the case is due to be handled
ExpiryDate DateTime? The date when the case automatically expires if not closed before it
IsClosed bool Whether the request is closed
LastAttemptNote string Note on the latest handling attempt
LastAttemptTimestamp DateTime? Timestamp of the latest handling attempt
LastAttemptTypeId int? Id of the last attempt's type
LastAttemptUserId Guid? Id of user that made the last attempt
LastModifiedUserId Guid? Id of user that made the last change, null if new or admin
Modified DateTime Modified date
NotBefore DateTime? Date before which the case should not be handled
Note string Internal notes on the case
OrganizationId Guid Id of related organization.
QueueId Guid? Guid of the responsible service queue or IVR queue, if any came in through
RecordingId Guid? Id of the corresponding audio recording (if any)
TranscriptId Guid? Id of the transcript created from the recording
TypeId short Type identifier. 1 - Explicit callback request 2 - Overflown call 3 - Call list item created manually

Event: CallbackListStatus

Example payload of Event: CallbackListStatus

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "CallbackListStatus",
  "EntityType": "CallList",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "MessageTTLSeconds": 600,
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "IsAutoAllocate": false,
  "TotalOpenRequests": 0,
  "TotalFreeForAllocation": 0,
  "TotalAssigned": 0,
  "TotalHidingNotBefore": 0,
  "NextHourRevealedNotBefore": 0,
  "TotalOverDueDate": 0,
  "NextHourOverDueDate": 0,
  "TotalActiveAgents": 0,
  "TotalAutoAllocateAgents": 0,
  "TotalServingAgents": 0,
  "TotalServingAutoAllocateAgents": 0,
  "ExpiresIn24h": 0,
  "Id": "041c38de-1a4e-4849-9c3d-d59c63633be2",
  "Timestamp": "2020-01-01T12:00:00Z"
}

Emitted with the latest status of each call list, if the status changed. Status changes are evaluated every 15 seconds. Can be used to construct alerts based on open items, automagically assign more agents to the lists or just simple dashboards.

Property name Value type Description
CallListId Guid Corresponding list id
ExpiresIn24h int Number of requests that will expire today
IsAutoAllocate bool If the CallbackList is AutoAllocate list
NextHourOverDueDate int Total number of requests that will be past DueDate during next hour
NextHourRevealedNotBefore int Total number of requests that will be allocable during next hour
OrganizationId Guid Id of related organization.
TotalActiveAgents int Total "Active" ("checked" in the list, not necessary serving) agents in the queue.
TotalAssigned int Total number of requests that are currently assigned to an agent
TotalAutoAllocateAgents int Total number of Agents "Active" and "Serving_CallbackLists"
TotalFreeForAllocation int Total number of requests that can be allocated
TotalHidingNotBefore int Total number of requests that are not allocable due NotBefore has not elapsed
TotalOpenRequests int Total number open unhandled requests
TotalOverDueDate int Total number of requests that are already over DueDate
TotalServingAgents int Total number of agents having "Serving_CallbackLists" = 1
TotalServingAutoAllocateAgents int Total immediately AutoAllocable agents. Agent must be "Active" and "Serving_CallbackLists", and the list must be "IsAutoAllocate" NOTE: Does not (at least YET) consider if agent already has an active allocated request, so a bit duplicate of TotalAutoAllocateAgents for now

Event: CallbackUserCallOutConnected

Example payload of Event: CallbackUserCallOutConnected

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "CallbackUserCallOutConnected",
  "EntityType": "CallList",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallBackId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "0300dd30-bd2d-4c41-b6b1-5d1c570c22d6",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing callback list call initiated by a user is connected to the user

Property name Value type Description
CallBackId Guid CallBack Id this event relates to.
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
CallListId Guid Id of the CallList for this CallBack
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
TargetNumber string Original called number.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: CallbackUserCallOutDisconnected

Outgoing callback list call initiated by a user is disconnected from the user

Property name Value type Description
CallBackId Guid CallBack Id this event relates to.
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
CallListId Guid Id of the CallList for this CallBack
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
Reason string Reason for the disconnect. 'remote' or 'local'
TargetNumber string Original called number.
TechReason string Technical reason (e.g SIP cause code) for the disconnect.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: CallbackUserCallOutGoing

Example payload of Event: CallbackUserCallOutGoing

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "CallbackUserCallOutGoing",
  "EntityType": "CallList",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallBackId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "UserName": "user.name@example.com",
  "CallerNumber": "+123457890123",
  "TargetNumber": "+123457890123",
  "Id": "04fb0427-198c-4470-bd04-5829dfb82e9b",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing callback list call initiated by a user

Property name Value type Description
CallAsNumber string Optional call as number
CallBackId Guid CallBack Id this event relates to.
CallerNumber string Original caller number.
CallId Guid Id of core call event relates to.
CallListId Guid Id of the CallList for this CallBack
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
TargetNumber string Original called number.
UserId Guid Id of calling user.
UserName string Username of calling user.

Event: CallbackUserCallRecorded

Example payload of Event: CallbackUserCallRecorded

{
  "RootEntityType": "Organization",
  "RootEntityId": "00000000-0000-0000-0000-000000000000",
  "EventType": "CallbackUserCallRecorded",
  "EntityType": "CallList",
  "EntityId": "00000000-0000-0000-0000-000000000000",
  "CallBackId": "00000000-0000-0000-0000-000000000000",
  "CallId": "00000000-0000-0000-0000-000000000000",
  "LegId": "Example LegId",
  "UserId": "00000000-0000-0000-0000-000000000000",
  "OrganizationId": "00000000-0000-0000-0000-000000000000",
  "CallListId": "00000000-0000-0000-0000-000000000000",
  "TargetNumber": "+123457890123",
  "RecordedFilePath": "Example RecordedFilePath",
  "Id": "4d5afb96-dbab-40f4-90ce-5c243d280bfc",
  "Timestamp": "2020-01-01T12:00:00Z",
  "MessageTTLSeconds": -1
}

Outgoing call for user in the name of a callback list recorded

Property name Value type Description
CallBackId Guid CallBack Id this event relates to.
CallId Guid Id of core call event relates to.
CallListId Guid Id of the CallList for this CallBack
LegId string Id of core call leg event relates to.
OrganizationId Guid Id of related organization.
RecordedFilePath string Path to the recorded file
TargetNumber string Original called number.
UserId Guid Id of calling user.

Misc: CallbackAttempt

Example payload of Misc: CallbackAttempt

{
  "Id": "00000000-0000-0000-0000-000000000000",
  "UserId": null,
  "Timestamp": "2020-01-01T12:00:00Z",
  "CallbackAttemptTypeId": null,
  "Note": "Example Note",
  "RecordingId": null,
  "CallId": null
}

Helper for CallbackAttempt transportation

Property name Value type Description
CallbackAttemptTypeId int? Attempt result type
CallId Guid? Call id in a case there is a call associated with the attempt
Id Guid Attempt id
Note string User-provided note
RecordingId Guid? Recording id in the case the attempt was recorded
Timestamp DateTime? Attempt timestamp
UserId Guid? UserId attempt relates to

Misc: CallbackExtra

Example payload of Misc: CallbackExtra

{
  "Id": 0,
  "Name": "Example Name",
  "Value": "Example Value"
}

Helper for CallBackExtraData transportation

Property name Value type Description
Id int Property name
Name string Property name
Value string Property value

Misc: CallbackRelatedItem

Example payload of Misc: CallbackRelatedItem

{
  "Id": "00000000-0000-0000-0000-000000000000",
  "ListId": null,
  "IsClosed": false,
  "StatusId": null
}

Helper for CallbackRelatedItem transportation

Property name Value type Description
Id Guid Related request id
IsClosed bool IsClosed : if the related request is already closed
ListId Guid? Related request list id
StatusId int? StatusId : Raw status id for the last Attempt