Webhook
newAlbum
A new album has been created. Triggers when the user account either creates a new album or is added to an existing album.
Payload
dataobjectrequiredalbumIdstringrequirednamestringmin 1max 40ownerIdstringshareUrlstringA URL that can be shared with others to view the album. This URL is static and will always point to the album. You can safely cache this URL for future use.
numPhotosintegerThe number of photos in the album
numParticipantsintegerThe number of participants in the album (inclusive of the album owner)
metadataobjectAdditional 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.
How to receive
Create a webhook subscription via the createSubscription endpoint. We'll POST the payload above to your configured URL whenever the newAlbum event fires.