Create Subscription

POST {{baseUrl}}/eventsubscriptions

Create an event subscription. <!--From Readme--> Topic subscription can be a single event (Ex: threesixty.created) or a wildcard list of events using the * (star) notation to denote 'everything' (Ex:threesixty.\* will subscribe to all 360 events from Qualtrics.) <!-- theme: info -->

Complete Example

For a complete example showing how to subscribe to and then listen for events look here.

Administrator Request

To use this call you must be a Qualtrics brand administrator

Publication URL

This is a REST endpoint that would be set up on your end. We will ping that URL with a POST request.

Note

The publicationUrl must be able to handle HTTP GET/POST. It will be receiving x-www-form-urlencoded data not JSON. You can do that different ways, like using the Python object BaseHTTPRequestHandler and HTTPServer when you stand up your web listener.

Request Body

{"publicationUrl"=>"commodo sed amet do", "topics"=>"Excepteur aliquip nisi cillum ut", "encrypt"=>false, "sharedKey"=>"in nulla amet dolor"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;result&quot;:{&quot;id&quot;:&quot;dolore venia&quot;},&quot;meta&quot;:{&quot;httpStatus&quot;:&quot;magna&quot;,&quot;requestId&quot;:&quot;adipisicing cillum laborum qui&quot;,&quot;notice&quot;:&quot;sun&quot;}}