List domains

  • GET
  • /workspaces
  • /:workspace
  • /domains

Get all domains in the workspace.

Request

REQUIRED SCOPES
WORKSPACE, ZONE_READ
URL PARAMETERS
workspacerequired string
The workspace name.

Last modified on Oct 13, 2025

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/domains" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
EXAMPLE RESPONSE
{ "url": "https://api.buddy.works/workspaces/buddy/domains", "html_url": "https://app.buddy.works/buddy/-/domains", "domains": [ { "url": "https://api.buddy.works/workspaces/buddy/domains/w4rVdQZD", "html_url": "https://app.buddy.works/buddy/-/domain/w4rVdQZD", "name": "my-domain.com", "id": "w4rVdQZD" }, { "url": "https://api.buddy.works/workspaces/buddy/domains/5VpZXRkz", "html_url": "https://app.buddy.works/buddy/-/domain/5VpZXRkz", "name": "second-my-domain.com", "id": "5VpZXRkz" } ] }
STATUS
200 OK
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999