Pushary Subscribers API

The people a site can notify.

GitHub OpenAPI

Operations 5

GET /api/v1/server/subscribers List subscribers #
GET /api/v1/server/subscribers/count Count subscribers #
GET /api/v1/server/subscribers/{subscriberId} Read one subscriber #
PATCH /api/v1/server/subscribers/{subscriberId} Update a subscriber #
DELETE /api/v1/server/subscribers/{subscriberId} Delete a subscriber #

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-subscribers-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-subscribers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pushary Com Subscribers 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 Subscribers 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: Subscribers
  description: The people a site can notify.
paths:
  /api/v1/server/subscribers:
    get:
      operationId: listSubscribers
      summary: List subscribers
      description: Returns a cursor-paginated page of the site’s subscribers, newest first.
      tags:
      - Subscribers
      parameters:
      - name: limit
        in: query
        required: false
        description: Page size. Defaults to the server page size.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: cursor
        in: query
        required: false
        description: Opaque cursor from the previous page’s `nextCursor`.
        schema:
          type: string
      - name: status
        in: query
        required: false
        description: Only subscribers in this state.
        schema:
          type: string
          enum:
          - active
          - unsubscribed
          - expired
          - bounced
      - name: tags
        in: query
        required: false
        description: Comma-separated tags. Only subscribers holding every one.
        schema:
          type: string
      - name: externalId
        in: query
        required: false
        description: Only subscribers carrying this external id.
        schema:
          type: string
      responses:
        '200':
          description: A page of subscribers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedSubscribers'
        '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/subscribers/count:
    get:
      operationId: countSubscribers
      summary: Count subscribers
      description: Returns total, active and unsubscribed counts for the site in one call.
      tags:
      - Subscribers
      responses:
        '200':
          description: Subscriber counts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriberCount'
        '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/subscribers/{subscriberId}:
    get:
      operationId: getSubscriber
      summary: Read one subscriber
      description: Returns a single subscriber by its Pushary id, with its delivery status, device metadata and tags.
      tags:
      - Subscribers
      parameters:
      - name: subscriberId
        in: path
        required: true
        description: The Pushary subscriber id.
        schema:
          type: string
      responses:
        '200':
          description: The subscriber.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscriber'
        '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'
    patch:
      operationId: updateSubscriber
      summary: Update a subscriber
      description: Changes the tags, external id or custom data held against a subscriber.
      tags:
      - Subscribers
      parameters:
      - name: subscriberId
        in: path
        required: true
        description: The Pushary subscriber id.
        schema:
          type: string
      requestBody:
        required: true
        description: Fields to change.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSubscriber'
      responses:
        '200':
          description: The updated subscriber.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscriber'
        '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'
    delete:
      operationId: deleteSubscriber
      summary: Delete a subscriber
      description: Permanently removes a subscriber and its push subscription.
      tags:
      - Subscribers
      parameters:
      - name: subscriberId
        in: path
        required: true
        description: The Pushary subscriber id.
        schema:
          type: string
      responses:
        '204':
          description: Deleted.
        '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:
    Subscriber:
      type: object
      description: One browser push subscription belonging to a site.
      required:
      - id
      - siteId
      - endpoint
      - status
      - createdAt
      properties:
        id:
          type: string
          description: Pushary identifier for this subscriber.
        siteId:
          type: string
          description: The site this subscriber belongs to.
        endpoint:
          type: string
          description: The push service endpoint the browser issued.
        status:
          type: string
          description: Delivery state of the subscription.
          enum:
          - active
          - unsubscribed
          - expired
          - bounced
        browser:
          type: string
          description: Browser name, derived from the user agent at subscribe time.
        os:
          type: string
          description: Operating system, derived from the user agent at subscribe time.
        deviceType:
          type: string
          description: Device class.
          enum:
          - mobile
          - tablet
          - desktop
        country:
          type: string
          description: ISO 3166-1 alpha-2 country, derived from the subscribe request.
        city:
          type: string
          description: City, derived from the subscribe request.
        timezone:
          type: string
          description: IANA timezone reported by the browser.
        language:
          type: string
          description: BCP 47 language reported by the browser.
        tags:
          type: array
          items:
            type: string
          description: Segmentation tags.
        externalId:
          type: string
          description: Your own identifier for this person, if you set one.
        createdAt:
          type: string
          description: When the subscription was created.
          format: date-time
        lastActiveAt:
          type: string
          description: When this subscriber was last seen.
          format: date-time
    PaginatedSubscribers:
      type: object
      required:
      - data
      - hasMore
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Subscriber'
          description: This page of subscribers.
        nextCursor:
          type: string
          description: Pass as `cursor` to fetch the next page.
        hasMore:
          type: boolean
          description: True when another page exists.
    UpdateSubscriber:
      type: object
      description: Fields that may be changed on an existing subscriber.
      properties:
        tags:
          type: array
          items:
            type: string
          description: Replaces the tag set.
        externalId:
          type: string
          description: Your own identifier for this person.
        customData:
          type: object
          description: Arbitrary JSON stored against the subscriber.
    SubscriberCount:
      type: object
      required:
      - total
      - active
      - unsubscribed
      properties:
        total:
          type: integer
          description: Every subscriber row on the site.
        active:
          type: integer
          description: Subscribers that can currently receive a notification.
        unsubscribed:
          type: integer
          description: Subscribers that opted out.
    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