marketing_platform_sync.completed

POST Webhook marketing_platform_sync.completed

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:marketing_platform_sync.completed

Payload

event_typestring
event_idstring
event_datestring
versionstring

Example payload

{
  "event_type": "marketing_platform_sync.completed",
  "event_id": "609d7ce223411",
  "event_date": "2023-02-08T17:07:12+00:00",
  "version": "1.0",
  "data": {
    "sync": {
      "id": "609d7ce223411",
      "asset_id": "609d7ce223abc",
      "integration_id": "609d7ce223def",
      "platform": "marketing_cloud",
      "sync_type": "sync",
      "status": "pending",
      "platform_asset_id": "123456",
      "platform_asset_url": "https://mc.s7.exacttarget.com/emails/123456"
    },
    "asset": {
      "id": "609d7ce223411",
      "name": "Spring Newsletter",
      "type": "email",
      "version": "1.0"
    },
    "integration": {
      "id": "609d7ce223def",
      "name": "Marketing Cloud - Production",
      "platform": "marketing_cloud"
    },
    "user": {
      "id": "609d7ce223411",
      "name": "John Doe",
      "email": "john.doe@email.com"
    },
    "project_management_link": {
      "id": "609d7ce223411",
      "integration_id": "609d7ce223411",
      "project_management_url": "https://knak.my.workfront.com/task/64a521d456747a13ec3fc60911274eda2/documents",
      "project_management_entity_name": "Workfront Task"
    }
  }
}

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.