MPLINK API

MPLink API reference

Manage hosting, domains, DNS, and AI tools programmatically. One REST API, one auth token, every product.

Get an API token Read the docs

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

Hosting

Create, list, and manage web hosting and VPS accounts.

Domains & DNS

Register domains and manage DNS zone records.

Email

Provision mailboxes and manage business email settings.

AI Builder

Trigger site generation and manage AI Builder projects.

Agents & automation

Manage MPLink Agents, Hermes Agent, and n8n workflows.

Billing

Retrieve invoices, subscriptions, and usage data.

Common endpoints

GET /v1/hosting/accounts List hosting accounts
POST /v1/domains Register a new domain
GET /v1/domains/{id}/dns-records List DNS records
PATCH /v1/email/mailboxes/{id} Update a mailbox
POST /v1/ai-builder/projects Generate a new site

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

Rate limits

Each response includes X-RateLimit-Remaining and Retry-After headers so clients can back off cleanly.

Cursor pagination

List endpoints return a next_cursor. Pass it back as ?cursor= to fetch the next page.

Webhooks

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.

Node.js
Python
PHP
Go

Start building with the MPLink API

Free to use on every plan. No separate API pricing.

Get your API token
MPLink  ›  Developers  ›  MPLink API
MPLINK
Log in Cart
Link-AI

Your 24/7 AI guide for hosting, domain setup, plan picking, and website building.

Hi there! I'm Link-AI, your MPLink assistant. Ask me about hosting, domains, email, websites or logos.
Choose your country and language

No matches. Try a different search.