List the email domains of an organization

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
Responses
200

OK

application/json
countnumberOptional

Total count of objects in the list

get/orgs/{organizationId}/domains
GET /v1/orgs/{organizationId}/domains HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "next": {
    "page": "text"
  },
  "count": 1,
  "items": [
    {
      "object": "organization-domain",
      "domain": "text",
      "status": "legacy",
      "statusDescription": "text",
      "verificationRecord": {
        "type": "TXT",
        "name": "text",
        "value": "text"
      },
      "autoJoinEnabled": true,
      "defaultRole": "admin",
      "defaultTeam": "text",
      "verifiedAt": "2026-01-01T00:00:00.000Z",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "urls": {
        "location": "https://example.com"
      }
    }
  ]
}

Last updated

Was this helpful?

Powered by GitBook