# GET /domains/{name}/aliases

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the domains group.

List a domain's aliases

- Who may call it: administrator, reseller, customer
- Token scope, any of: domains, read, all
- Answers: 200 OK

Aliases share the domain's document root. The response contains aliases ordered by name, with id, name and created_at for each alias.

An unknown domain returns 404. Access to an existing domain is limited to administrators, the domain owner and the owner's reseller. Other callers receive 403.

## Parameters

- `name` (path, DomainName, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/domains/example.com/aliases" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "aliases": [
    {
      "created_at": "2026-09-09T10:15:00Z",
      "id": 1,
      "name": "alice"
    }
  ]
}
```

## Errors

- 400: Domain name required
- 400: Domain name too long
- 400: Invalid domain name
- 401: Authentication required
- 403: Insufficient privileges
- 404: Domain '<name>' not found
