Is there a way to accept course invitations via API?
Can you give a bit of context to what you are trying to do?
For example, are you wanting to accept your own invitations, or are you wanting to do something like make students who have been sent an invitation active without them having to accept the invitation?
If its the latter, you can simply enrol them again with: enrollment[enrollment_state]=active
I'm not sure of the answer to this question, but I'm going to share this with the Canvas Developers group in the Community to see if they can help.
It was the latter - thank you.
For anyone coming across this thread in the future, note that endpoints for accepting and rejecting an invitation were added to the Enrollments API in January 2018.
Hello there, Martha Zumack...
As I was reviewing older questions here in the Canvas Community, I noticed that there hasn't been any new activity in this particular topic since October 18, 2017. I'm not completely sure, but it sounds like the help from Peter Love has helped to address your question. If this is the case, please go ahead and mark Peter's reply as "Correct". However, if you are still looking for some help from members of the Community, please come back to this thread and post an update below so that we might be able to help you. I'm going to mark your question as "Assumed Answered" because we've not had any new activity in this thread for about four months. However, that won't prevent you or others from posting additional questions and/or comments below that are related to this topic. I hope that's alright with you, Martha. Looking forward to hearing back from you soon.
Retrieving data ...