v2

latestOpenAPI 3.0.12026-07-262352981007.0 KB
Webhooks

Get a webhook subscription

Returns the webhook subscription.

get/webhooks/{id}

Path parameters

idstring required

Response

When request is successful. Returns the webhook subscriptions.

idstring nullable
hrefstring nullable
relationstring nullable
methodstring nullable
accountIdstring nullable

Unique identifier of the associated account.

namestring nullable

Name or description of the subscription.

eventTypesstring[] nullable

The event types that the webhook subscription is subscribed to.

eventNotificationUrlstring nullable

The uri to notify when an event has occurred.

createdDateUtcstring date-time

The webhook subscription creation date.

updatedDateUtcstring date-time

The webhook subscription last updated date.

lastUpdatedinteger

Last updated timestamp

Example response

{
  "accountId": "da4e7fd1-5394-4ca9-b1c6-e18c4e2bf262",
  "name": "Listen to matter and contact changes",
  "eventTypes": [
    "matter.updated",
    "contact.created"
  ],
  "eventNotificationUrl": "http://yourdomain.com/notify",
  "createdDateUtc": "2022-04-23T14:00:00Z",
  "updatedDateUtc": "2022-04-23T14:00:00Z",
  "lastUpdated": 637847425252027400
}