List domain connections

Domains the workspace owns and is connecting, newest first: the TXT record that proves each one, what the last check found, the nameservers to set at the registrar once known, and whether it is connected, expired or failed.

GEThttps://app.trygtm.com/api/v1/domains/connections
Scope
read

Request

curl https://app.trygtm.com/api/v1/domains/connections \
  -H "Authorization: Bearer $TRYGTM_API_KEY"

Response

{
  "data": [
    {
      "id": "5c6d7e8f-9012-4a3b-8c4d-5e6f70819203",
      "name": "acme-outreach.com",
      "status": "awaiting_nameservers",
      "domain_id": "2b3c4d5e-6f70-4a81-9b2c-3d4e5f607182",
      "verification": {
        "type": "TXT",
        "host": "_trygtm-verification",
        "name": "_trygtm-verification.acme-outreach.com",
        "value": "trygtm-verification=3f9c2a7d41b8e05c6a9d2f7e1b4c8a03d5e6f7a8b9c0d1e2"
      },
      "last_check": null,
      "nameservers": [
        "ada.ns.example.net",
        "bob.ns.example.net"
      ],
      "existing_mail_hosts": [],
      "error": null,
      "expires_at": "2026-10-06T09:58:00.000Z",
      "created_at": "2026-09-22T09:40:00.000Z"
    }
  ]
}

Was this page helpful?