Get Tracking Domain

Retrieve a single tracking domain by ID.

GET/tracking-domains/{tracking_domain_id}

Requires an API key with the tracking_domains:read permission.

Path Parameters

tracking_domain_idstringrequired

The ID of the tracking domain to retrieve.

Response Fields

objectstring

Always "tracking_domain".

idstring

The tracking domain ID.

namestring

The tracking domain name.

statusstring

The verification status (pending, verified, or failed).

created_atstring

ISO 8601 timestamp.

updated_atstring

ISO 8601 timestamp of last update.

recordsarray

The DNS records to publish. Each item contains id, type (CNAME or TXT), name, value, status (pending, verified or error), and error_message (string | null). The status of a record is about that record, not the domain.

curl -X GET 'https://api.postflare.dev/tracking-domains/a1b2c3d4-1234-5678-abcd-000000000001' \
  -H 'Authorization: Bearer sk_xxxxxxxxx'

Response

Response
{
  "object": "tracking_domain",
  "id": "a1b2c3d4-1234-5678-abcd-000000000001",
  "name": "track.example.com",
  "status": "verified",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-02T00:00:00.000Z",
  "records": [
    {
      "id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
      "type": "CNAME",
      "name": "track.example.com",
      "value": "tracking.postflare.dev",
      "status": "verified",
      "error_message": null
    },
    {
      "id": "d4e5f6a7-b8c9-0123-defa-234567890123",
      "type": "TXT",
      "name": "_cf-custom-hostname.track.example.com",
      "value": "e5f6a7b8-c9d0-1234-efab-345678901234",
      "status": "verified",
      "error_message": null
    }
  ]
}