Skip to content

Cannot create hostnames (glue records) via GoDaddy API - UI works but API blocked #950

Description

@saifkhan2k

I’m trying to automate domain provisioning using GoDaddy API.

I can successfully update nameservers via:

PATCH /v1/domains/{domain}

But hostname (glue) creation fails:

POST /v1/domains/{domain}/hosts - 404
PATCH /v1/domains/{domain}/records - 422

Even after:

  • Forcing default GoDaddy nameservers (ns01/ns02.domaincontrol.com)
  • Waiting 30+ minutes
  • Retrying API

However, the SAME hostname creation works instantly in GoDaddy UI:

ns1.example.com → IP
ns2.example.com → IP

After manually creating hostnames in UI, API allows setting nameservers.

So effectively:

  • NS change via API works
  • Hostname creation via API blocked
  • UI hostname creation works

This blocks full automation.

Questions:

  1. Is glue/hostname creation restricted by account tier?
  2. Is there any way to enable it via API?
  3. Is there a supported automation workaround?

Environment:

  • GoDaddy REST API v1
  • .com domains
  • Portfolio / reseller style account
  • Auth via sso-key

Expected:
If hostname creation is allowed in UI, it should also be allowed via API, or at least return clear permission errors instead of 404/422.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions