...
Code Block |
---|
{contextObjectId=0, contextObjectTitle=d7e7a6dd-1c82-45ff-aea1-cbbbe9ce1bb0, event=verification, timestamp=2018-10-04T16:44:30Z} |
There is no limited life-time for subscription to Inspera events. Once subscription to event has been made, it does not expire until user unsubscribes or deletes the subscription.
It is possible to get the list of events user is subscribed to by calling GET method for /v1/subscription endpoint. This method will return array all events user is subscribed to with additional information about each event found:
Code Block |
---|
{
"subscriptions": [
{
"subscriptionId": 0, //used to send DELETE post to /v1/subscription/{subscriptionId} to unsubscribe form listening to event
"event": "string", //event name
"endpoint": "string", //API endpoint associated with this user and event (the API that will be called by Inspera when an event is triggered)
"lastModified": "2021-01-29T13:09:32.287Z" //date for last modified
}
]
} |