Users-Endpoint Examples

User

# Fetches all users from this workspace
\Notion::users()
        ->limit(5) // limit is optional
        ->all()
        ->asCollection();

# Retrieves data for a specific user in this workspace
\Notion::users()
        ->find($userId);