Skip to main content

Manage Config

Get, update, or delete a Talonic webhook configuration. Update the URL, events, secret, or active status. Deleting a config stops all future deliveries.

Retrieve, update, or delete a webhook configuration. Use GET to inspect the current settings, PATCH to modify specific fields, and DELETE to permanently remove the configuration and stop all future deliveries to its URL.

Updates take effect immediately: the next event that fires uses the updated URL, events, and secret. Common update patterns include rotating the signing secret, adding or removing event subscriptions, and temporarily disabling a webhook by setting is_active: false.

Deleting a webhook configuration is permanent. Any events that occur after deletion are not queued. If you need to temporarily stop deliveries without losing the configuration, set is_active to false instead.

When rotating secrets, update the webhook configuration first, then update your server to verify against the new secret. During the transition, you may need to accept signatures from both the old and new secrets to avoid rejecting in-flight deliveries.

Deleting a webhook is irreversible. Events that fire after deletion are not queued or recoverable. Use is_active: false to pause deliveries without losing the configuration.
GET/v1/webhooks/:id
PATCH/v1/webhooks/:id

Body parameters (all optional)

urlstringUpdated destination URL.
secretstringUpdated signing secret.
eventsstring[]Updated event subscriptions.
is_activebooleanEnable or disable the webhook.

Response (PATCH)

Response (PATCH)

{
  "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
  "url": "https://api.example.com/webhooks/talonic-v2",
  "events": ["extraction.complete"],
  "is_active": true,
  "source_connection_id": null,
  "created_at": "2024-10-05T12:00:00.000Z",
  "updated_at": "2024-10-06T09:30:00.000Z",
  "links": {
    "self": "/v1/webhooks/b2c3d4e5-f6a7-8901-bcde-f12345678901"
  }
}
DELETE/v1/webhooks/:id

Response (DELETE)

Response (DELETE)

{ "deleted": true, "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901" }

Errors

Error responses

401unauthorizedMissing or invalid API key.
404not_foundNo webhook configuration with this ID exists for your workspace.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.

Frequently asked questions

How do I rotate a webhook secret?+
Update the configuration with PATCH and set the new secret. Update your server to verify against the new secret. During transition, you may need to accept both old and new signatures.
What happens to in-flight deliveries when I delete a webhook?+
Deliveries already in progress (including retries) will continue to completion. Only new events after deletion are dropped.
Can I re-enable a deleted webhook?+
No. Deletion is permanent. Create a new configuration with the same URL and settings if needed.