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!
Hello!
I'm having a problem with the API. I'm trying to fetch all the users for a given course, but I want their avatar_url. In the documentation it's stated that including the "include[]" parameter with "avatar_url" as value will do the job but it doesn't always work.
More specifically, if I use an access_token what was manually generated for testing it gives the users with the avatar_url, but if I use an access_token generated by Oauth flow it gets the user without the avatar_url. The courses are ones in which the user that logged in is an instructor, so I doubt it's a permission issue.
I've read the documentation but I've found nothing. Does someone know what the problem may be?
Thanks!
Solved! Go to Solution.
Hi Raúl --
There's a brand-new setting (still in beta at this point; to be released in production on Feb. 15th) that lets you allow includes[] parameters on API calls that use OAuth tokens. Currently the includes[] parameter is ignored when OAuth is used. More details here:
Hope this helps!
--Colin
Hi Raúl --
There's a brand-new setting (still in beta at this point; to be released in production on Feb. 15th) that lets you allow includes[] parameters on API calls that use OAuth tokens. Currently the includes[] parameter is ignored when OAuth is used. More details here:
Hope this helps!
--Colin
Wow, thanks! No chance that I discovered that for myself.
One question though. I communicated with the provider of my developer key and she said she cant see said setting, which makes since it's in beta. I will have to wait until it goes into production before being able to change that setting or is there a way for my provider to enter beta settings?
Thanks!
They'll need to wait until after Feb 15th for that setting to be visible in production; they can't set it before then.
--Colin
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