Guides

Update Webhook

Update webhook by sending below payload. All keys are mandatory.

REQUEST PAYLOAD

{
  "key": "webhook",
  "value": {
    "web_urls": "https://myapp.example.org/receiver, https://myapp-backup.example.org/receiver",
    "callback_events": {
      "file-saved": true,
      "file-processed": true,
      "file-data-updated": true,
      "file-deleted": true,
      "file-undeleted": true,
      "addon-processed": false
    }
  }
}

REQUEST PARAMETERS

ParametersTypeDescription
keystringSet to webhook
value.web_urlsstringCan be an empty string. A maximum of three URLs will be accepted (sent as a single comma separated string).
value.callback_eventsJSONAccepts the keys listed below

Callback events description

EventDescription
file-savedWhen a file is stored in your storage after user uploads a file through File Picker or through Upload API
file-processedWhen image and video conversions are processed for a file as part of upload workflow or via Image or Video Conversion API
file-data-updatedWhen custom data is attached to a file using FileSpin. update method of File Picker or using Update File Data API
file-deletedWhen image conversions, video transcodes or the original file is deleted using Delete API
file-undeletedWhen the original file is undeleted using Undelete API
addon-processedAn addon has completed processing
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!