Organizations
List an organization's domains
List the domains belonging to an organization.
A 404 is returned when the organization is outside the caller's scope. Same documented shape and filters as GET /v1/domains/, minus domain_id and organization_id (the path carries it).
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
organization_id*integer
Query Parameters
page?integer
Default
1Range
1 <= valueper_page?integer
Page size. Values above 500 are clamped to it (or rejected, per the server configuration).
Default
25Range
1 <= valuevalue?|
Exact domain value (case-insensitive).
verified?|
Filter by verification status.
kind?|
Restrict to one proof method: domain_dns (TXT record) or domain_checkbox (self-attestation). Both when omitted.
Response Body
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/organizations/0/domains/"{
"total": 0,
"page": 0,
"per_page": 0,
"_links": {
"property1": "string",
"property2": "string"
},
"domains": [
{
"id": 0,
"value": "string",
"organization_id": 0,
"verified": true,
"kind": "domain_checkbox",
"created_at": "2019-08-24T14:15:22Z",
"verification_token": "string",
"verification_txt_record": "string"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}