Webhooks

Subscribe a webhook

Sends a POST to targetUrl each time an image is generated from the template.

post/hooks

Request

  • Base URL
    https://api.dynapictures.com
  • URL
    https://api.dynapictures.com/hooks
  • Auth
    HTTP bearer

Request body

targetUrlstring uri required

The URL that receives the notifications.

eventType'NEW_IMAGE' required

The event to subscribe to.

templateIdstring required

The template to watch.

Response

The webhook.

uidstring required

The ID of the webhook.

eventType'NEW_IMAGE' required

The subscribed event.

targetUrlstring uri required

The URL that receives the notifications.

designUidstring

The watched template.

dateCreatedstring date-time

When the webhook was created.

Changes

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