Replit Deployments API

The Deployments API from Replit — 2 operation(s) for deployments.

Operations 4

GET /repls/{replId}/deployments List Repl Deployments #
POST /repls/{replId}/deployments Create a Repl Deployment #
GET /deployments/{deploymentId} Get a Deployment #
DELETE /deployments/{deploymentId} Delete a Deployment #

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/replit-deployments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

replit-deployments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Replit Deployments API
  description: Replit is a cloud-based development platform that lets you create, run, and deploy software directly from your browser. The Replit API provides programmatic access to manage Repls, deployments, and platform resources. Use the API to automate workflows, integrate Replit into CI/CD pipelines, and manage your development environment at scale.
  version: 1.0.0
  contact:
    url: https://replit.com/support
  termsOfService: https://replit.com/site/terms
servers:
- url: https://replit.com/api/v1
  description: Replit REST API v1
security:
- bearerAuth: []
tags:
- name: Deployments
paths:
  /repls/{replId}/deployments:
    get:
      operationId: repls.deployments.list
      summary: List Repl Deployments
      description: List all deployments for a Repl.
      tags:
      - Deployments
      parameters:
      - name: replId
        in: path
        required: true
        schema:
          type: string
        description: The Repl ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Deployment'
    post:
      operationId: repls.deployments.create
      summary: Create a Repl Deployment
      description: Deploy a Repl to production hosting.
      tags:
      - Deployments
      parameters:
      - name: replId
        in: path
        required: true
        schema:
          type: string
        description: The Repl ID to deploy.
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deployment'
  /deployments/{deploymentId}:
    get:
      operationId: deployments.get
      summary: Get a Deployment
      description: Get details for a specific deployment.
      tags:
      - Deployments
      parameters:
      - name: deploymentId
        in: path
        required: true
        schema:
          type: string
        description: The deployment ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Deployment'
        '404':
          description: Not Found
    delete:
      operationId: deployments.delete
      summary: Delete a Deployment
      description: Remove a deployment from production.
      tags:
      - Deployments
      parameters:
      - name: deploymentId
        in: path
        required: true
        schema:
          type: string
        description: The deployment ID.
      responses:
        '204':
          description: Deleted
        '404':
          description: Not Found
components:
  schemas:
    Deployment:
      type: object
      description: A deployed application hosted by Replit.
      properties:
        id:
          type: string
          description: Unique deployment identifier.
        replId:
          type: string
          description: The Repl ID this deployment is from.
        status:
          type: string
          enum:
          - pending
          - deploying
          - ready
          - failed
          - stopped
          description: Current deployment status.
        domain:
          type: string
          description: The domain the deployment is accessible at.
        createdAt:
          type: string
          format: date-time
          description: When the deployment was created.
      required:
      - id
      - replId
      - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Token from https://replit.com/account#api-tokens
externalDocs:
  description: Replit API Documentation
  url: https://docs.replit.com/api