Turn a disabled chat or webhook subscriber back on. Its failure count starts again from zero.
const url = 'https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/subscriber/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/enable';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.siteqwality.com/status_page/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/subscriber/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/enable \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Status page identifier
Subscriber identifier
Responses
Section titled “ Responses ”The subscriber, enabled
Someone who gets a status page’s updates by email, chat or webhook.
object
The address. Null for a chat or webhook subscriber.
email, slack, teams, discord, google_chat or webhook.
A chat or webhook subscriber’s URL, masked: its host and the last four characters.
confirmed receives notices. pending has not clicked the link yet. queued was
imported and waits for its confirmation email. expired never clicked, and the link
lapsed. quarantined bounced or complained and gets nothing. disabled is a chat or
webhook subscriber whose endpoint refused or kept failing; enable it to resume.
Chat and webhook deliveries that failed in a row; 5 disables the subscriber.
Why it was disabled.
When the address was first submitted.
Components (monitor ids) whose notices it gets. Empty means every component.
Kinds of update it gets. Empty means both.
The version of the confirm page wording it agreed to, set when it confirms.
Example
{ "channel": "email", "state": "confirmed", "kinds": [ "incident" ], "consent_source": "public_form", "quarantine_reason": "bounce"}Missing or invalid authentication
Status page or subscriber not found
Internal server error