Jump to: navigation, search

Subscribe

This operation is part of the Digital User Events API section of the Web Services API.

Overview

This request subscribes to Interaction Server user events.

Request URL /api/v2/me/multimediaevents
HTTP Method POST
Required Features api-multimedia

Parameters

Parameter Value
operationName Subscribe
topics List of user defined topics to which to subscribe.


This request involves sending a JSON body as well as adhering to the URL path listed above.

POST api/v2/me/multimediaevents


The following is a possible valid JSON for the request:

{
   "operationName": "Subscribe",
   "topics": [
       "topic_0",
       "topic_1"
   ]
}

Response

The response consists of an HTTP response and a CometD response.

HTTP response

{
   "statusCode": 0,
   "referenceId": 7,
}

CometD response

{
   "stateResource": "Subscribed",
   "referenceId": 7,
   "topics": [
       "topic_0",
       "topic_1"
   ],
   "messageType": "MultimediaEventSubscriptionStateChangeMessage"
}
This page was last edited on October 31, 2023, at 13:29.
Comments or questions about this documentation? Contact us for support!