PingZen Web Push API

The Web Push API from PingZen — 4 operation(s) for web push.

GitHub OpenAPI

Operations 4

GET /api/v1/web-push/vapid-public-key Get Vapid Public Key #
GET /api/v1/web-push/subscriptions Get Subscriptions #
POST /api/v1/web-push/subscribe Subscribe #
POST /api/v1/web-push/unsubscribe Unsubscribe #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pingzen-dev:pingzen-dev-web-push-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pingzen-dev-web-push-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PingZen Web Push API
  description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
  version: 1.0.0
tags:
- name: Web Push
paths:
  /api/v1/web-push/vapid-public-key:
    get:
      tags:
      - Web Push
      summary: Get Vapid Public Key
      operationId: get_vapid_public_key_api_v1_web_push_vapid_public_key_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VapidPublicKeyResponse'
  /api/v1/web-push/subscriptions:
    get:
      tags:
      - Web Push
      summary: Get Subscriptions
      operationId: get_subscriptions_api_v1_web_push_subscriptions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionsStatusResponse'
      security:
      - HTTPBearer: []
  /api/v1/web-push/subscribe:
    post:
      tags:
      - Web Push
      summary: Subscribe
      operationId: subscribe_api_v1_web_push_subscribe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/presentation__api__v1__routers__web_push__SubscribeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/presentation__api__v1__routers__web_push__SubscribeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/web-push/unsubscribe:
    post:
      tags:
      - Web Push
      summary: Unsubscribe
      operationId: unsubscribe_api_v1_web_push_unsubscribe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnsubscribeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/presentation__api__v1__routers__web_push__SubscribeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SubscriptionSummary:
      properties:
        endpoint:
          type: string
          title: Endpoint
        device_name:
          type: string
          title: Device Name
          default: Browser
        created_at:
          type: string
          title: Created At
          default: ''
      type: object
      required:
      - endpoint
      title: SubscriptionSummary
    UnsubscribeRequest:
      properties:
        endpoint:
          type: string
          maxLength: 2048
          minLength: 10
          title: Endpoint
      type: object
      required:
      - endpoint
      title: UnsubscribeRequest
    presentation__api__v1__routers__web_push__SubscribeResponse:
      properties:
        success:
          type: boolean
          title: Success
        message:
          type: string
          title: Message
        device_count:
          type: integer
          title: Device Count
      type: object
      required:
      - success
      - message
      - device_count
      title: SubscribeResponse
    VapidPublicKeyResponse:
      properties:
        public_key:
          type: string
          title: Public Key
      type: object
      required:
      - public_key
      title: VapidPublicKeyResponse
    PushSubscriptionKeys:
      properties:
        p256dh:
          type: string
          maxLength: 200
          minLength: 1
          title: P256Dh
        auth:
          type: string
          maxLength: 100
          minLength: 1
          title: Auth
      type: object
      required:
      - p256dh
      - auth
      title: PushSubscriptionKeys
    SubscriptionsStatusResponse:
      properties:
        subscriptions:
          items:
            $ref: '#/components/schemas/SubscriptionSummary'
          type: array
          title: Subscriptions
        device_count:
          type: integer
          title: Device Count
        is_active:
          type: boolean
          title: Is Active
      type: object
      required:
      - subscriptions
      - device_count
      - is_active
      title: SubscriptionsStatusResponse
    PushSubscriptionInfo:
      properties:
        endpoint:
          type: string
          maxLength: 2048
          minLength: 10
          title: Endpoint
        keys:
          $ref: '#/components/schemas/PushSubscriptionKeys'
      type: object
      required:
      - endpoint
      - keys
      title: PushSubscriptionInfo
    presentation__api__v1__routers__web_push__SubscribeRequest:
      properties:
        subscription:
          $ref: '#/components/schemas/PushSubscriptionInfo'
        device_name:
          type: string
          maxLength: 100
          title: Device Name
          default: Browser
      type: object
      required:
      - subscription
      title: SubscribeRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key