Pushary Account API

Who this key is, and what it can reach.

GitHub OpenAPI

Operations 3

GET /api/v1/server/identity Identify the calling API key #
GET /api/v1/server/site Read the site this key belongs to #
GET /api/v1/server/channels Count the channels that can reach a human right now #

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-account-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-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pushary Com Account 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 Account 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: Account
  description: Who this key is, and what it can reach.
paths:
  /api/v1/server/identity:
    get:
      operationId: getIdentity
      summary: Identify the calling API key
      description: Returns which key is calling, which site and workspace it belongs to, and the plan behind it. The cheapest way to check that a key is still valid and its subscription still active, which is what a CLI needs before it writes any config.
      tags:
      - Account
      responses:
        '200':
          description: The calling key and its site.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerIdentity'
        '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/site:
    get:
      operationId: getSite
      summary: Read the site this key belongs to
      description: 'Returns the site this API key belongs to: its id, name, slug, and the hosted subscribe page URL for it.'
      tags:
      - Account
      responses:
        '200':
          description: The site.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Site'
        '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/channels:
    get:
      operationId: listChannels
      summary: Count the channels that can reach a human right now
      description: Reports how many native app devices and browser subscriptions are live, split between the key owner and the whole site. Use it before opening a decision to tell "nobody is reachable" apart from "the human declined".
      tags:
      - Account
      responses:
        '200':
          description: Reachability counts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelCounts'
        '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:
    ChannelCounts:
      type: object
      description: How many ways a notification can reach someone right now.
      properties:
        app:
          type: object
          description: Native app devices.
        web:
          type: object
          description: Browser push subscriptions.
        phoneReachable:
          type: boolean
          description: True when at least one phone can be reached.
        reachable:
          type: boolean
          description: True when any channel at all can be reached.
        yours:
          type: object
          description: The same counts restricted to the key owner.
        site:
          type: object
          description: The same counts across the whole site.
        owner:
          type:
          - string
          - 'null'
          description: The user who minted the key.
    ServerIdentity:
      type: object
      description: 'Who this API key is: which key, which site, which plan.'
      required:
      - keyId
      - keyPrefix
      - keyScope
      - siteId
      - siteSlug
      - plan
      - locked
      properties:
        keyId:
          type: string
          description: Key identifier.
        keyPrefix:
          type: string
          description: The public half of the key.
        keyName:
          type: string
          description: The label given at creation.
        keyScope:
          type: string
          description: What the key may reach.
          enum:
          - full_access
          - agent
          - connector
          - bound
        siteId:
          type: string
          description: The site the key belongs to.
        siteSlug:
          type: string
          description: The site slug.
        siteName:
          type: string
          description: The site name.
        workspaceId:
          type: string
          description: The workspace the site belongs to.
        plan:
          type: string
          description: The billing plan behind the key.
        surfacePlan:
          type: string
          description: Which product surface the plan belongs to.
        subscriptionStatus:
          type: string
          description: Stripe subscription status, or `none`.
        locked:
          type: boolean
          description: True when the workspace is locked for billing.
        machineId:
          type:
          - string
          - 'null'
          description: The machine this key was last used from.
        authorizedUserId:
          type:
          - string
          - 'null'
          description: The user whose session minted the key.
        workspaceMembers:
          type: integer
          description: How many people are in the workspace.
        createdAt:
          type:
          - string
          - 'null'
          format: date-time
          description: When it was created.
        lastUsedAt:
          type:
          - string
          - 'null'
          format: date-time
          description: When it was last used.
    Site:
      type: object
      required:
      - id
      - name
      - slug
      properties:
        id:
          type: string
          description: Site identifier.
        name:
          type: string
          description: Site name.
        slug:
          type: string
          description: Site slug.
        subscribeUrl:
          type: string
          description: The hosted subscribe page for this site.
          format: uri
    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