Domains

Add a custom domain

Registers a domain for short links. Point it at the platform with a CNAME, then call the verify endpoint.

post/domains

Request

  • Base URL: https://api.multi-upload-tool.com/api/v1
  • URL: https://api.multi-upload-tool.com/api/v1/domains
  • Auth: API key in header x-api-key

Headers

X-Team-IDinteger

Act inside this team. Ignored when the token is already pinned to a team; membership is verified on every request.

Request body

domainstring required
teamIdinteger

Team to attach the domain to. Must match the token's team when the token is team-scoped.

Example request

{
  "domain": "links.example.com"
}

Response

The registered domain and the DNS record to create.

idinteger
domainstring
verifiedboolean
createdAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.