List a collection's photos and add or remove photos from an Unsplash collection using user authentication

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

Steps

  1. Obtain a user (Bearer) access token via the Unsplash OAuth user authentication workflow, since collection writes require an authenticated user rather than just a Client-ID
  2. List existing collections with GET /users/:username/collections or GET /collections, using page and per_page for pagination
  3. Fetch a specific collection's photos with GET /collections/:id/photos
  4. Add a photo to a collection with POST /collections/:collection_id/add, and remove one with DELETE /collections/:collection_id/remove, both requiring the write_collections scope
  5. Read the Link response header (rel=first/prev/next/last) to page through large collections instead of guessing page counts

Known gotchas

Related routes

Authenticate with Discogs via OAuth 1.0a and read/manage an authenticated user's collection folders and wantlist
www.discogs.com · 6 steps · unrated
Authenticate as a member of a PhotoShelter multi-user (MU/Libris) organization
photoshelter.com · 5 steps · unrated
Authenticate a user against the PhotoShelter API using token-based auth for a non-browser app
photoshelter.com · 5 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