# Check the DNS TXT record and verify the domain.

`POST /api/plugins/docs/inbound-addresses/{id}/verify`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

Request body: application/json (required)

Type: object

Schema: [DocumentInboundAddressQueryDTO](https://sourcey-gauzy.pages.dev/api-reference/models/documentinboundaddressquerydto/index.md)

- `organizationId` (optional)
  Type: string

Responses:

- 200: Verification attempted.

## Examples

### cURL

```bash
curl -X POST 'http://localhost:3000/api/plugins/docs/inbound-addresses/string/verify' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "organizationId": "string"
}'
```

### JavaScript

```javascript
const body = `{
  "organizationId": "string"
}`;

const response = await fetch('http://localhost:3000/api/plugins/docs/inbound-addresses/string/verify', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body,
});

const data = await response.text();
```

### Python

```python
import requests

body = '''{
  "organizationId": "string"
}'''

response = requests.post(
    'http://localhost:3000/api/plugins/docs/inbound-addresses/string/verify',
    data=body.encode('utf-8'),
    headers={
        'Content-Type': 'application/json',
    },
)
print(response.text)
```
