Subscribe webhook
Use case
Here you can learn how to subscribe to webhooks.
Use case data
API parameters with values
Subscribing webhook:
with content version 1
for PERSON_UPDATED
to be received in the destination https://webhook.site/00563ca5-867d-42ab-95ee-06533378edb8
{
"url": "https://webhook.site/00563ca5-867d-42ab-95ee-06533378edb8",
"version": 1,
"notificationTypeCode": "PERSON_UPDATED"
}
Sample API call
To subscribe to the webhook, make the API call below:
https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscribe
Sample request
Here is a sample request for subscribing to the webhook:
{
"url": "https://webhook.site/00563ca5-867d-42ab-95ee-06533378edb8",
"version": 1,
"notificationTypeCode": "PERSON_UPDATED"
}
Sample response
Below you will find the response body to the sample request:
Result
We have subscribed to the webhook for notification type PERSON_UPDATED.
Last updated
Was this helpful?