Search subscribed webhooks

Use case

Here you can learn how to find a complete list of subscribed webhooks.

Sample API call

To obtain a list of subscribed webhooks, make the API call below:

https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions

Search for subscribed webhooks. Returns complete list of subscribed webhooks.

Learn more about the endpoint in the Tuum developer portal.

Sample request

Here is a sample request for obtaining the full list of subscribed webhooks:

https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions

Sample response

Below you will find the response body to the sample request:

Response
{
    "data": [
        {
            "subscriptionId": "ID-1000",
            "url": "https://webhook.site/b43453ab-6eda-4523-b04d-8b23b3a5d0e6",
            "version": "1",
            "notificationTypeCode": "PERSON_CREATED"
        },
        {
            "subscriptionId": "ID-1001",
            "url": "https://webhook.site/b43453ab-6eda-4523-b04d-8b23b3a5d0e6",
            "version": "1",
            "notificationTypeCode": "ACCOUNT_CREATED"
        }
    ]
}

Please remember that the response to your request will depend on the webhook subscription data in your Tuum instance.

Result

The complete list of the subscribed webhooks has been received.

In the next step, we will subscribe to webhook for notifications type PERSON_UPDATED, which is not in the list of subscribed webhooks above.

Last updated

Was this helpful?