Register a domain
Register a new domain through shipmail. Charges the saved payment method and returns the created Domain object. Requires an active subscription. Only an API key a person created can buy: an agent credential (an OAuth connection, the MCP server over OAuth, or an auth.md registration) never triggers a charge. It gets a 403 with reason: "owner_confirmation_required" and an action_url where the organization owner reviews the price and confirms the purchase.
Request
- Base URL: https://shipmail.to/api/v1
- URL: https://shipmail.to/api/v1/domains/register
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)
Headers
OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.
Request body
Response
Domain registered, DNS configured, and ready for mailboxes.
Example response
{
"name": "example.com",
"registration": {
"currency": "USD"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.