> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# A sending domain’s records, to hand on

GET`/workspace/{orgId}/sending-domains/{ref}/records`

`format=bind` (a zone-file snippet), `text` (for whoever runs the DNS) or `json` (default, for a DNS provider’s API). Any member.

## Path Parameters

`orgId`

numberrequired

`ref`

stringrequired

## Query Parameters

`format`

stringrequired

## Response

200

**cURL**

```bash
curl --request GET \
  --url 'https://api.workover.io/workspace/{orgId}/sending-domains/{ref}/records?format=%3Cformat%3E'
```

**JavaScript**

```javascript
const options = {
  method: 'GET'
};

fetch('https://api.workover.io/workspace/{orgId}/sending-domains/{ref}/records?format=%3Cformat%3E', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/sending-domains/{ref}/records?format=%3Cformat%3E"

response = requests.get(url)

print(response.text)
```
