list_domains
Retrieve your organization's training domains and locate the domain_id required to publish courses. Use filters for exact hostname or access level, with pagination for large lists.
Instructions
List the organization's training domains, one page at a time.
A domain is a customer-facing site - the hostname learners visit. Courses are
published to domains, so this is where to find the `domain_id` that
`publish_courses` needs.
Results are one page: when has_more is true, call again with next_cursor.
`filter_name` is an EXACT hostname match, not a substring.
`filter_access` is PUBLIC, PRIVATE or PRIVATE_CODE.
`include` supports `theme`.
Domains are read-only through this API; there is no tool to create or change
one.
Requires the `domains:read` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | ||
| page_size | No | ||
| filter_name | No | ||
| page_cursor | No | ||
| filter_access | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| domains | Yes | ||
| has_more | Yes | ||
| next_cursor | No |