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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"result":{"id":"dolore venia"},"meta":{"httpStatus":"magna","requestId":"adipisicing cillum laborum qui","notice":"sun"}}