A new photo has been added to the album

POST https://webhook.example.com

A new photo has been added to the album. Includes images, live photos, and videos. Requires admin access to the album.

application/json

Body Required

  • data object Required
    Hide data attributes Show data attributes object
    • photoId string Required
    • width integer
    • height integer
    • originalUrl string Required

      A signed URL to access the uploaded image. For videos, this is a thumbnail image.

    • stableUrl string Required

      A signed URL to access the stable version of the image (JPEG or WebP, <15 MB) or a thumbnail of the video (JPEG or WebP, <15 MB)

  • metadata object

    Additional metadata included in the webhook request. This can be used to pass custom data to the webhook handler. Valid value types are string, number, and boolean.

POST newPhoto
Request examples
{
  "data": {
    "photoId": "string",
    "width": 42,
    "height": 42,
    "originalUrl": "string",
    "stableUrl": "string"
  },
  "metadata": {}
}