list_course_users
Retrieve users in a Canvas course with optional filters for enrollment type, state, roles, and additional fields like email or enrollments. Supports searching by name or ID and sorting.
Instructions
List users in a course with optional Canvas filters. Use include to request email, enrollments, avatar_url, bio, and other fields otherwise omitted from the default response. Use enrollment_type / enrollment_state to narrow by role or status, search_term to filter by name/login, user_ids to fetch a specific subset, and sort/order to control ordering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | The Canvas course ID | |
| enrollment_type | No | Filter by one or more enrollment types | |
| enrollment_state | No | Filter by enrollment state (e.g. active, invited) | |
| include | No | Extra fields to include on each user (Canvas include[] param) | |
| user_ids | No | Restrict the result to the given user IDs | |
| search_term | No | Partial name or full login/SIS ID to filter users by | |
| sort | No | Sort field | |
| order | No | Sort order |