Skip to content

Get a redirect

GET
/api/organizations/{organizationId}/redirects/{id}

Returns a single redirect by id, including its source and target hostnames, mode, generated CNAME target, and the DNS target verification status of the source hostname.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext).

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

organizationId*

Organization identifier

Type
string
Required
id*

redirect identifier

Type
string
Required

Responses

redirect resource

JSON
{
  
"@context": "string",
  
"@id": "string",
  
"@type": "string",
  
"id": 42,
  
"targetHostname": "www.example.com",
  
"mode": "path",
  
"createdAt": "2026-07-01T12:34:56+00:00",
  
"updatedAt": "2026-07-01T12:34:56+00:00",
  
"sourceHostname": "old.example.com",
  
"cnameTarget": "abc123.cname.smoxy.eu",
  
"dnsTargetStatus": "pending",
  
"dnsObservedValue": "abc123.cname.smoxy.eu",
  
"dnsLastCheckedAt": "2026-07-01T12:34:56+00:00",
  
"domain": "https://example.com/"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI