API-Referenz · Status pages · Subscribers
Subscribe
Mutation
subscribeToStatuspageSubscribes an email address to a status page and sends it a confirmation email, unless the address is already confirmed. Works without authentication for public pages.
subscribeToStatuspage(
statuspageSlug: String!
endpointSpec: EndpointSpec!
): StatuspageSubscription!Argumente
Feld
Typ
Rückgabe
Feld
Typ
Beispiel
mutation SubscribeToStatuspage($statuspageSlug: String!, $endpointSpec: EndpointSpec!) {
subscribeToStatuspage(statuspageSlug: $statuspageSlug, endpointSpec: $endpointSpec) {
id
manageToken
createdAt
updatedAt
recipient {
id
preferredLocale
}
}
}Beispielantwort
{
"data": {
"subscribeToStatuspage": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"manageToken": "Example manageToken",
"createdAt": "2026-01-01T12:00:00Z",
"updatedAt": "2026-01-01T12:00:00Z",
"recipient": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"preferredLocale": "Example preferredLocale"
}
}
}
}