Portamora Mod API

The Mod API from Portamora — 4 operation(s) for mod.

GitHub OpenAPI

Operations 4

GET /api/v1/mod/reports Moderator/admin only, safety flag required #
GET /api/v1/mod/reports/{reportId} Moderator/admin only #
POST /api/v1/mod/reports/{reportId}/actions Moderator/admin with read and social:write #
GET /api/v1/mod/reports/{reportId}/assets/{index} Moderator/admin only #

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-mod-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-mod-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Portamora Mod 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: Mod
paths:
  /api/v1/mod/reports:
    get:
      operationId: moderation.queue
      summary: Moderator/admin only, safety flag required
      description: Moderator/admin only, safety flag required. Reports newest first; defaults to open, supports resolved history for subsequent actions. Includes age counts and 30-day resolution measure.
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: integer
          minimum: 1
          maximum: 60
          default: 24
        required: false
        name: limit
        in: query
      - schema:
          type: string
          maxLength: 1024
        required: false
        name: cursor
        in: query
      - schema:
          type: string
          enum:
          - open
          - resolved
          default: open
        required: false
        name: status
        in: query
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
        '400':
          description: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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:
      - Mod
  /api/v1/mod/reports/{reportId}:
    get:
      operationId: moderation.report
      summary: Moderator/admin only
      description: Moderator/admin only. Read original evidence and the most recent 50 actions.
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: string
          minLength: 17
          maxLength: 17
          pattern: ^report_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
          description: Case-sensitive report identifier with 10 safe-alphabet characters after the prefix.
        required: true
        description: Case-sensitive report identifier with 10 safe-alphabet characters after the prefix.
        name: reportId
        in: path
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
        '400':
          description: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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:
      - Mod
  /api/v1/mod/reports/{reportId}/actions:
    post:
      operationId: moderation.act
      summary: Moderator/admin with read and social:write
      description: Moderator/admin with read and social:write. Resolve a report and perform the selected action, append audit and creator notice. Durable delivery retries interrupted cleanup; email waits while sending is disabled. Reuse Idempotency-Key with the same body on retries.
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: string
          minLength: 17
          maxLength: 17
          pattern: ^report_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
          description: Case-sensitive report identifier with 10 safe-alphabet characters after the prefix.
        required: true
        description: Case-sensitive report identifier with 10 safe-alphabet characters after the prefix.
        name: reportId
        in: path
      - 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:
                action:
                  type: string
                  enum:
                  - take_offline
                  - restore
                  - remove_comment
                  - remove_image
                  - warn
                  - suspend
                  - unsuspend
                  - clear_anomaly
                  - dismiss
                reason:
                  type: string
                  minLength: 3
                  maxLength: 2000
              required:
              - action
              - reason
              additionalProperties: false
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
        '400':
          description: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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: Invalid input, missing authority, conflicting state, rate limit, or disabled feature.
          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:
      - Mod
  /api/v1/mod/reports/{reportId}/assets/{index}:
    get:
      operationId: moderation.evidence
      summary: Moderator/admin only
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: string
          minLength: 17
          maxLength: 17
          pattern: ^report_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
          description: Case-sensitive report identifier with 10 safe-alphabet characters after the prefix.
        required: true
        description: Case-sensitive report identifier with 10 safe-alphabet characters after the prefix.
        name: reportId
        in: path
      - schema:
          type:
          - integer
          - 'null'
          minimum: 0
          maximum: 3
        required: false
        name: index
        in: path
      responses:
        '200':
          description: WebP image, no-store.
          content:
            image/webp:
              schema:
                type: string
                format: binary
        '403':
          description: Staff authority required.
        '404':
          description: Evidence unavailable.
      description: Moderator/admin only. Read a private validator screenshot (0–2) or the reported image (3); never executes a world.
      tags:
      - Mod
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.