List domains
The organization's custom domains, pending and verified.
GET /organizations/{org}/domains
Lists the org’s custom domains, each with the DNS records it needs. The flow is described in Custom domains. Not paginated.
Authorization
Any caller whose token can manage this org. Ownership is not needed: the records are public in DNS anyway.
Path parameters
| Name | Type | Description |
|---|---|---|
org | string | The organization: its id (org_…) or its slug. It has to be an org your token can manage (see Who can call it) |
Response
200 OK with an array of domains.
[
{
"id": "dom_65f1c2a9e4b0d3f7a1c8e907",
"hostname": "login.acme.com",
"status": "pending",
"verified_at": null,
"created_at": "2026-10-18T09:12:00.000Z",
"records": {
"txt": { "name": "…", "value": "…" },
"cname": { "name": "login.acme.com", "value": "…" }
}
}
]
| Field | Type | Description |
|---|---|---|
id | string | dom_… |
hostname | string | |
status | pending | verified | |
verified_at | ISO date | null | |
created_at | ISO date | |
records | object | { txt: { name, value }, cname: { name, value } }: the two DNS records to create |
Errors
| Status | error | When |
|---|---|---|
404 | not_found | The org does not exist, or your token cannot manage it |
Example
curl https://loginwith.loginwith.dev/organizations/acme/domains \
-H "Authorization: Bearer $TOKEN"