Webhooks

Subscribe to webhooks

Subscribe to Print API webhooks by passing a list of topics that you want to subscribe to and the URL where webhooks should be sent.

post/webhooks/

Request body

topicsstring[] required

List of webhook topics

urlstring required

URL where webhook should be sent

Example request

{
  "topics": [
    "PRINT_JOB_STATUS_CHANGED"
  ],
  "url": "https://www.webhooks-consumer.com/"
}

Response

OK

idstring uuid required

Webhook ID

is_activeboolean required

Indicates if webhook is active

topicsstring[] required

List of subscribed topics

urlstring required

Webhook URL

Example response

{
  "id": "f370d09b-912a-4667-9890-ed9bd0c32166",
  "is_active": true,
  "topics": [
    "PRINT_JOB_STATUS_CHANGED"
  ],
  "url": "https://www.webhooks-consumer.com/"
}

Changes

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