Pushary Notifications API

Send a push notification.

GitHub OpenAPI

Operations 2

POST /api/v1/server/send Send a push notification #
GET /api/v1/server/notifications/{notificationId} Read one notification #

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/pushary-com:pushary-com-notifications-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

pushary-com-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pushary Com Notifications API
  version: 1.0.0
  contact:
    name: Pushary
    url: https://pushary.com/docs
    email: business@pushary.com
  termsOfService: https://pushary.com/terms
  description: 'Operations tagged Notifications across 2 of this provider''s published API definitions: pushary-com-openapi.json, pushary-com.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://pushary.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Notifications
  description: Send a push notification.
paths:
  /api/v1/server/send:
    post:
      operationId: sendNotification
      summary: Send a push notification
      description: 'Sends a push notification to the site’s subscribers. With no `subscriberIds`, `externalIds` or `tags` it goes to every active subscriber. Supply `idempotencyKey` (body) or the `Idempotency-Key` header to make a retry safe; a replay returns the original result with `duplicate: true`.'
      tags:
      - Notifications
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Stable across retries of one logical send. Must match `idempotencyKey` in the body if both are supplied.
        schema:
          type: string
          maxLength: 200
      requestBody:
        required: true
        description: The notification to send.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendNotification'
      responses:
        '200':
          description: The send was accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://pushary.com
      description: Production
  /api/v1/server/notifications/{notificationId}:
    get:
      operationId: getNotification
      summary: Read one notification
      description: Returns a single notification record by id, together with the delivery state the push service last reported for it.
      tags:
      - Notifications
      parameters:
      - name: notificationId
        in: path
        required: true
        description: The notification id.
        schema:
          type: string
      responses:
        '200':
          description: The notification.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://pushary.com
      description: Production
components:
  responses:
    RateLimited:
      description: Too many requests. `X-RateLimit-Remaining` and `X-RateLimit-Reset` are on every response.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: 'The key is valid but not allowed to do this: wrong scope, wrong plan, or a locked workspace.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: The request body or parameters were rejected.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such resource, or no such endpoint.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: The API key is missing, malformed or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    SendNotification:
      type: object
      description: A push notification to send now. With no audience field the notification goes to every active subscriber on the site.
      required:
      - title
      - body
      properties:
        title:
          type: string
          description: Notification title.
        body:
          type: string
          description: Notification body.
        iconUrl:
          type: string
          description: Icon image URL.
          format: uri
        imageUrl:
          type: string
          description: Hero image URL.
          format: uri
        url:
          type: string
          description: Where a click should land.
          format: uri
        subscriberIds:
          type: array
          items:
            type: string
          description: Send only to these Pushary subscriber ids.
        externalIds:
          type: array
          items:
            type: string
          description: Send only to subscribers carrying these external ids.
        tags:
          type: array
          items:
            type: string
          description: Send only to subscribers holding every one of these tags.
        data:
          type: object
          description: Arbitrary JSON delivered with the notification.
        metadata:
          type: object
          description: Arbitrary JSON recorded against the send.
        idempotencyKey:
          type: string
          description: Stable across retries of one logical send. Maximum 200 characters. May also be supplied as the Idempotency-Key header; supplying both with different values is a 400.
          maxLength: 200
    SendResult:
      type: object
      required:
      - success
      - sent
      - limits
      properties:
        success:
          type: boolean
          description: True when the send was accepted for delivery.
        campaignId:
          type: string
          description: The campaign row this send produced.
        status:
          type: string
          description: Delivery state at the moment of the response.
          enum:
          - queued
        queued:
          type: integer
          description: How many recipients were queued.
        duplicate:
          type: boolean
          description: True when an idempotency key replayed an earlier send.
        sent:
          type: integer
          description: Deprecated. This is the queued recipient count, not a device receipt. Read `queued`.
          deprecated: true
        limits:
          type: object
          required:
          - remaining
          - limit
          description: Plan quota after this send.
          properties:
            remaining:
              type: integer
              description: Notifications left in the current window.
            limit:
              type: integer
              description: Notifications allowed in the window.
    Error:
      type: object
      description: JSON error response. Shared authentication and validation errors include code and diagnostics; some endpoint errors return only error. Branch on HTTP status and code when present, not message text.
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable summary.
        code:
          type: string
          description: Machine-readable classification, when available. Common values include unauthorized, forbidden, invalid_request, not_found, method_not_allowed and rate_limited.
        status:
          type: integer
          description: The HTTP status code, repeated in the body for transports that hide it.
        message:
          type: string
          description: What went wrong, in one sentence.
        hint:
          type: string
          description: What to do about it.
        documentation:
          type: string
          description: URL of the documentation page for this rule.
          format: uri
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'A Pushary API key, sent as `Authorization: Bearer pk_xxx.xxx`. Create one with `npx -y pushary@latest setup` or in Dashboard > Agent > Settings. The MCP endpoint additionally accepts OAuth 2.0; see /.well-known/oauth-protected-resource.'
externalDocs:
  description: Pushary documentation
  url: https://pushary.com/docs
x-refined-from:
- pushary-com-openapi.json
- pushary-com.json