Pushary Flows API

Event-triggered notification automations.

GitHub OpenAPI

Operations 7

GET /api/v1/server/flows List automation flows #
POST /api/v1/server/flows Create an automation flow #
GET /api/v1/server/flows/{flowId} Read one flow #
PATCH /api/v1/server/flows/{flowId} Update a flow #
DELETE /api/v1/server/flows/{flowId} Delete a flow #
POST /api/v1/server/flows/{flowId}/activate Activate a flow #
POST /api/v1/server/flows/{flowId}/pause Pause a flow #

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-flows-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-flows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pushary Com Flows 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 Flows 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: Flows
  description: Event-triggered notification automations.
paths:
  /api/v1/server/flows:
    get:
      operationId: listFlows
      summary: List automation flows
      description: Returns a cursor-paginated page of the site’s flows.
      tags:
      - Flows
      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 flows in this state.
        schema:
          type: string
          enum:
          - draft
          - active
          - paused
          - archived
      responses:
        '200':
          description: A page of flows.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedFlows'
        '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: createFlow
      summary: Create an automation flow
      description: Creates a flow in `draft`. Call activateFlow to start it running.
      tags:
      - Flows
      requestBody:
        required: true
        description: The flow to create.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFlow'
      responses:
        '201':
          description: The created flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '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/flows/{flowId}:
    get:
      operationId: getFlow
      summary: Read one flow
      description: Returns a single flow by id, including its trigger, status, execution count and its steps in order.
      tags:
      - Flows
      parameters:
      - name: flowId
        in: path
        required: true
        description: The flow id.
        schema:
          type: string
      responses:
        '200':
          description: The flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '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: updateFlow
      summary: Update a flow
      description: Changes a flow. Supplying `steps` replaces the whole step list.
      tags:
      - Flows
      parameters:
      - name: flowId
        in: path
        required: true
        description: The flow id.
        schema:
          type: string
      requestBody:
        required: true
        description: Fields to change.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFlow'
      responses:
        '200':
          description: The updated flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '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: deleteFlow
      summary: Delete a flow
      description: Permanently removes a flow and its steps.
      tags:
      - Flows
      parameters:
      - name: flowId
        in: path
        required: true
        description: The flow 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
  /api/v1/server/flows/{flowId}/activate:
    post:
      operationId: activateFlow
      summary: Activate a flow
      description: Moves a flow to `active` so its trigger starts firing.
      tags:
      - Flows
      parameters:
      - name: flowId
        in: path
        required: true
        description: The flow id.
        schema:
          type: string
      responses:
        '200':
          description: The activated flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '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/flows/{flowId}/pause:
    post:
      operationId: pauseFlow
      summary: Pause a flow
      description: Moves a flow to `paused`. Runs already in flight finish.
      tags:
      - Flows
      parameters:
      - name: flowId
        in: path
        required: true
        description: The flow id.
        schema:
          type: string
      responses:
        '200':
          description: The paused flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '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:
    PaginatedFlows:
      type: object
      required:
      - data
      - hasMore
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Flow'
          description: This page of flows.
        nextCursor:
          type: string
          description: Pass as `cursor` to fetch the next page.
        hasMore:
          type: boolean
          description: True when another page exists.
    UpdateFlow:
      type: object
      description: Every field optional. Only what is present is changed.
      properties:
        name:
          type: string
          description: Internal name.
        description:
          type: string
          description: What the flow is for.
        triggerType:
          type: string
          description: The event that starts the flow.
          enum:
          - notification_click
          - notification_impression
          - notification_dismiss
          - subscription
          - unsubscription
        triggerCampaignId:
          type: string
          description: Restrict the trigger to one campaign.
        status:
          type: string
          description: Lifecycle state.
          enum:
          - draft
          - active
          - paused
          - archived
        steps:
          type: array
          items:
            $ref: '#/components/schemas/FlowStepInput'
          description: Replaces the step list.
    FlowStepConfig:
      type: object
      description: Configuration for one step. Which key is read depends on the step type.
      properties:
        notification:
          type: object
          required:
          - title
          - body
          description: Read by a send_notification step.
          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
            actionUrl:
              type: string
              description: Where a click should land.
              format: uri
        delay:
          type: object
          required:
          - value
          - unit
          description: Read by a delay step.
          properties:
            value:
              type: integer
              description: How long to wait.
            unit:
              type: string
              description: Unit of the wait.
              enum:
              - seconds
              - minutes
              - hours
              - days
    Flow:
      type: object
      required:
      - id
      - siteId
      - name
      - triggerType
      - status
      - executionCount
      - createdAt
      - updatedAt
      properties:
        id:
          type: string
          description: Flow identifier.
        siteId:
          type: string
          description: The site this flow belongs to.
        name:
          type: string
          description: Internal name.
        description:
          type: string
          description: What the flow is for.
        triggerType:
          type: string
          description: The event that starts the flow.
          enum:
          - notification_click
          - notification_impression
          - notification_dismiss
          - subscription
          - unsubscription
        triggerCampaignId:
          type: string
          description: Restrict the trigger to one campaign.
        status:
          type: string
          description: Lifecycle state.
          enum:
          - draft
          - active
          - paused
          - archived
        executionCount:
          type: integer
          description: How many times the flow has run.
        createdBy:
          type: string
          description: The user who created the flow.
        createdAt:
          type: string
          description: When the flow was created.
          format: date-time
        updatedAt:
          type: string
          description: When the flow was last changed.
          format: date-time
        steps:
          type: array
          items:
            $ref: '#/components/schemas/FlowStep'
          description: Steps in order.
    CreateFlow:
      type: object
      required:
      - name
      - triggerType
      properties:
        name:
          type: string
          description: Internal name.
        description:
          type: string
          description: What the flow is for.
        triggerType:
          type: string
          description: The event that starts the flow.
          enum:
          - notification_click
          - notification_impression
          - notification_dismiss
          - subscription
          - unsubscription
        triggerCampaignId:
          type: string
          description: Restrict the trigger to one campaign.
        steps:
          type: array
          items:
            $ref: '#/components/schemas/FlowStepInput'
          description: Steps in order.
    FlowStepInput:
      type: object
      required:
      - stepType
      - config
      properties:
        stepType:
          type: string
          description: What the step does.
          enum:
          - send_notification
          - delay
          - exit
        config:
          $ref: '#/components/schemas/FlowStepConfig'
    FlowStep:
      type: object
      required:
      - id
      - flowId
      - stepOrder
      - stepType
      - config
      - createdAt
      - updatedAt
      properties:
        id:
          type: string
          description: Step identifier.
        flowId:
          type: string
          description: The flow this step belongs to.
        stepOrder:
          type: integer
          description: Position in the flow, ascending.
        stepType:
          type: string
          description: What the step does.
          enum:
          - send_notification
          - delay
          - exit
        config:
          $ref: '#/components/schemas/FlowStepConfig'
        createdAt:
          type: string
          description: When the step was created.
          format: date-time
        updatedAt:
          type: string
          description: When the step was last changed.
          format: date-time
    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
  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