---
title: "List URL Forwardings by domain"
method: GET
path: "/core/v1/urlforwarding/{domainName}"
tags: ["URL Forwardings"]
---

# List URL Forwardings by domain

`GET /core/v1/urlforwarding/{domainName}`

Returns all URL forwarding settings configured for a domain. Each entry includes an `id` that can be used with the URL Forwarding by-ID endpoints to get, update, or delete records.

## Path parameters

- `domainName` string, hostname, required

## Query parameters

- `perPage` integer — Maximum number of records to return per page for paginated list endpoints.
- `page` integer

## Response `200`

A successful response containing the list of URL forwarding entries.

- ListURLForwardingsResponse — ListURLForwardingsResponse is the response for the ListURLForwardings function.
  - `lastPage` integer, nullable — LastPage is the identifier for the final page of results. It is only populated if there is another page of results after the current page.
  - `nextPage` integer, nullable — NextPage is the identifier for the next page of results. It is only populated if there is another page of results after the current page.
  - `urlForwarding` URLForwardingResponse[], required — URLForwarding is the list of URL forwarding entries.
    - `domainName` string, hostname — The domain name (without subdomains) that is being forwarded.
    - `forwardsTo` string, uri, required — The destination URL to which this hostname will be forwarded.
    - `host` string, required — The subdomain portion of the hostname that is being forwarded.
    - `meta` string, nullable — Meta tags to include in the HTML page when using "masked" forwarding. Ignored for other forwarding types. Example: `<meta name='keywords' content='fish, denver, platte'>`
    - `title` string, nullable — The title to be used for the HTML page when using "masked" forwarding. Ignored for other forwarding types.
    - `type` 'masked' | 'redirect' | '302', required — The type of URL forwarding. Valid values: - `masked`: Retains the original domain in the address bar, preventing the user from seeing the actual destination URL. Sometimes called iframe forwarding. - `redirect`: Uses a standard HTTP redirect (301), which changes the address bar to the destination URL. - `302`: Uses a temporary HTTP redirect (302), which changes the address bar to the destination URL but indicates the resource is temporarily located elsewhere.
    - `id` integer — Server-assigned unique identifier for the URL forwarding record. Use this ID with the URL Forwarding by-ID endpoints to get, update, or delete records.

## Other responses

- `400` — Bad Request - Invalid parameters or malformed request.
- `401` — Unauthorized.
- `403` — Forbidden - you do not have permission to perform this action.
- `404` — Domain not found or not owned by the authenticated account.
- `405` — Method not allowed.
- `429` — Rate limit has been exceeded.
- `500` — Internal server error.
- `502` — Bad Gateway
- `504` — Gateway Timeout

---

[API](https://skmtc.dev/name/apis/name-com-core-api.md) · [All operations](https://skmtc.dev/name/apis/name-com-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/name/name-com-core-api/revisions/a37d4cbd3991/schema)
