The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I am developing a web tool that utilizes cURL with developer key to access the Canvas API. I am currently able to login and use some API queries. However, I am currently trying to gain access to "v1/users/{user_id}/enrollments?include[]=last_activity_at" and I am getting an "unauthorized user" error. Does anyone know what the minimal permissions are to gain access to a users "last_activity_at" variable?
Solved! Go to Solution.
I discovered the answer to this question. If you want to access the variable "last_activity_at" you should go through this api call "v1/courses/{course_id}/users
I discovered the answer to this question. If you want to access the variable "last_activity_at" you should go through this api call "v1/courses/{course_id}/users
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in