action drchrono_users_list { label: "users_list" description: "Retrieve or search users, `/api/users/current` can be used to identify logged in user, it will redirect to `/api/users/{current_user_id}`" provider: drchrono method: GET path: "/api/users" encoding: json input: { type: "object" properties: { cursor: { type: "string" description: "The pagination cursor value." } doctor: { type: "integer" } page_size: { type: "integer" description: "Number of results to return per page." } } additionalProperties: false } output: { type: "object" description: "Paginated Result" properties: { data: { type: "array" description: "result data" items: { type: "object" properties: { doctor: { type: "string" description: "For staff members, this is their primary physician's ID. For doctors, it is their own ID." } id: { type: "string" } is_doctor: { type: "string" description: "Mutually exclusive with `is_staff`" } is_staff: { type: "string" description: "Mutually exclusive with `is_doctor`" } permissions: { type: "string" description: "Permissions the user has." } practice_group: { type: "string" description: "The ID of the practice group this user belongs to. This can be used to identify users in the same practice." } username: { type: "string" } } } } next: { type: "string" description: "Next Paginated page" } previous: { type: "string" description: "Previous paginated page" } } } }