Hostingsurge Email API
The Email API from Hostingsurge — 27 operation(s) for email.
Operations 36
POST
/email/domains/{domainId}/verify
Re-check DNS: verifies ownership if not yet proven, and activates…
#
POST
/email/domains/{domainId}/mailboxes/enable
Enable or disable mailboxes on mailcow for this domain
#
POST
/email/domains/{domainId}/sending/enable
Enable or disable transactional sending on Postal for this domain (the…
#
POST
/email/domains/{domainId}/cloudflare/preview
DNS at Cloudflare: what one click would write (MX, SPF, DKIM, DMARC) and what…
#
POST
/email/domains/{domainId}/cloudflare/apply
DNS at Cloudflare: write the plan of the preview (its planHash).
#
POST
/email/mailboxes/{mailboxId}/sync-jobs
Import an existing mailbox over IMAP (mailcow syncjob).
#
POST
/email/sending/request
Optional note for the operator: sending turns on by itself once a sending…
#
POST
/email/sending/operator
Platform operator only: enable (optionally overriding the daily/monthly quota)…
#
POST
/email/sending/credential
Create (rotate) an SMTP credential for postal.hostingsurge.com:587.
#
GET
/projects/{projectId}/site-email
Email of the website's domains: state, DNS records, last 7 days for each
#
POST
/projects/{projectId}/site-email
Set up email for one domain of this website: creates the sending domain and…
#
PUT
/projects/{projectId}/site-email/account
Connect the team's own Resend account with a Full access key, or replace the…
#
DELETE
/projects/{projectId}/site-email/account
Forget the team's Resend key. Domains that already send keep their own keys
#
POST
/projects/{projectId}/site-email/check
Check the DNS records of every domain still waiting; once one verifies, the…
#
POST
/projects/{projectId}/site-email/{domain}/dns/cloudflare
Add this domain's mail records at Cloudflare with an API token you paste.
#
DELETE
/projects/{projectId}/site-email/{domain}
Stop this domain's email: revokes the key, removes the domain and its two…
#
Specifications
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