Enable the webhook endpoint
- Sandbox: available
- Staging: available
- Production: unknown
Resumes deliveries of new events. It re-queues nothing: events held while it was disabled go out only through POST /api/events/redeliver?status=held. Enabling an enabled endpoint changes nothing.
Through ovok
- Who can call it: Manager apps, and users whose access policy grants the capabilities.
- Capabilities, all required:
signals_webhooks:update. Project admins have every capability; client applications get no admin bypass. - It can reach any patient of your project without naming one, so it is for callers that reach every patient: project admins, manager or submitter apps, and anyone whose Patient access has no criteria.
AuthorizationBearer <JWT>id*stringThe subscriber's Signals id or its clientId.
The endpoint as it now stands.
application/json- response
subscriberId*stringurl*stringstatus*stringfailing: the newest attempts failed; five days of that disables it. disabled: nothing is sent, and new events are held.
"enabled""failing""disabled"disabledAt*stringdate-timedisabledReason*stringgone: it answered 410. failing: five days of failures. manual: disabled by a caller.
"gone""failing""manual"failingSince*stringWhen the current run of failures began.
date-timelastSuccessAt*stringdate-timelastFailureAt*stringdate-timecurl -X POST 'https://api.sandbox.ovok.com/v1/signals/api/subscriber/string/webhook/enable'{ "subscriberId": "string", "url": "string", "status": "enabled", "disabledAt": "2019-08-24T14:15:22Z", "disabledReason": "gone", "failingSince": "2019-08-24T14:15:22Z", "lastSuccessAt": "2019-08-24T14:15:22Z", "lastFailureAt": "2019-08-24T14:15:22Z"}Read the webhook endpoint GET
The URL, whether it is `enabled`, `failing` or `disabled` (and why), when its current run of failures began, and its newest delivered and failed attempts. Five days of failures with no delivery, or one 410, disable it. ### Through ovok - **Who can call it:** Manager apps, and users whose access policy grants the capabilities. - **Capabilities, all required:** `signals_webhooks:read`. Project admins have every capability; client applications get no admin bypass.
Disable the webhook endpoint POST
Stops deliveries. Queued events and new ones are held, not dropped, for a redeliver once it is enabled again. Disabling a disabled endpoint keeps its first reason. ### Through ovok - **Who can call it:** Manager apps, and users whose access policy grants the capabilities. - **Capabilities, all required:** `signals_webhooks:update`. Project admins have every capability; client applications get no admin bypass. - It can reach any patient of your project without naming one, so it is for callers that reach every patient: project admins, manager or submitter apps, and anyone whose Patient access has no criteria.