Webhooks

Get a webhook

Returns the configuration of the webhook endpoint with the given ID.

get/v1/webhooks/{id}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/webhooks/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

Response

WebhookEndpoint

idstring required
namestring required
urlstring required
eventTypesstring[] required
channelsstring[] nullable required
mailboxIdsMailboxId[] nullable required
namespaceIdstring required
status'active' | 'disabled' required
hasCustomHeadersboolean required
failureStartedAtstring nullable required
lastSucceededAtstring nullable required
createdAtstring required
updatedAtstring required

Changes

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