Webhooks

Add webhook

Register a webhook for the user. All webhooks should implicitly support ping event. You don't have to specify ping event in the list of supported ones, it will be added automatically. Upon successful registration, the response will include webhook's ID that can be used to remove the webhook.

put/webhooks/v1

Request

  • Base URL: https://api.isthereanydeal.com
  • URL: https://api.isthereanydeal.com/webhooks/v1
  • Auth: OAuth 2 (authorization code, authorization URL https://isthereanydeal.com/oauth/authorize/, token URL https://isthereanydeal.com/oauth/token/, scopes: webhooks)

Request body

urlstring uri required
eventsstring[] required

Response

Successful webhook registration

idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.