http://localhost:8080/callback as one of its redirect URIs, and its client ID
and secret. Don’t have one yet? Create an app
first; it takes a minute.
1
Send yourself to the sign-in page
Create a PKCE pair and build the sign-in URL:Open the printed URL in your browser, sign in with your Ed Controls
account and approve the consent screen. The browser then goes to
http://localhost:8080/callback?state=quickstart&code=.... Nothing runs on
that port, so the page fails to load: that’s fine. Copy the code value
from the address bar.2
Exchange the code for a token
invalid_grant, repeat the previous step. The response holds your token:access_token as your Bearer token (TOKEN below). It expires after
expires_in seconds; get a new one with the refresh_token, see
Sign in with Ed Controls.3
List your projects
4
Note the database identifier
Almost every other endpoint takes a
database parameter. Each project is
stored in its own database, so the database value identifies the
project — take it from the project list response and use it in calls
like:Next steps
Read tickets
Filter, paginate and aggregate tickets.
Upload files & maps
Push documents and drawings into a project.
