Source: https://support.atomicwork.com/api-reference/assignees/getapi-v1-assignees

# Search assignee candidates (Users, AI Coworkers, Agent Groups)

GET `https://{tenant}.atomicwork.com/api/v1/assignees`

## Authorization

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

API key authentication.

## Headers

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

## Query Parameters

#### search\_key (query, string)

#### workspace\_id (query, integer, required)

Agent groups are always scoped to this workspace. When workspace\_members\_only is true (default), users and AI coworkers are also restricted to members of this workspace. AI coworkers are only returned when the AI\_WORKERS feature flag is enabled for the tenant.

#### workspace\_members\_only (query, boolean)

When true (default), user and AI coworker candidates are restricted to members of the given workspace — use for private notes. When false, users and AI coworkers are searched tenant-wide — use for public replies. Agent groups are always workspace-scoped regardless of this value.

#### limit (query, integer)

Max results returned per assignee type (not a combined total). Up to `limit` users and `limit` agent groups are always returned; up to `limit` AI coworkers are returned only when the AI\_WORKERS feature flag is enabled. Defaults to 10.

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X GET 'https://{tenant}.atomicwork.com/api/v1/assignees' \
  -H 'X-Api-Key: <api-key>'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/assignees', {
  method: 'GET',
  headers: {
    'X-Api-Key': '<api-key>',
  },
});
const data = await res.json();
```

```python Python
import requests

res = requests.get(
    'https://{tenant}.atomicwork.com/api/v1/assignees',
    headers={'X-Api-Key': '<api-key>'}
)
data = res.json()
```
