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

# Check a sending domain now

POST`/workspace/{orgId}/sending-domains/{ref}/check`

Asks the provider and looks every record up in DNS now, keeps the result and answers the domain. Pending domains are also checked by themselves: every 15 minutes for 72 hours, then hourly, and failed after 7 days. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`ref`

stringrequired

## Response

200

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/workspace/{orgId}/sending-domains/{ref}/check'
```

**JavaScript**

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

fetch('https://api.workover.io/workspace/{orgId}/sending-domains/{ref}/check', 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}/check"

response = requests.post(url)

print(response.text)
```
