UnoRouter Notify API

The Notify API from UnoRouter, for notify.

GitHub OpenAPI

Operations 5

GET /api/notify/events Get Notify Events #
GET /api/notify/room Get Room History #
DELETE /api/notify/subscription Unsubscribe Notify Push #
POST /api/notify/subscription Subscribe Notify Push #
GET /api/notify/vapid Get Notify Vapid Key #

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/unorouter-com:unorouter-com-notify-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

unorouter-com-notify-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: ' '
  title: New Notify API
  version: 0.0.1
tags:
- name: Notify
paths:
  /api/notify/events:
    get:
      operationId: getNotifyEvents
      parameters:
      - description: Only return events newer than this unix timestamp
        in: query
        name: since
        schema:
          type: string
      - description: Comma-separated topic filter
        in: query
        name: topics
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotifyEventsResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/NotifyEventsResponse'
          description: OK
      security:
      - {}
      summary: Get Notify Events
      tags:
      - Notify
  /api/notify/room:
    get:
      operationId: getRoomHistory
      parameters:
      - description: Room id from the invite link
        in: query
        name: room
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/ApiResponse'
          description: OK
      security:
      - {}
      summary: Get Room History
      tags:
      - Notify
  /api/notify/subscription:
    delete:
      operationId: unsubscribeNotifyPush
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotifyUnsubscribeRequest'
        description: Request body for dto.NotifyUnsubscribeRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotifyUnsubscribeResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/NotifyUnsubscribeResponse'
          description: OK
      security:
      - {}
      summary: Unsubscribe Notify Push
      tags:
      - Notify
    post:
      operationId: subscribeNotifyPush
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotifySubscriptionRequest'
        description: Request body for dto.NotifySubscriptionRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotifySubscriptionResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/NotifySubscriptionResponse'
          description: OK
      security:
      - {}
      summary: Subscribe Notify Push
      tags:
      - Notify
  /api/notify/vapid:
    get:
      operationId: getNotifyVapidKey
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotifyVapidKeyResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/NotifyVapidKeyResponse'
          description: OK
      security:
      - {}
      summary: Get Notify Vapid Key
      tags:
      - Notify
components:
  schemas:
    NotifyVapidKeyData:
      properties:
        key:
          description: Base64url-encoded public VAPID key
          type: string
      required:
      - key
      type: object
    ApiResponse:
      properties:
        data: {}
        message:
          type: string
        object:
          type: string
        success:
          type: boolean
      required:
      - message
      - success
      type: object
    NotifyUnsubscribeRequest:
      description: NotifyUnsubscribeRequest schema
      properties:
        endpoint:
          description: Push service endpoint URL to remove
          type: string
      required:
      - endpoint
      type: object
    NotifyEventData:
      properties:
        cheapest_group:
          type: string
        cheapest_ratio:
          format: double
          nullable: true
          type: number
        free:
          type: boolean
        model:
          type: string
        online:
          nullable: true
          type: boolean
        prev_cheapest_ratio:
          format: double
          nullable: true
          type: number
      required:
      - free
      - model
      type: object
    NotifyUnsubscribeResponse:
      description: NotifyUnsubscribeResponse schema
      properties:
        message:
          type: string
        success:
          type: boolean
      required:
      - success
      type: object
    NotifyVapidKeyResponse:
      description: NotifyVapidKeyResponse schema
      properties:
        data:
          $ref: '#/components/schemas/NotifyVapidKeyData'
        message:
          type: string
        success:
          type: boolean
      required:
      - success
      type: object
    NotifyEventsResponse:
      description: NotifyEventsResponse schema
      properties:
        data:
          items:
            $ref: '#/components/schemas/NotifyEvent'
          type:
          - array
          - 'null'
        message:
          type: string
        success:
          type: boolean
      required:
      - success
      type: object
    NotifySubscriptionRequest:
      description: NotifySubscriptionRequest schema
      properties:
        endpoint:
          description: Push service endpoint URL (https only, max 2048 chars)
          type: string
        keys:
          $ref: '#/components/schemas/NotifySubscriptionKeys'
        locale:
          description: Preferred locale for push payload text (max 16 chars)
          type: string
        topics:
          description: Topics to subscribe to; concrete names or single-wildcard patterns
          items:
            description: Topics to subscribe to; concrete names or single-wildcard patterns
            type: string
          type:
          - array
          - 'null'
      required:
      - endpoint
      - keys
      - topics
      type: object
    NotifySubscriptionData:
      properties:
        endpoint_hash:
          type: string
        topics:
          items:
            type: string
          type:
          - array
          - 'null'
      required:
      - endpoint_hash
      - topics
      type: object
    NotifyEvent:
      properties:
        data:
          $ref: '#/components/schemas/NotifyEventData'
        id:
          type: string
        topics:
          items:
            type: string
          type:
          - array
          - 'null'
        ts:
          format: int64
          type: integer
        type:
          type: string
      required:
      - data
      - id
      - topics
      - ts
      - type
      type: object
    NotifySubscriptionKeys:
      properties:
        auth:
          description: Base64url-encoded 16-byte auth secret
          type: string
        p256dh:
          description: Base64url-encoded 65-byte uncompressed EC public key
          type: string
      required:
      - auth
      - p256dh
      type: object
    NotifySubscriptionResponse:
      description: NotifySubscriptionResponse schema
      properties:
        data:
          $ref: '#/components/schemas/NotifySubscriptionData'
        message:
          type: string
        success:
          type: boolean
      required:
      - success
      type: object
  securitySchemes:
    accessToken:
      description: System access token for dashboard API routes. Must be paired with New-Api-User header.
      in: header
      name: Authorization
      type: apiKey
    anthropicApiKey:
      description: Anthropic-style API key. Used by /v1/messages and /v1/models.
      in: header
      name: x-api-key
      type: apiKey
    bearerAuth:
      description: API token (sk-...). Used by relay routes (/v1/*) and token-based query endpoints.
      scheme: bearer
      type: http
    newApiUser:
      description: User ID header. Required together with the access token or session cookie for dashboard API routes.
      in: header
      name: New-Api-User
      type: apiKey
    sessionAuth:
      description: Session cookie from /api/user/login. Used by dashboard routes as an alternative to access token.
      in: cookie
      name: session
      type: apiKey