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

# A contact’s consent log

GET`/workspace/{orgId}/contacts/{ref}/consent`

Every opt-in and opt-out, newest first, 50 a page (`limit` up to 200, `offset`): the topic (null for all), from and to, the source (preference\_page, one\_click, api, admin, import, cli, mcp), who, a hash of the IP for the public pages, the user agent, and any consent given. Any member.

## Path Parameters

`orgId`

numberrequired

`ref`

stringrequired

## Response

200

**cURL**

```bash
curl --request GET \
  --url 'https://api.workover.io/workspace/{orgId}/contacts/{ref}/consent'
```

**JavaScript**

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

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

response = requests.get(url)

print(response.text)
```
