# useDocumentCollaborators

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/hooks/useProjectMembers.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/hooks/useProjectMembers.ts#L170)

useDocumentCollaborators - Hook for fetching users who can be mentioned in a document

This is a convenience wrapper that determines the appropriate members to fetch
based on the document context.

## Signature

```ts
function useDocumentCollaborators(documentId: string): UseProjectMembersReturn
```

## Parameters

| Name | Type |
|---|---|
| `documentId` | `string` |

**Returns:** `UseProjectMembersReturn`
