# create_temporary_url

> Create a temporary address that shows a domain's site on our servers before the domain's DNS points here (or when the customer uses other nameservers).

- Tier: W
- Required scope: read:hosting
- Annotations: idempotentHint
- Docs: https://api.inleed.com/tools/create-temporary-url

## Description

Create a temporary address that shows a domain's site on our servers before the domain's DNS points here (or when the customer uses other nameservers). Use it right after installing WordPress or building a site on a domain that does not resolve here yet — an install result saying `dnsPointsHere: false` means call this in the same turn — and whenever the customer says "I can't see my site", "sidan visas inte", "the domain shows the old host". Pass the domain as `input`. Returns `previewUrl` (open it — no DNS change needed; WordPress works through it unchanged, nothing to switch back later) and `expiresAt` (valid about 60 days).

## Input schema

- `input` — string (required). The domain to preview, e.g. example.com — it must already be on the customer's hosting account.
- `domain` — string. Optional: when input is the hosting-account username rather than the domain — typically right after adding the domain to the account — name the domain to preview here.

## Example call

```json
{
  "name": "create_temporary_url",
  "arguments": {
    "input": "example.se"
  }
}
```

