---
title: "Get domain forwarding"
method: GET
path: "/api/domains/v1/forwarding/{domain}"
tags: ["Domains: Forwarding"]
---

# Get domain forwarding

`GET /api/domains/v1/forwarding/{domain}`

Retrieve domain forwarding data.

Use this endpoint to view current redirect configuration for domains.

## Path parameters

- `domain` string, required

## Response `200`

Success response

- DomainsV1ForwardingForwardingResource
  - `domain` string, nullable — Domain name
  - `redirect_type` '301' | '302' — Redirect type
  - `redirect_url` string — URL domain is forwarded to
  - `created_at` string, date-time
  - `updated_at` string, date-time, nullable

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/versions/796bd5194565/schema)
