Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev guideRecipesAPI Reference
Dev guideRecipesUser GuidesNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev guide

Webhook response

Below is the webhook response format.

  • The action bulk response

    {
      "timestamp": "2025-06-04T04:02:34.2496364Z",
      "tenantId": "xxxxxx-xxxx-xxxxxxxxxx",
      "type": {
        "subject": "bulk",
        "action": "completed"
      },
      "data": {
        "journalId": "d3500168-14e1-4f24-8dda-b71f773707fc",
        "items": {
          "e7840ee3-3900-4c35-bc9a-9d69bf7b29af_fi_Published": "indexed",
          "730bbb9c-5959-44fc-ac2c-becce4cb075d_sv_Published": "indexed"
        }
      }
    }
    
    {
      "timestamp": "2025-06-04T04:08:12.0565864Z",
      "tenantId": "xxxx-xxxx-xxxx-xxxxxx",
      "type": {
        "subject": "bulk",
        "action": "completed"
      },
      "data": {
        "journalId": "c427a87f-b55a-4a8e-ade3-e4bae6fb6453",
        "items": {
          "a80fe5b4-9ed8-45e3-962f-e6e136ef971c_pt-BR_Published": "deleted",
          "2913924b-a5de-4f6d-97b0-41ba093713ff_fi_Published": "deleted"
        }
      }
    }
    
    • timestamp: The time the request is sent to the registered webhook URL.

    • tenantId: The ID of the customer.

    • type: The type of webhook.

    • data:

      • journald: The ID of the bulk.
      • items: The ID of the content within the bulk and the actions for those contents.
  • The action doc updated response

    {
      "timestamp": "2025-06-04T04:09:57.2211257+00:00",
      "tenantId": "xxxx-xxxxxx-xxxxx-xxxxx",
      "type": {
        "subject": "doc",
        "action": "updated"
      },
      "data": {
        "docId": "3843b6e6-c614-415a-a4ff-ce39b32af13b_en_Published"
      }
    }
    
    • timestamp: The time the request is sent to the registered webhook URL.

    • tenantId: The ID of the customer.

    • type: The type of webhook.

    • data:

      • docId: The ID of the content

📘

Note

When using the Content Graph client package and a content item is deleted or moved to the trash, the customer receives a bulk.completed type for the registered webhook.

When a new content item is created, the customer receives a doc.updated type for the registered webhook.

When the content expires, the system raises a bulk.completed event for clearing the cache, which is related to that tenant.