Works without authentication, e.g. for visitors of a public status page.

subscribeToStatuspage(
  statuspageSlug: String!
  endpointSpec: EndpointSpec!
): StatuspageSubscription!

Arguments

Field

Type

Returns

StatuspageSubscription!

Field

Type

Example

mutation SubscribeToStatuspage($statuspageSlug: String!, $endpointSpec: EndpointSpec!) {
  subscribeToStatuspage(statuspageSlug: $statuspageSlug, endpointSpec: $endpointSpec) {
    id
    manageToken
    createdAt
    updatedAt
    recipient {
      id
      preferredLocale
    }
  }
}

Example response

{
  "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"
      }
    }
  }
}

On this page