Hostingsurge Migrations API

The Migrations API from Hostingsurge — 27 operation(s) for migrations.

GitHub OpenAPI

Operations 29

POST /migrations Create an import from Git (any host, public or private with a deploy key)… #
GET /migrations Imports you can see, newest first #
POST /migrations/batch Import several (or all) Vercel projects: one import per project, analyzed one… #
POST /migrations/providers/projects List the projects (and teams) a Vercel access token can read, to choose what to… #
POST /migrations/cpanel/test Check cPanel (mode uapi) or WHM (mode whm) sign-in details in a few seconds… #
POST /migrations/{migrationId}/crons/enable Turn on the cron jobs of the old host that the import created paused (after the… #
GET /migrations/{migrationId} An import: state, analysis, steps, files, preview and cutover plan #
GET /migrations/{migrationId}/plan-check What the team's plan says about the import before Start: the site class it… #
POST /migrations/{migrationId}/analyze Analyze (again): reads the source or the uploaded files and prepares the… #
POST /migrations/{migrationId}/databases/{databaseKey}/connect Vercel review: read a Neon (Vercel Postgres) database's connection string with… #
POST /migrations/{migrationId}/start Start the import after the review: creates the project (or WordPress site /… #
POST /migrations/{migrationId}/cancel Cancel an import; what it already created is kept #
POST /migrations/{migrationId}/retry Continue a failed import from the step that failed (Migration.resume), with the… #
POST /migrations/{migrationId}/discard Before starting over: delete what a failed or canceled import created… #
POST /migrations/{migrationId}/cutover Connect your domain: adds it to the project, checks DNS and ownership and… #
POST /migrations/{migrationId}/final-sync Vercel/Heroku imports that moved databases: copy them once more right before… #
POST /migrations/{migrationId}/mail-check Check the mail of the domains a cutover connects: what it runs on (MX, SPF… #
POST /migrations/{migrationId}/mail cPanel: move the account's mail to Hostingsurge's mail service: each domain in… #
POST /migrations/{migrationId}/mail/sync cPanel, after a mail move: copy the moved mailboxes from the old server over… #
POST /migrations/{migrationId}/preview-check Check the preview again: broken pages and files, mixed content, the old site… #
GET /migrations/{migrationId}/logs Import log lines after ?since= (exclusive) #
GET /migrations/{migrationId}/files-report Download the whole list of a live cPanel download's files that did not arrive… #
POST /migrations/{migrationId}/artifacts Start (or resume, same name and size) a chunked upload of a backup file: 16 MiB… #
GET /migrations/{migrationId}/artifacts Uploaded files and upload progress #
PUT /migrations/{migrationId}/artifacts/{artifactId}/chunks/{index} Upload chunk {index} (0-based) as application/octet-stream; ?sha256= verifies… #
POST /migrations/{migrationId}/artifacts/{artifactId}/complete Assemble the chunks and verify the size and SHA-256 #
DELETE /migrations/{migrationId}/artifacts/{artifactId} Remove an uploaded or unfinished file (draft and review only) #
POST /migrations/move-requests Ask Hostingsurge to move a site for you: stored for the team, which gets in… #

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/hostingsurge-com:hostingsurge-com-migrations-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

hostingsurge-com-migrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostingsurge Platform Migrations API
  version: 1.0.0
  description: 'Deploy and operate projects on Hostingsurge: Git/upload/Docker/WordPress projects, deployments, logs, environment variables, domains and databases. Errors are {"error":{"code","message","details?"}}.'
servers:
- url: /api/v1
  description: Same origin as the dashboard, e.g. https://hostingsurge.com/api/v1
security:
- bearerAuth: []
- sessionCookie: []
tags:


# --- truncated at 32 KB (3612 KB total) ---
# Full source: https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-migrations-api-openapi.yml