Pushary Templates API

Reusable notification content.

GitHub OpenAPI

Operations 5

GET /api/v1/server/templates List templates #
POST /api/v1/server/templates Create a template #
GET /api/v1/server/templates/{templateId} Read one template #
PATCH /api/v1/server/templates/{templateId} Update a template #
DELETE /api/v1/server/templates/{templateId} Delete a template #

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-templates-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-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pushary Com Templates 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 Templates 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: Templates
  description: Reusable notification content.
paths:
  /api/v1/server/templates:
    get:
      operationId: listTemplates
      summary: List templates
      description: Returns a cursor-paginated page of the site’s notification templates.
      tags:
      - Templates
      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
      responses:
        '200':
          description: A page of templates.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTemplates'
        '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'
    post:
      operationId: createTemplate
      summary: Create a template
      description: Creates a reusable notification template.
      tags:
      - Templates
      requestBody:
        required: true
        description: The template to create.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTemplate'
      responses:
        '201':
          description: The created template.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Template'
        '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/templates/{templateId}:
    get:
      operationId: getTemplate
      summary: Read one template
      description: Returns a single template by id, with its title, body and image URLs.
      tags:
      - Templates
      parameters:
      - name: templateId
        in: path
        required: true
        description: The template id.
        schema:
          type: string
      responses:
        '200':
          description: The template.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Template'
        '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: updateTemplate
      summary: Update a template
      description: Changes the content of a template. Campaigns already created from it are unaffected.
      tags:
      - Templates
      parameters:
      - name: templateId
        in: path
        required: true
        description: The template id.
        schema:
          type: string
      requestBody:
        required: true
        description: Fields to change.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTemplate'
      responses:
        '200':
          description: The updated template.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Template'
        '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: deleteTemplate
      summary: Delete a template
      description: Permanently removes a template.
      tags:
      - Templates
      parameters:
      - name: templateId
        in: path
        required: true
        description: The template 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:
  schemas:
    UpdateTemplate:
      type: object
      description: Every field optional. Only what is present is changed.
      properties:
        name:
          type: string
          description: Internal name.
        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
        actionUrl:
          type: string
          description: Where a click should land.
          format: uri
    CreateTemplate:
      type: object
      required:
      - name
      - title
      - body
      properties:
        name:
          type: string
          description: Internal name.
        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
        actionUrl:
          type: string
          description: Where a click should land.
          format: uri
    PaginatedTemplates:
      type: object
      required:
      - data
      - hasMore
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Template'
          description: This page of templates.
        nextCursor:
          type: string
          description: Pass as `cursor` to fetch the next page.
        hasMore:
          type: boolean
          description: True when another page exists.
    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
    Template:
      type: object
      required:
      - id
      - siteId
      - name
      - title
      - body
      - createdAt
      properties:
        id:
          type: string
          description: Template identifier.
        siteId:
          type: string
          description: The site this template belongs to.
        name:
          type: string
          description: Internal name.
        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
        actionUrl:
          type: string
          description: Where a click should land.
          format: uri
        createdAt:
          type: string
          description: When the template was created.
          format: date-time
  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'
  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