cancel
Showing results for 
Search instead for 
Did you mean: 
daniel_olivas
Surveyor

Using API, How to get user info using only email address

Jump to solution

We have a Google Form that a teacher can fill out to create a new course.  On Submit, the form runs a Google Script to call the Canvas API and create the course.  We have configured the form to get the user's email address.  Is there a way for us to pass the user's email address to Canvas using the API to retrieve the user's Canvas information?

Or, is there a way to get the User ID of a user, when all you have is the user's email address?

Thanks,

0 Kudos
1 Solution

Accepted Solutions
pklove
Learner II

Not ideal, but you can use a search on users:

    /api/v1/accounts/account_id/users?search_term=email_address

View solution in original post

2 Replies
pklove
Learner II

Not ideal, but you can use a search on users:

    /api/v1/accounts/account_id/users?search_term=email_address

View solution in original post

Perfect.  Thanks!