Update webhook subscription
Use case
Here you can learn how to update an existing webhook subscription.
Use case data
API parameters with values
Updating webhook subscription with ID-1004 to the new destination: https://webhook.site/b43453ab-6eda-4523-b04d-8b23b3a5d0e6
{
"url": "https://webhook.site/b43453ab-6eda-4523-b04d-8b23b3a5d0e6",
"version": 1,
"notificationTypeCode": "PERSON_UPDATED"
}
Sample API call
To update the existing webhook subscription, make the API call below:
https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions/ID-1004
Sample request
Here is a sample request for updating the webhook subscription:
{
"url": "https://webhook.site/b43453ab-6eda-4523-b04d-8b23b3a5d0e6",
"version": 1,
"notificationTypeCode": "PERSON_UPDATED"
}
Sample response
Below you will find the response body to the sample request:
Result
The destination of the webhook subscription with ID-1004
is updated.
Last updated
Was this helpful?