# Retrieve a link domain

`GET https://api.parasend.com/v1/recipient_domains/{id}`

Source: https://parasend.com/docs/api/link-domains/retrieve

Authentication: `Authorization: Bearer <API key>` (a `ps_test_` key in test mode, `ps_live_` in live mode).

Retrieves a link domain, with the DNS records it needs and where each one stands.

## Path parameters

- `id` (string, required)

## Example: Retrieve a link domain

```bash
curl "https://api.parasend.com/v1/recipient_domains/cdm_01M6P3RM6E8G0J2M4P6R8T0W2Y" \
  -H "Authorization: Bearer $PARASEND_KEY"
```

```js
const res = await fetch('https://api.parasend.com/v1/recipient_domains/cdm_01M6P3RM6E8G0J2M4P6R8T0W2Y', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.PARASEND_KEY}`,
  },
});
const data = await res.json();
```

## Response 200

The domain, removed ones included.

Content type: application/json.

Errors: one shape, `{"error": {type, code, message, param, request_id}}`; every code is listed at https://parasend.com/docs/errors.
