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

# List a company’s activity

GET`/workspace/{orgId}/contact-companies/{ref}/activity`

What happened to a company (its id or x:), newest first, 30 at a time: attribute changes, people joining, and its creation. Pass `before` (the `next` of the last page) for older entries.

## Path Parameters

`orgId`

numberrequired

`ref`

stringrequired

## Query Parameters

`before`

stringrequired

## Response

200

**cURL**

```bash
curl --request GET \
  --url 'https://api.workover.io/workspace/{orgId}/contact-companies/{ref}/activity?before=%3Cbefore%3E'
```

**JavaScript**

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

fetch('https://api.workover.io/workspace/{orgId}/contact-companies/{ref}/activity?before=%3Cbefore%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}/contact-companies/{ref}/activity?before=%3Cbefore%3E"

response = requests.get(url)

print(response.text)
```
