Paginate through Canvas REST API submission results using Link headers without breaking access-token authentication.

domain: instructure.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an assignment with POST /api/v1/courses/:course_id/assignments using assignment[...] hash fields like name, submission_types, points_possible, and due_at.
  2. Fetch submissions with GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions, authenticating via an Authorization: Bearer header.
  3. Read the response's Link header (rel="next", "prev", "first", "last") to walk through pages, since the default page size is only 10 items.
  4. If authenticating via an access_token query parameter, manually re-append it to each Link URL, since Canvas strips it from generated Link header URLs.
  5. Watch the X-Request-Cost header and back off before hitting a 403 Rate Limit Exceeded response from Canvas's cost-based throttling.

Known gotchas

Related routes

Retrieve and grade student submissions via Canvas REST API
instructure.com · 5 steps · unrated
Obtain a WHCC Order Submit API access token to authenticate print-order requests
whcc.com · 5 steps · unrated
Paginate correctly through GitHub API list endpoints
github-api · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans