# List Tracking Domains

> The workspace's custom tracking domain and the shared default.

Requires an API key with the `read` scope.

## Response

<ResponseField name="data" type="object">
  Result.

  <Expandable title="data">
    <ResponseField name="domains" type="array">
      The workspace's tracking domains, newest first.

      <Expandable title="domains">
        <ResponseField name="id" type="string">Tracking domain identifier.</ResponseField>
        <ResponseField name="domain" type="string">The tracking subdomain.</ResponseField>
        <ResponseField name="status" type="string">`pending`, `verifying`, `active` or `failed`.</ResponseField>
        <ResponseField name="cnameTarget" type="string">The hostname to point your CNAME record at.</ResponseField>
        <ResponseField name="sslStatus" type="string">Certificate status, for example `pending_validation` or `active`. `null` until provisioning has run.</ResponseField>
        <ResponseField name="failureReason" type="string">Why provisioning or verification failed, or `null`.</ResponseField>
        <ResponseField name="verifiedAt" type="string">ISO 8601 timestamp, or `null`.</ResponseField>
        <ResponseField name="lastCheckedAt" type="string">ISO 8601 timestamp, or `null`.</ResponseField>
        <ResponseField name="createdAt" type="string">ISO 8601 timestamp.</ResponseField>
      </Expandable>
    </ResponseField>
    <ResponseField name="defaultDomain" type="string">The shared tracking domain used when you have no active custom one.</ResponseField>
    <ResponseField name="configured" type="boolean">Whether custom tracking domains are available on this environment.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
```bash cURL
curl -X GET "https://api.foxreach.io/api/v1/tracking-domains" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
result = client.tracking_domains.list()
```

```typescript TypeScript SDK (beta)
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const result = await client.trackingDomains.list();
```
</RequestExample>

<ResponseExample>
```json
{
  "data": {
    "domains": [
  {
      "id": "trk_abc123",
      "domain": "track.yourcompany.com",
      "status": "active",
      "cnameTarget": "cname.foxtrk.com",
      "sslStatus": "active",
      "failureReason": null,
      "verifiedAt": "2026-10-31T10:20:00",
      "lastCheckedAt": "2026-10-31T10:20:00",
      "createdAt": "2026-10-31T10:00:00"
    }
    ],
    "defaultDomain": "foxtrk.com",
    "configured": true
  }
}
```
</ResponseExample>

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `read` |

<Note>
  This call works even when custom tracking domains are not enabled on the environment: `configured` is `false` and the other tracking-domain calls return 501.
</Note>

## Rate Limit

- **100 requests per minute, per API key.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` (unix epoch seconds).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](/rate-limiting).
