Webhooks

Webhook for image events.

Webhooks are sent to the Notification URL you provide in <ins>Account Settings</ins>.

There are two types of webhook events that are sent:

  • uploaded - Sent when new images are added to the library.
  • deleted - Sent when images are deleted from the library.
postWebhookimageEvent

Payload

event'uploaded' | 'deleted'

The event name which occurred.

schema_verstring

The version of the webhook JSON payload in this request.

timestampinteger

When this event occurred, in seconds-since-epoch.

Response

Indicates the webhook was received and will not be retried.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.