---
updatedAt: 2025-04-30T00:12:16.000Z
agentTools:
  projectIndex: https://apidoc.synergist.co.uk/llms.txt
---

# Secondary Owners

An activity can have one or more secondary owners (called 'others' in the web ui). These endpoints are for listing all the possible owners - and showing the selected ones, and also an API for updating the activity with selected secondary owners

| Parameter | Mandatory | Description                                | Examples               | More Info                                 |
| :-------- | :-------- | :----------------------------------------- | :--------------------- | :---------------------------------------- |
| API       | Yes       | The API area                               | activities.json        |                                           |
| General   | Yes       | Parameters described in API syntax section |                        | [Structure of an API call](https://apidoc.synergist.co.uk/reference/structure) |
| Company   | Yes       | The company number                         | company=1              |                                           |
| Action    | Yes       | The action to perform                      | action=secondaryowners |                                           |
| User IDs  | Yes       | Selected secondary owners                  | userid=\[242,192]      |                                           |

To update the secondary owners, use the Update action and the field name "activitySecondaryOwnersUserID"=`[]`

*Example request:*

```
http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&action=secondaryowners&userid=[242,192]&version=4
```

*Example response:*

```json
{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 172,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "userFullName": "Jim Smith",
      "userUserId": 344,
      "variable_selected": false
    },
    {
      "userFullName": "Aaron Cronshaw",
      "userUserId": 242,
      "variable_selected": true
    }
  ]
}
```