---
title: "Turn the confirmation text on or off and set its wording (owners and admins). Body { enabled, message_template }; {company}, {place}, {first_name}; must mention STOP."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Field Sales

`PUT /api/field-sales/compliance/optin-settings`

## Code samples

### cURL

```bash
curl --request PUT \
  --url https://api.channelautomation.com/api/field-sales/compliance/optin-settings
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/field-sales/compliance/optin-settings';
const options = {method: 'PUT'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/field-sales/compliance/optin-settings"

response = requests.put(url)

print(response.text)
```


Source: https://developer.channelautomations.com/api/put-api-field-sales-compliance-optin-settings/index.md
