asset.approval_status_updated

POST Webhook asset.approval_status_updated

Headers

knak-signaturestring

Hash-based message authentication code (HMAC) with SHA-256 used to verify that the payload contents were sent by Knak.

Example:eXYGdAHaNVcOLHVABaYIQHIdBTAZDFAT
Knak-Versionstring

The version of the webhook payload.

Example:1.0
Knak-Event-Typestring

The webhook's event type.

Example:asset.approval_status_updated

Payload

event_typestring
event_idstring
event_datestring
versionstring

Example payload

{
  "event_type": "asset.approval_status_updated",
  "event_id": "609d7ce223411",
  "event_date": "2023-02-08T17:07:12+00:00",
  "version": "1.0",
  "data": {
    "asset": {
      "id": "609d7ce223411",
      "name": "Spring Newsletter",
      "folder_path": "Sample Brand/Folder 1/Folder 2/Sample Campaign",
      "campaign": "Sample Campaign",
      "brand": "Sample Brand",
      "status": "In Review"
    }
  }
}

Response

Return a 200 status to indicate that the notification was received.

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.