Read the webhook endpoint
- Sandbox: available
- Staging: available
- Production: unknown
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.
AuthorizationBearer <JWT>id*stringThe subscriber's Signals id or its clientId.
The endpoint.
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 GET 'https://api.sandbox.ovok.com/v1/signals/api/subscriber/string/webhook'{ "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"}Delete a user DELETE
Revokes the credential at once and drops its undelivered webhook events. ### Through ovok - **Who can call it:** Manager apps, and users whose access policy grants the capabilities. - **Capabilities, all required:** `signals_webhooks:delete`. Project admins have every capability; client applications get no admin bypass. - Only subscribers are deleted through ovok. - 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.
Enable the webhook endpoint POST
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.