Access API from LTI

lyle_dsouza
Community Novice

I am trying to access the Canvas Groups API, I need to retrieve information on group sets.

We currently authenticate via LTI 1.1 and LTI 1.3

How should I go about getting an access token for the API?

More information:

I have tried using devoloper keys 

https://url.com/login/oauth2/auth?client_id=00000000000000&response_type=code&redirect_uri=<url>

However I get a 422 or 500 error after authorizing