api-docs-icon

Update Webhook

PUT
/ api/ v1/ webhooks

Updates the specified webhook

object
campaign_id
integer (int32)

Id of the webhook. Will be returned in a GET but is not required in a POST

Example:
10142067
campaign_name
string
nullable

Name of the webhook

Example:
Keymaker
created_date
string
nullable

created_date of Webhook

Example:
1999-02-19T12:00:00.00:00
endpoint_id
string
nullable

The endpoint associated with the campaign.

Example:
https://app.postalytics.com/1234567890
is_subscribed
integer (int32)

Indicates whether a webhook is active and sending out or not. 1 = active, 0 = not active

Example:
1
url
string
nullable

The URL of the receiving third party endpoint that will consume this webhook

Example:
https://some.url.com/action

Response

application/json
object
updated_date
string (date-time)

The date and time when the webhook was updated.

Example:
1999-02-19T12:00:00.00:00

Code Examples

Response