Domains: Forwarding

Get domain forwarding

Retrieve domain forwarding data.

Use this endpoint to view current redirect configuration for domains.

get/api/domains/v1/forwarding/{domain}

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/domains/v1/forwarding/{domain}
  • Auth: HTTP bearer

Path parameters

domainstring required
Example:mydomain.tld

Domain name

Response

Success response

domainstring nullable

Domain name

redirect_type'301' | '302'

Redirect type

redirect_urlstring

URL domain is forwarded to

created_atstring date-time
updated_atstring date-time nullable

Example response

{
  "domain": "mydomain.tld",
  "redirect_type": "301",
  "redirect_url": "https://forward.to.my.url",
  "created_at": "2025-02-27T11:54:22Z",
  "updated_at": "2025-03-27T11:54:22Z"
}

Changes

No recorded changes to this operation across all 130 revisions of this API.