Skip to main content
PUT
Update a webhook subscription

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

id
string
required

Body

key
string | null

Unique key used for creating signature header in webhook notification requests.

Example:

"da4e7fd1-5394-4ca9-b1c6-e18c4e2bf262"

name
string | null

Name or description of the webhook subscription.

Example:

"Listen to matter and contact changes"

eventTypes
string[] | null

The event types that the webhook subscription should be subscribed to.

Example:
eventNotificationUrl
string | null

The uri to notify when an event has occurred.

Example:

"http://yourdomain.com/notify"

Response

When request is successful. Returns updated webhook subscriptions.

id
string | null
href
string | null
relation
string | null
method
string | null
default:GET
self
object | null
accountId
string | null

Unique identifier of the associated account.

Example:

"da4e7fd1-5394-4ca9-b1c6-e18c4e2bf262"

name
string | null

Name or description of the subscription.

Example:

"Listen to matter and contact changes"

eventTypes
string[] | null

The event types that the webhook subscription is subscribed to.

Example:
eventNotificationUrl
string | null

The uri to notify when an event has occurred.

Example:

"http://yourdomain.com/notify"

createdDateUtc
string<date-time>

The webhook subscription creation date.

Example:

"2022-04-23T14:00:00Z"

updatedDateUtc
string<date-time>

The webhook subscription last updated date.

Example:

"2022-04-23T14:00:00Z"

lastUpdated
integer<int64>

Last updated timestamp

Example:

637847425252027400