Types
WebhookStatus
Gives the lifecycle state of a webhook. Only ACTIVE delivers events. Has the same values as EventDestinationStatus.
enum
WebhookStatusValues
PENDING_VERIFICATION
Pending verification: nothing is delivered until verifyWebhook succeeds. Changing the endpoint sends the webhook back here.
ACTIVE
Live: matching events are delivered.
PAUSED
Stopped: nothing is delivered. Set by pauseWebhook, or by Occtoo when the endpoint keeps answering HTTP 401 or 403. resumeWebhook makes it ACTIVE again.
DISABLED
Failed: Occtoo stopped delivering because the endpoint answered HTTP 410 Gone. It can't be resumed; changing the endpoint sends it back to PENDING_VERIFICATION.
DELETED
Deleted by deleteWebhook. Nothing is delivered and it can't be restored.
Was this page helpful?