Skip to content

Subscribe to status page updates

POST
/public/status-pages/{slug}/subscribe
curl --request POST \
--url https://api.perstat.io/public/status-pages/example/subscribe \
--header 'Content-Type: application/json' \
--data '{ "email": "example" }'

Requests an email subscription to a public status page using double opt-in; a confirmation email is sent only for new or still unconfirmed addresses. Always answers 202 for valid addresses and never reveals whether an address is already subscribed. Returns 404 when the page does not exist or does not offer subscriptions.

slug
required
string
Media typeapplication/json
object
email
required
string
Examplegenerated
{
"email": "example"
}

Request accepted for processing.

The request is invalid. Check the supplied fields and values.

No accessible resource matches the supplied identifier.