Examples for Users-Endpoint

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);