Repage API

Repage API as documented publicly: 5 operations. Contract generated from the documentation by API Evangelist (2026-11-23); not the provider's own document.

GitHub OpenAPI

Operations 5

POST /api/documents POST /api/documents #
GET /api/documents/{id} Fetch the current version's HTML source for a document you own. #
PUT /api/documents/{id} Publish new HTML as a new version of an existing document. #
POST /api/documents/{id}/revert Make an existing version the current one. #
GET /api/documents/{id}/versions List the version history of a document. #

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/repage-app:repage-app-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

repage-app-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Repage API
  version: '2026-11-23'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-23: 5 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Repage has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 4
    pages-with-code: 1
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-23'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://www.repage.app/docs/api
paths:
  /api/documents:
    post:
      operationId: post_api_documents
      tags:
      - Api
      summary: POST /api/documents
      x-source: https://www.repage.app/docs/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiDocumentsRequest'
      responses:
        '201':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiDocumentsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://www.repage.app/api/documents  -X POST  -H "Authorization: Bearer rpg_your_key"  -H "Content-Type: application/json"  -d
          ''{"html":"<h1>Hello</h1>","title":"My report"}'' Base URL https://www.repage.app Always use www.repage.app . Requests to the bare domain
          are 308-redirected and the Authorization header is stripped by the redirect. POST /api/documents Publish a new HTML document. Retur'
  /api/documents/{id}:
    get:
      operationId: get_api_documents_id
      tags:
      - Api
      summary: Fetch the current version's HTML source for a document you own.
      x-source: https://www.repage.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiDocumentsIdResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_documents_id
      tags:
      - Api
      summary: Publish new HTML as a new version of an existing document.
      x-source: https://www.repage.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiDocumentsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutApiDocumentsIdResponse'
      x-evidence:
        kind: documentation
  /api/documents/{id}/revert:
    post:
      operationId: post_api_documents_id_revert
      tags:
      - Api
      summary: Make an existing version the current one.
      x-source: https://www.repage.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiDocumentsIdRevertRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiDocumentsIdRevertResponse'
      x-evidence:
        kind: documentation
  /api/documents/{id}/versions:
    get:
      operationId: get_api_documents_id_versions
      tags:
      - Api
      summary: List the version history of a document.
      x-source: https://www.repage.app/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiDocumentsIdVersionsResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiDocumentsRequest:
      type: object
      properties:
        html:
          type: string
        title:
          type: string
    PostApiDocumentsResponse:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        slug:
          type: string
        versionNumber:
          type: integer
    GetApiDocumentsIdResponse:
      type: object
      properties:
        html:
          type: string
          description: HTML source of the current version.
        currentVersionId:
          type: string
          description: Identifier of the current version.
        visibility:
          type: string
          description: Visibility status (e.g., public).
    PutApiDocumentsIdRequest:
      type: object
      properties:
        html:
          type: string
          description: The new full HTML. Max 10 MB.
      required:
      - html
    PutApiDocumentsIdResponse:
      type: object
      properties:
        id:
          type: string
          description: Document identifier.
        versionNumber:
          type: integer
          description: New version number.
    PostApiDocumentsIdRevertRequest:
      type: object
      properties:
        versionId:
          type: string
          description: ID of the version to restore.
      required:
      - versionId
    PostApiDocumentsIdRevertResponse:
      type: object
      properties:
        id:
          type: string
          description: Document identifier.
        currentVersionId:
          type: string
          description: Identifier of the restored version.
    GetApiDocumentsIdVersionsResponse:
      type: object
      properties:
        currentVersionId:
          type: string
          description: Identifier of the current version.
        versions:
          type: array
          description: Array of version objects.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api