Webhooks

Update webhook

Changes only the fields you send. status takes enabled or disabled (paused is set only by TryPost). Enabling a disabled or paused webhook resets consecutive_failures and paused_at. A new endpoint that is not a public http or https URL returns 422 on endpoint. The signing secret is not included in the response.

put/webhooks/{webhook}

Request

  • Base URL: https://app.trypost.it/api
  • URL: https://app.trypost.it/api/webhooks/{webhook}
  • Auth: HTTP bearer

Request body

endpointstring uri
eventsWebhookEventType[]
status'enabled' | 'disabled'

Response

The updated webhook.

idstring uuid
endpointstring uri
eventsWebhookEventType[]
status'enabled' | 'disabled' | 'paused'

paused is set by TryPost after 5 failed deliveries in a row (the account owner is emailed). Set status: enabled to resume.

last_sent_atstring date-time nullable

ISO 8601, UTC.

paused_atstring date-time nullable

ISO 8601, UTC.

consecutive_failuresinteger
signing_secretstring

Secret used to sign deliveries (whsec_ and 32 characters). Only returned when you create, get or rotate the webhook.

created_atstring date-time

ISO 8601, UTC.

updated_atstring date-time

ISO 8601, UTC.

Example response

{
  "last_sent_at": "2026-10-08T14:00:03+00:00",
  "signing_secret": "whsec_4qXbV8kP2mT7nR1sW9yZ3cE6hJ0aL5dF",
  "created_at": "2026-09-15T10:00:00+00:00",
  "updated_at": "2026-10-08T14:00:03+00:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.