Portamora Images API

The Images API from Portamora — 1 operation(s) for images.

GitHub OpenAPI

Operations 1

POST /api/v1/images Request an avatar or thumbnail upload policy (4 MiB; PNG/JPEG/WebP; 20… #

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/portamora-app:portamora-app-images-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

portamora-app-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Portamora Images API
  version: 1.0.0
  description: 'Catalog, publishing, community and safety API. Public catalog reads need no account. Private responses use no-store. Browser mutations require the configured Origin. Writes through CloudFront require x-amz-content-sha256: the lowercase SHA-256 hex digest of the exact request body, including an empty body. Clients do not need AWS credentials. The website sign-in page shows available authentication providers.'
servers:
- url: https://portamora.app
tags:
- name: Images
paths:
  /api/v1/images:
    post:
      operationId: post..images
      summary: Request an avatar or thumbnail upload policy (4 MiB; PNG/JPEG/WebP; 20…
      description: Request an avatar or thumbnail upload policy (4 MiB; PNG/JPEG/WebP; 20 images/account/day). Only processed images are promoted. Repeat the same Idempotency-Key for retries; keys are retained for 24 hours.
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: string
          minLength: 8
          maxLength: 128
          pattern: ^[A-Za-z0-9_-]+$
        required: true
        name: Idempotency-Key
        in: header
      - in: header
        name: x-amz-content-sha256
        required: true
        description: Lowercase SHA-256 hex of the exact body bytes, including the empty body. The example client adds this automatically; no AWS credentials are needed.
        schema:
          type: string
          pattern: ^[a-f0-9]{64}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                  - avatar
                  - thumbnail
                worldId:
                  type: string
                  minLength: 16
                  maxLength: 16
                  pattern: ^world_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
                  description: Case-sensitive world identifier with 10 safe-alphabet characters after the prefix.
                contentType:
                  type: string
                  enum:
                  - image/png
                  - image/jpeg
                  - image/webp
              required:
              - kind
              - contentType
              additionalProperties: false
      responses:
        '201':
          description: 'Successful private response; Cache-Control: no-store.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    minLength: 17
                    maxLength: 17
                    pattern: ^upload_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
                    description: Case-sensitive upload identifier with 10 safe-alphabet characters after the prefix.
                  worldId:
                    type:
                    - string
                    - 'null'
                    minLength: 16
                    maxLength: 16
                    pattern: ^world_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
                    description: Case-sensitive world identifier with 10 safe-alphabet characters after the prefix.
                  versionId:
                    type:
                    - string
                    - 'null'
                    minLength: 18
                    maxLength: 18
                    pattern: ^version_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
                    description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
                  kind:
                    type: string
                    enum:
                    - package
                    - avatar
                    - thumbnail
                  contentType:
                    type: string
                    enum:
                    - application/zip
                    - image/png
                    - image/jpeg
                    - image/webp
                  status:
                    type: string
                    enum:
                    - pending
                    - queued
                    - processing
                    - ready
                    - rejected
                    - failed
                  outputs:
                    type: object
                    properties:
                      thumbnailKey:
                        type: string
                      thumbnailLargeKey:
                        type: string
                      avatarKey:
                        type: string
                      avatarSmallKey:
                        type: string
                  error:
                    type:
                    - string
                    - 'null'
                  createdAt:
                    type: string
                    format: date-time
                  expiresAt:
                    type: string
                    format: date-time
                  maxBytes:
                    type: integer
                    minimum: 0
                  parts:
                    type: array
                    items:
                      type: object
                      properties:
                        partIndex:
                          type: integer
                          minimum: 0
                        bytes:
                          type: integer
                          minimum: 0
                        sha256:
                          type: string
                      required:
                      - partIndex
                      - bytes
                      - sha256
                  files:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        bytes:
                          type: integer
                          minimum: 0
                        sha256:
                          type: string
                      required:
                      - path
                      - bytes
                      - sha256
                  upload:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 17
                        maxLength: 17
                        pattern: ^upload_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
                        description: Case-sensitive upload identifier with 10 safe-alphabet characters after the prefix.
                      expiresAt:
                        type: string
                        format: date-time
                      url:
                        type: string
                        description: An absolute HTTPS storage URL, or a relative /api/v1/local-uploads/... path on the local site.
                      fields:
                        type: object
                        additionalProperties:
                          type: string
                    required:
                    - id
                    - expiresAt
                    - url
                    - fields
                required:
                - id
                - worldId
                - versionId
                - kind
                - contentType
                - status
                - outputs
                - error
                - createdAt
                - expiresAt
                - maxBytes
        '400':
          description: Invalid input or expired sign-in link.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '403':
          description: Missing scope, browser session, fresh sign-in, or matching Origin.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '404':
          description: Missing resource or resource owned by someone else.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '409':
          description: Conflicting handle, idempotency key, or version state.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '410':
          description: The upload window has expired. Allocate a new upload with a new key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '413':
          description: Request body or uploaded file exceeds its limit.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '429':
          description: Rate limit reached. Retry-After header and details.retryAt give the next allowed attempt.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '503':
          description: Temporarily unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
      tags:
      - Images
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: __Host-session
    bearer:
      type: http
      scheme: bearer
      description: A personal access token shown once in Settings. Scopes and ownership are checked per operation.