Upload a file and publish an article via the figshare API

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

Steps

  1. Authenticate with an OAuth2 token (or personal token) and POST to /v2/account/articles with title and other metadata to create a private draft article
  2. From the response, take the new article's id, then POST to /v2/account/articles/<id>/files to initiate a file upload and receive an upload_url/upload_token
  3. Upload the file in parts to the returned upload service URL, following the chunked-upload protocol (including MD5 checksum verification) until all parts are sent
  4. POST to the file's completion endpoint to signal the upload is finished and let figshare reassemble/validate the file
  5. PATCH /v2/account/articles/<id> to fill in any remaining required metadata (authors, description, categories, license)
  6. POST to /v2/account/articles/<id>/publish to make the article public and mint its DOI

Known gotchas

Related routes

Upload a photo/file attachment to a field service work order via API.
fiixlabs.github.io · 5 steps · unrated
Upload and publish a video to TikTok via the Content Posting API
tiktok-api · 6 steps · unrated
Read and export Figma file contents via API
figma.com · 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