Source: https://support.atomicwork.com/api-reference/requests/patchapi-v1-requests-requestid-add-agent-group-followers

# Add Agent Group Followers to a Request

PATCH `https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/add-agent-group-followers`

Appends agent groups to the request's existing agent-group follower list.
Duplicate groups are ignored. Members of the resulting groups are expanded
into the follower notification recipient set (de-duplicated with direct followers)
for both channel/email and in-app notifications.

## Authorization

#### X-Api-Key (header, string, required)

API key authentication.

## Headers

#### X-Workspace-Id (header, string)

## Path Parameters

#### requestId (path, string, required)

## Body

#### agent\_group\_follower\_ids (body, array of integer)

Agent group IDs to append to the request's agent-group followers. Their
members are expanded into the follower recipient set for notifications
(de-duplicated with direct followers).

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X PATCH 'https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/add-agent-group-followers' \
  -H 'X-Api-Key: <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{"agent_group_follower_ids": [0]}'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/add-agent-group-followers', {
  method: 'PATCH',
  headers: {
    'X-Api-Key': '<api-key>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({"agent_group_follower_ids": [0]}),
});
const data = await res.json();
```

```python Python
import requests

res = requests.patch(
    'https://{tenant}.atomicwork.com/api/v1/requests/{requestId}/add-agent-group-followers',
    headers={'X-Api-Key': '<api-key>'},
    json={"agent_group_follower_ids": [0]}
)
data = res.json()
```
