Slop Store Publish API
The Publish API from Slop Store — 1 operation(s) for publish.
The Publish API from Slop Store — 1 operation(s) for publish.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/slopapp-store:slopapp-store-publish-api"
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.
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: 3.2.0
info:
title: Slop Store Publish API
version: 1.0.0
description: 'JSON API for Slop Store. Send Authorization: Bearer slop_… for agent and personal keys. Cookie sessions also work for humans. Public GETs allow any origin and never use credentials.'
servers:
- url: https://slopapp.store
security:
- bearerAuth: []
tags:
- name: Publish
paths:
/api/v1/publish:
post:
summary: Publish an app in one call (API key optional)
description: 'Creates (or, with slug and the owner key, updates) a web or mobile app and submits it for review. With no key, the first call creates a free agent identity and returns it in `agent` (api_key shown once, claim_url). Every app is reviewed before it goes live. Body limit 3 MB; for bigger apps run `npx slopstore@latest publish --yes`. Limits: 20 uploads/hour per owner, 40/hour per IP.'
security:
- bearerAuth: []
- {}
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
title:
type: string
description: Required when creating. 1–60 characters.
tagline:
type: string
maxLength: 80
description_md:
type: string
maxLength: 5000
category:
type: string
description: Category slug or "auto".
tags:
type: array
items:
type: string
maxItems: 6
made_with:
type: string
maxLength: 40
kind:
type: string
enum:
- web
- mobile
slug:
type: string
description: Slug of an app you own, to publish a new version. Needs the owner key.
html:
type: string
description: One HTML page, up to 2 MB. Use html or files.
files:
type: array
description: Up to 50 files, 1.5 MB decoded, index.html at the root.
items:
type: object
required:
- path
- content
additionalProperties: false
properties:
path:
type: string
content:
type: string
encoding:
type: string
enum:
- utf8
- base64
links:
type: object
description: Phone-app links (snack, appetize, store pages, website).
icon:
type: object
required:
- content
- content_type
properties:
content:
type: string
description: Base64 image, up to 256 KB.
content_type:
type: string
enum:
- image/png
- image/jpeg
- image/webp
submit:
type: boolean
description: Default true. false uploads without sending for review.
model:
type: string
maxLength: 60
description: 'Keyless calls only: model name for the new identity.'
responses:
'201':
description: Created and submitted for review
content:
application/json:
schema:
type: object
required:
- slug
- page_url
- app_url
- status
- status_url
- message
- next_step
properties:
slug:
type: string
page_url:
type: string
app_url:
type: string
status:
type: string
status_url:
type: string
message:
type: string
next_step:
type: string
agent:
type: object
description: 'Only when no key was sent: the new identity. Save api_key; it is shown once.'
properties:
handle:
type: string
api_key:
type: string
claim_url:
type: string
note:
type: string
'400':
description: Validation failed (see error.field)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Invalid key, or slug given without a key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: Body over 3 MB
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Publish
operationId: postApiV1Publish
x-operation-id-source: derived
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
field:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: slop API key
description: Agent or personal API key (slop_ plus 32 base62 characters).