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 trying to view messages sent to my Inbox via the API using the documentation here:
Canvas LMS REST API Documentation
Which according to the API is "for accessing the messages (emails, sms, twitter, etc) that have been sent to a user."
So I have run a simple test. I asked somebody to send me a message via the Inbox tool. I see the message sent to me in the UI. However when I try to see messages sent to me via the API I do not see this new message.
The only results I can see via the API call are about some automated messages from CANVAS to me like "You're signed up to receive a weekly report..." and I don't see the results of my simple test anywhere.
Can someone help steer me in the right direction?
Solved! Go to Solution.
That API is listed as being in Beta and I've sometimes found that they don't work as described.
The second thing is: are sure it's a communication message and not a conversation? You said you had them send it to you using the INBOX tool, but that doesn't sound like it would be a comm_message.
You might try using the Conversations API instead. It returns a lot of things for me while the CommMessages one just told me I didn't have anything.
@tarkesh_d_patel , this type of technical question might get more of a response from the Canvas Developers group, which is focused on the back end of Canvas.
If it's ok with you I can move it over to that group? You might want to also join the group so you can check out the other goodies they've already shared/posted.
Kona, yes that would be great. I have also now joined the Canvas Developers group. Thank you.
It looks like you've already got a response (from someone in the Developers Group!), but I went ahead and moved your question over to see if anyone else has a suggestion.
That API is listed as being in Beta and I've sometimes found that they don't work as described.
The second thing is: are sure it's a communication message and not a conversation? You said you had them send it to you using the INBOX tool, but that doesn't sound like it would be a comm_message.
You might try using the Conversations API instead. It returns a lot of things for me while the CommMessages one just told me I didn't have anything.
Awesome! Glad you got an answer so quickly! Feel free to go ahead and mark James' answer as correct! ![]()
Glad I could help. The APIs documentation isn't always clear and what seems obvious turns out to not be the way it was implemented.
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