Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1.96 KB

patchv2webhookswebhookidrequestbody.md

File metadata and controls

33 lines (28 loc) · 1.96 KB

PatchV2WebhooksWebhookIdRequestBody

Example Usage

import { PatchV2WebhooksWebhookIdRequestBody } from "attio-js/models/operations/patchv2webhookswebhookid.js";

let value: PatchV2WebhooksWebhookIdRequestBody = {
  data: {
    targetUrl: "https://example.com/webhook",
    subscriptions: [
      {
        eventType: "note.created",
        filter: {
          dollarAnd: [
            {
              field: "parent_object_id",
              operator: "equals",
              value: "97052eb9-e65e-443f-a297-f2d9a4a7f795",
            },
          ],
        },
      },
    ],
  },
};

Fields

Field Type Required Description
data operations.PatchV2WebhooksWebhookIdDataRequest ✔️ N/A