PopNow AI Recipes API

Your saved recipes and workflows from popnow.ai (and the ones your team shares with you), runnable with one call; and your Poppie skills, readable as instructions. Runs require explicit USD approval and use the independent API wallet. Each step enforces the API key model and spend limits.

GitHub OpenAPI

Operations 7

GET /api/v1/recipes List your saved recipes and workflows #
GET /api/v1/recipes/{id} Get one recipe or workflow with its current price #
POST /api/v1/recipes/{id}/run Run a saved recipe or workflow #
GET /api/v1/recipes/runs/{runId} Check a recipe or workflow run #
POST /api/v1/recipes/runs/{runId}/resume Quote or resume a paused USD run #
GET /api/v1/skills List your Poppie skills #
GET /api/v1/skills/{id} Read one skill's instructions #

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/popnow-ai:popnow-ai-recipes-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

popnow-ai-recipes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Popnow Ai Recipes API
  version: 1.0.0
  description: 'Operations tagged Recipes across 2 of this provider''s published API definitions: openapi.yaml, popnow-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.popnow.ai
  description: Production
security:
- bearerAuth: []
tags:
- name: Recipes
  description: Your saved recipes and workflows from popnow.ai (and the ones your team shares with you), runnable with one call; and your Poppie skills, readable as instructions. Runs require explicit USD approval and use the independent API wallet. Each step enforces the API key model and spend limits.
paths:
  /api/v1/recipes:
    get:
      tags:
      - Recipes
      operationId: listRecipes
      summary: List your saved recipes and workflows
      description: 'Your own recipes and workflows first, then the ones shared with a team you belong to (`mine: false`, with `teamId`).

        Each item lists the inputs a run takes, in order. Prompts are never listed; the server assembles them at run time.

        Items carry `currency: USD`; read one item for `estimated_usd` when a price is available. Obtain an executable quote from POST /run.'
      parameters:
      - name: kind
        in: query
        required: false
        schema:
          type: string
          enum:
          - recipe
          - workflow
      responses:
        '200':
          description: Your recipes and workflows.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    type: object
                    required:
                    - items
                    properties:
                      items:
                        type: array
                        items:
                          $ref: '#/components/schemas/SavedRecipe'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
  /api/v1/recipes/{id}:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Recipes
      operationId: getRecipe
      summary: Get one recipe or workflow with its current price
      description: '`currency` is USD. Optional `estimated_usd` is a decimal string for the current price with saved material; omitted when unavailable. Obtain `quote_id` from POST /run before confirming execution.

        `prompt` is returned only for your own recipes. A recipe you can''t reach returns 404.'
      responses:
        '200':
          description: The recipe or workflow.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    $ref: '#/components/schemas/SavedRecipe'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
  /api/v1/recipes/{id}/run:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Recipes
      operationId: runRecipe
      summary: Run a saved recipe or workflow
      description: 'Compiles the recipe on the server with your inputs and starts a run (one task per piece; a workflow runs its steps in order,

        each step using the earlier steps'' results). Inputs you leave out use the material saved with the recipe.

        Media inputs take `popnow://g//` (a result), `popnow://f/` (an upload), `popnow://a/` (an API asset) or an

        https URL, or a list of them; the `prompt` input of a recipe (and text inputs of a workflow) take plain text.

        First send inputs/count without approval fields to obtain a quote; this does not create a run or hold funds.

        Confirm the same inputs/count with `currency: USD`, `max_usd` and `quote_id`, plus Idempotency-Key.

        Missing approval, a changed quote or a price above max_usd returns 200 with `needs_confirmation: true` and a fresh quote,

        without starting a run. Never automatically approve the new quote. Replaying an accepted Idempotency-Key returns the same run.

        The total budget is at most $10,000, with a $1,000 per-step limit. Old maxCredits/max_credits are rejected, including zero.

        Keys with model or spend limits are supported and checked on each step. Unpriced dependent steps cannot execute;

        after their required outputs become available, the run pauses for a new explicit approval via resume.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Required when confirming execution; omitted for quote-only requests.
        schema:
          type: string
          minLength: 1
          maxLength: 100
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                inputs:
                  type: object
                  description: Input id → a reference, a list of references, or text.
                  additionalProperties:
                    oneOf:
                    - type: string
                    - type: array
                      maxItems: 10
                      items:
                        type: string
                count:
                  type: integer
                  minimum: 1
                  maximum: 4
                  description: How many pieces a recipe makes (workflows always run once).
                currency:
                  type: string
                  const: USD
                max_usd:
                  type: string
                  pattern: ^[0-9]+(\.[0-9]{1,9})?$
                  description: Approved total USD budget, at most 10000. No exponent notation or numeric JSON values.
                quote_id:
                  type: string
                  description: Quote fingerprint returned by the quote-only request.
      responses:
        '200':
          description: A quote requiring confirmation, or the accepted run.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    $ref: '#/components/schemas/SavedUSDRun'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
  /api/v1/recipes/runs/{runId}:
    parameters:
    - name: runId
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Recipes
      operationId: getRecipeRun
      summary: Check a recipe or workflow run
      description: 'Only USD runs started by the current API key can be read; other keys and legacy credit runs are not accessible.

        The run''s state and each step''s task. `uri` is the first result of a finished step; get download links and full details

        from `GET /api/v1/jobs/recordInfo?taskId=`.'
      responses:
        '200':
          description: The run.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    $ref: '#/components/schemas/SavedUSDRun'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
  /api/v1/recipes/runs/{runId}/resume:
    parameters:
    - name: runId
      in: path
      required: true
      schema:
        type: string
    post:
      tags:
      - Recipes
      operationId: resumeRecipeRun
      summary: Quote or resume a paused USD run
      description: 'Only the original API key may resume a paused USD run. Send {} to get a new quote, then confirm currency/max_usd/quote_id.

        max_usd is the total approved budget including already spent and in-flight commitments, not an additional allowance.

        Original inputs, API key, payer and source country are preserved. Changed key IP policy requires a new run.

        Missing or stale approval returns needs_confirmation=true without resuming. No Idempotency-Key is required;

        a repeated call after successful resume returns conflict rather than restarting tasks.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                currency:
                  type: string
                  const: USD
                max_usd:
                  type: string
                  pattern: ^[0-9]+(\.[0-9]{1,9})?$
                  description: Total approved USD budget, including spent and committed amounts; at most 10000.
                quote_id:
                  type: string
      responses:
        '200':
          description: A fresh quote or the resumed run.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    $ref: '#/components/schemas/SavedUSDRun'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
  /api/v1/skills:
    get:
      tags:
      - Recipes
      operationId: listSkills
      summary: List your Poppie skills
      description: Your own skills and the ones shared with a team you belong to. Read one to get its instructions.
      responses:
        '200':
          description: Your skills.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    type: object
                    required:
                    - items
                    properties:
                      items:
                        type: array
                        items:
                          $ref: '#/components/schemas/SavedSkill'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
  /api/v1/skills/{id}:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Recipes
      operationId: getSkill
      summary: Read one skill's instructions
      description: '`body` is the skill''s instructions (SKILL.md), returned for your own skills and for team skills shared as viewable. Skills shared as use-only have no `body`.'
      responses:
        '200':
          description: The skill.
          content:
            application/json:
              schema:
                type: object
                required:
                - code
                - msg
                - data
                properties:
                  code:
                    type: integer
                    const: 200
                  msg:
                    type: string
                  data:
                    $ref: '#/components/schemas/SavedSkill'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
    servers:
    - url: https://api.popnow.ai
      description: Production
components:
  responses:
    RateLimited:
      description: Account-level request limit exceeded.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Forbidden:
      description: Account, model, API-key, IP, or region authorization failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Missing, malformed, expired, revoked, or otherwise invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    BadRequest:
      description: Invalid JSON, query, callback URL, model input, or media declaration. Invalid callBackUrl values return code 400 and msg "Invalid callback URL" with request_id. Submitted hosts, IP addresses, and DNS diagnostics are not echoed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    PaymentRequired:
      description: Insufficient balance (`40201`) or a spend cap was reached (`40202`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Conflict:
      description: Idempotency or media-transfer state conflicts with this request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    ServerError:
      description: Internal failure. Details are not exposed; report `request_id` to support.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: Resource does not exist or is not visible to this account and API key. These cases are intentionally indistinguishable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  schemas:
    EnvelopeBase:
      type: object
      required:
      - code
      - msg
      - request_id
      properties:
        code:
          type: integer
        msg:
          type: string
        request_id:
          type: string
          description: Correlation identifier. Include it in support requests.
    SavedUSDRun:
      type: object
      required:
      - currency
      - cost_usd
      - available_usd
      - spent_usd
      - needs_confirmation
      properties:
        currency:
          type: string
          const: USD
        cost_usd:
          type: string
          pattern: ^[0-9]+(\.[0-9]{1,9})?$
          description: Quoted steps total, incomplete when unpriced_steps is present. Resume quotes include committed amounts plus remaining steps. Status reads report current step estimates.
        available_usd:
          type: string
          pattern: ^-?[0-9]+(\.[0-9]{1,9})?$
          description: Independent API wallet available balance.
        spent_usd:
          type: string
          pattern: ^-?[0-9]+(\.[0-9]{1,9})?$
          description: Net actual charge from the original API payer ledger on status reads; zero in quote/start responses.
        max_usd:
          type: string
          pattern: ^[0-9]+(\.[0-9]{1,9})?$
          description: Approved total budget, when present.
        quote_id:
          type: string
          description: Fingerprint binding steps, inputs, prices and original identity.
        needs_confirmation:
          type: boolean
        unpriced_steps:
          type: array
          items:
            type: string
          description: Step IDs not yet priceable because required dependency outputs are missing. These steps cannot run; zero is not a free price.
        run_id:
          type: string
        state:
          type: string
          enum:
          - draft
          - running
          - paused
          - done
          - stopped
          - failed
        pause_reason:
          type: string
        items:
          type: array
          items:
            type: object
            required:
            - stepId
            - state
            properties:
              stepId:
                type: string
              state:
                type: string
              jobId:
                type: string
              uri:
                type: string
    SavedSkill:
      type: object
      required:
      - id
      - name
      - description
      - mine
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        mine:
          type: boolean
        shareMode:
          type: string
          enum:
          - use
          - view
        body:
          type: string
    SavedRecipe:
      type: object
      required:
      - id
      - kind
      - name
      - mine
      - media
      - inputs
      - steps
      - currency
      - updatedAt
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
          - recipe
          - workflow
        name:
          type: string
        mine:
          type: boolean
        teamId:
          type: string
          description: The team that shared it (only on items that aren't yours).
        media:
          type: string
          enum:
          - image
          - video
          - audio
        inputs:
          type: array
          items:
            type: object
            required:
            - id
            - media
            - multiple
            - required
            properties:
              id:
                type: string
              label:
                type: string
              media:
                type: string
                enum:
                - image
                - video
                - audio
                - text
              multiple:
                type: boolean
              required:
                type: boolean
                description: No material was saved for it, so a run must give one.
        steps:
          type: integer
        currency:
          type: string
          const: USD
        estimated_usd:
          type: string
          pattern: ^[0-9]+(\.[0-9]{1,9})?$
          description: Optional exact USD estimate; omitted when unavailable. Not an execution approval.
        prompt:
          type: string
          description: Only for your own recipes.
        updatedAt:
          type: string
          format: date-time
    ErrorEnvelope:
      allOf:
      - $ref: '#/components/schemas/EnvelopeBase'
      - type: object
        properties:
          code:
            type: integer
            enum:
            - 400
            - 40003
            - 40004
            - 401
            - 40201
            - 40202
            - 403
            - 40301
            - 40302
            - 40303
            - 40310
            - 404
            - 409
            - 40901
            - 413
            - 429
            - 500
            - 503
            - 50301
            - 50302
            description: 'Business code. `40003`: an uploaded file''s actual size, media type or signature does not match its upload ticket (file commit). `40004`: the request is valid but no deployment can serve this exact parameter combination; change the named parameter and retry. `503`: a dependency is temporarily unavailable (for example a list or usage query timed out, or inline image storage failed); honour `Retry-After` when present. `50301`: the model has no usable deployment or effective price right now. `50302`: a synchronous generation (streaming) failed upstream and the charge was refunded. Retry with a **new** `Idempotency-Key` — the original key replays the same failure, so a transport-level retry that keeps the key can never succeed. `40301`: this key is not allowed to call this model — check the key''s model restrictions in the Console. `40302`: the caller''s address is not in this key''s IP allow-list. `40303`: the request comes from a region this service is not offered in; the message deliberately does not state how that is determined, and neither does this description. `40310`: the account has not verified its email address yet, so it cannot run models. Open the verification link that was emailed at sign-up, or send a new one from the Console; the key starts working as soon as the address is verified, with no change on your side.'
          msg:
            type: string
            description: Human-readable explanation, English unless `Accept-Language` or the account's API error language selects another supported language. Never parse it; branch on `code`.
          data:
            type: object
            description: 'Present only when the failure carries a machine-readable reason; otherwise absent. `code`, the HTTP status and `msg` are the same with or without it. `asset_library_locked` (400): the asset library opens after the first top-up. `asset_library_full` (400): the allowance is full. `asset_file_too_large` (400): the file is above the plan''s per-file limit. `asset_daily_limit` (429): the daily number of new assets is reached; honour `Retry-After`. `asset_storage_full` (503): storage is full across the platform. `asset_permission_denied` (403): the caller''s team role does not allow this change. `asset_workspace_forbidden` (403): this key or workspace cannot reach that library. `adult_content`, `minor_safety` and `image_rejected` (400): the content safety gate declined the prompt or an input image before anything was charged. New values may be added; treat unknown values like an absent reason.'
            required:
            - reason
            properties:
              reason:
                type: string
                enum:
                - asset_library_locked
                - asset_library_full
                - asset_file_too_large
                - asset_daily_limit
                - asset_storage_full
                - asset_permission_denied
                - asset_workspace_forbidden
                - asset_entity_name_taken
                - unknown_model
                - unknown_task
                - insufficient_credits
                - adult_content
                - minor_safety
                - image_rejected
                - signup_paused
                - agent_quota
                - agent_rate
                - agent_turns
                - agent_skill_invalid
                - agent_skill_turns
                - price_changed
                - agent_project_budget
                - web_fetch
                - team_role_cannot_spend
                - team_allowance_reached
                - team_wallet_empty
                - team_limit_reached
                - skill_quota
                - skill_rate_needs_install
                - handoff_invalid
                - age_restricted
                - apple_reauth_required
                - pending
                - other_account
                - revoked
                - invalid
                - budget_exceeded
                - mfa_required
                - model_unavailable
                - model_retired
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
    RateLimitRemaining:
      description: Remaining requests in the active window.
      schema:
        type: integer
    RateLimitLimit:
      description: Capacity of the active account-level rate-limit window.
      schema:
        type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk-popnow-<48 lowercase hex characters>
      description: 'Send `Authorization: Bearer sk-popnow-...`. Create keys in the developer console at https://popnow.ai/api/console and keep them server-side.'
x-refined-from:
- openapi.yaml
- popnow-ai-openapi.yml