List domains
- GET
- /workspaces
- /:workspace
- /domains
Returns a list of domains.
Example:
CURLcurl -X GET "https://api.buddy.works/workspaces/:workspace/domains" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
EXAMPLE RESPONSE{ "domains": [ { "name": "my-domain.com", "id": "4krmDRPw", "auto_renew": true, "transfer_lock": true, "dnssec": true, "expiry_date": "2026-03-07T13:52:39.167Z" }, { "name": "pointed-my-domain.com", "id": "4npPPxpE" } ] }
STATUS200 OK
LIMITSX-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999