Spaceship API
This page explains the Spaceship API integration in GoAdmio. It connects GoAdmio to your Spaceship registrar account so the panel can automatically change a domain's nameservers to Cloudflare — completing the automation chain that adds all DNS records to Cloudflare without manual steps.
Location: Admin Panel → Domain API → Spaceship API
Overview
GoAdmio's DNS automation has two halves:
- Cloudflare — hosts the DNS zone and creates all records (A, AAAA, MX, SPF, DKIM, DMARC, autodiscover, autoconfig)
- The registrar — must point the domain's nameservers at Cloudflare so Cloudflare becomes authoritative
Without the Spaceship API, the customer must manually change nameservers in the Spaceship control panel — a step that is easy to forget and causes hours of "why isn't my site live?" tickets.
> Note: The Spaceship API is one of several registrar integrations in GoAdmio. See Dynadot API and Reseller Club API for other registrars. All of them require the Cloudflare API to be configured first — Cloudflare is where the DNS records live.
How the Automation Works
When you run /go/dns domain.com on a domain registered at Spaceship, GoAdmio:
- Creates the zone in Cloudflare — via the Cloudflare API
- Adds all DNS records — A, AAAA, MX, SPF, DKIM, DMARC, autodiscover, autoconfig
- Reads the Cloudflare nameservers assigned to the zone
- Updates the nameservers at Spaceship — via the Spaceship API
- Verifies the change (if supported)
> Warning: Nameserver changes at the registrar can take minutes to 48 hours to propagate worldwide, depending on the TLD and the old TTL. The automation removes the manual step, but it does not speed up propagation.
What the Page Shows
| Field | Description |
|---|---|
| API Key | Your Spaceship API key |
| API Secret (if required) | Your Spaceship API secret |
| Sandbox Mode (if available) | Whether to use Spaceship's sandbox for testing |
| Save / Verify | Apply and test the credentials |
| Status | Whether the credentials are valid |
> Note: The exact fields depend on Spaceship's current API authentication model and your GoAdmio version. Spaceship uses API keys generated in its control panel.
Prerequisites
Before configuring the Spaceship API:
- A Spaceship account — https://www.spaceship.com
- The domains registered at Spaceship — you must control the domain at Spaceship to change its nameservers
- A Spaceship API key — generated in the Spaceship control panel
- The Cloudflare API configured — required; Cloudflare hosts the DNS
- The nameservers Cloudflare assigns — GoAdmio reads these automatically
- Root access to the GoAdmio Admin Panel
How to Get a Spaceship API Key
Step 1 — Log in to Spaceship
- Go to https://www.spaceship.com
- Log in to your account.
Step 2 — Open the API settings
- Navigate to Account → API (or Settings → API).
- Click Create API Key (or the equivalent in your Spaceship interface).
- Copy the API key — and the API secret if Spaceship provides one.
Step 3 — Whitelist your server IP (if required)
Some Spaceship API configurations require you to authorize the IP address that will call the API.
- Add your GoAdmio server's public IPv4 to the IP allowlist in Spaceship.
- Add the IPv6 address if you use IPv6.
- Save.
How to Configure the Integration
- Log in to the GoAdmio Admin Panel.
- Navigate to Domain API → Spaceship API.
- Paste the API Key (and API Secret if required).
- Click Save (or Verify).
> Tip: If verification fails, check the error message — it usually indicates an invalid key, a missing IP allowlist entry, or insufficient API permissions.
Using the Integration
Once configured, the integration is used automatically when you run DNS provisioning commands:
Add a single domain
```bash
/go/dns domain.com