Hostingsurge Business API

The Business API from Hostingsurge — 30 operation(s) for business.

GitHub OpenAPI

Operations 46

GET /projects/{projectId}/business Business modules of a project: counts, embed script, payments state #
GET /projects/{projectId}/business/forms Forms of a project #
POST /projects/{projectId}/business/forms Create a form (template contact, quote or blank, or your own fields)… #
GET /business/forms/{formId} One form #
PATCH /business/forms/{formId} Change a form #
DELETE /business/forms/{formId} Delete a form and all its submissions #
GET /business/forms/{formId}/submissions Submissions, newest first (the inbox) #
POST /business/forms/{formId}/submissions/read Mark submissions read (ids, or all) #
DELETE /business/forms/{formId}/submissions/{submissionId} Delete one submission #
GET /projects/{projectId}/business/lists Newsletter lists of a project #
POST /projects/{projectId}/business/lists Create a newsletter list (double opt-in sign-ups; campaigns are sent from… #
GET /business/lists/{listId} One list #
PATCH /business/lists/{listId} Change a list #
DELETE /business/lists/{listId} Delete a list with its subscribers and campaigns #
GET /business/lists/{listId}/subscribers Subscribers, newest first #
POST /business/lists/{listId}/subscribers Add a subscriber: confirmed true only with their consent; otherwise they get… #
DELETE /business/lists/{listId}/subscribers/{subscriberId} Delete a subscriber #
GET /business/lists/{listId}/campaigns Campaigns of a list, newest first #
POST /business/lists/{listId}/campaigns Write a campaign (a draft) #
GET /business/campaigns/{campaignId} One campaign with its progress #
PATCH /business/campaigns/{campaignId} Change a draft #
DELETE /business/campaigns/{campaignId} Delete a campaign that is not sending #
POST /business/campaigns/{campaignId}/test Send the draft to yourself (email:send) #
POST /business/campaigns/{campaignId}/send Send to every confirmed subscriber in the background, within the team's email… #
POST /business/campaigns/{campaignId}/pause Pause a campaign that is sending #
GET /projects/{projectId}/business/services Bookable services of a project #
POST /projects/{projectId}/business/services Create a bookable service: duration, opening hours in its own time zone, notice… #
GET /business/services/{serviceId} One service #
PATCH /business/services/{serviceId} Change a service (or switch it off) #
DELETE /business/services/{serviceId} Delete a service without upcoming bookings #
GET /projects/{projectId}/business/bookings Bookings (upcoming first, or past) #
POST /business/bookings/{bookingId}/cancel Cancel a booking (the customer is emailed) #
GET /projects/{projectId}/business/payments Payments: available on this platform, and the connected Stripe account #
DELETE /projects/{projectId}/business/payments Disconnect the Stripe account (its payment links stop working) #
POST /projects/{projectId}/business/payments/connect The Stripe page that connects your own Stripe account (Stripe Connect… #
GET /projects/{projectId}/business/payments/items Payment items (with their Stripe payment links) #
POST /projects/{projectId}/business/payments/items Create something to sell: a Stripe product, price and payment link on your own… #
PATCH /business/payments/items/{itemId} Switch an item (and its payment link) on or off #
DELETE /business/payments/items/{itemId} Delete an item (its payment link is switched off) #
GET /projects/{projectId}/business/payments/recent The last 25 completed payments, live from Stripe #
POST /projects/{projectId}/business/privacy/lookup What the modules hold about one person (by email): counts per module #
POST /projects/{projectId}/business/privacy/export Everything the modules hold about one person, as JSON (access request, GDPR Art. #
POST /projects/{projectId}/business/privacy/delete Delete everything the modules hold about one person (erasure request, GDPR Art. #
GET /business/forms/{formId}/submissions.csv Download a form's submissions as CSV #
GET /business/lists/{listId}/subscribers.csv Download a list's subscribers as CSV #
GET /projects/{projectId}/business/bookings.csv Download every booking of a project as CSV #

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-business-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-business-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hostingsurge Platform Business 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 (640 KB total) ---
# Full source: https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-business-api-openapi.yml