MPLink API reference
Manage hosting, domains, DNS, and AI tools programmatically. One REST API, one auth token, every product.
Quick start
Every request is authenticated with a bearer token generated from your account.
curl https://api.mplinktech.com/v1/hosting/accounts \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json"
Endpoint groups
Create, list, and manage web hosting and VPS accounts.
Register domains and manage DNS zone records.
Provision mailboxes and manage business email settings.
Trigger site generation and manage AI Builder projects.
Manage MPLink Agents, Hermes Agent, and n8n workflows.
Retrieve invoices, subscriptions, and usage data.
Common endpoints
Authentication and errors
Tokens carry scopes, so a token can only touch the products you allow. Errors are JSON with a stable code.
# Create a scoped token
POST /v1/tokens
{
"name": "dns-automation",
"scopes": ["domains:read", "dns:write"],
"expires_in_days": 90
}HTTP/1.1 429 Too Many Requests
{
"error": {
"code": "rate_limited",
"message": "Retry after 12 seconds.",
"request_id": "req_8f2c1a"
}
}Limits, pagination, and webhooks
Each response includes X-RateLimit-Remaining and Retry-After headers so clients can back off cleanly.
List endpoints return a next_cursor. Pass it back as ?cursor= to fetch the next page.
Subscribe to events such as domain.renewed, invoice.paid, and site.deployed. Each delivery is signed.
Official SDKs
Use the language you already work in — full parity with the REST API.
Start building with the MPLink API
Free to use on every plan. No separate API pricing.
Get your API token