Hostingsurge Business API
The Business API from Hostingsurge — 30 operation(s) for business.
Operations 46
GET
/projects/{projectId}/business
Business modules of a project: counts, embed script, payments state
#
POST
/projects/{projectId}/business/forms
Create a form (template contact, quote or blank, or your own fields)…
#
POST
/projects/{projectId}/business/lists
Create a newsletter list (double opt-in sign-ups; campaigns are sent from…
#
POST
/business/lists/{listId}/subscribers
Add a subscriber: confirmed true only with their consent; otherwise they get…
#
POST
/business/campaigns/{campaignId}/send
Send to every confirmed subscriber in the background, within the team's email…
#
POST
/projects/{projectId}/business/services
Create a bookable service: duration, opening hours in its own time zone, notice…
#
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…
#
POST
/projects/{projectId}/business/payments/items
Create something to sell: a Stripe product, price and payment link on your own…
#
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.
#
Specifications
OpenAPI
https://artifacts.apis.io/hostingsurge-com/openapi/hostingsurge-com-business-api-openapi.yml
Schemas & Data
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json