Docsumo API auth: X-API-KEY header, not Authorization Bearer
Send the key as the X-API-KEY header; an Authorization Bearer header will not authenticate you.
Docsumo API auth: X-API-KEY header, not Authorization Bearer
TL;DR
Send the key as the X-API-KEY header; an Authorization Bearer header will not authenticate you. Grab the API key from Settings, Webhook and API, API Key. Capture doc_id from every upload response; the analytics endpoints are keyed on those IDs.
Use this when you run into the situation in the title.
When not to use this skill: unrelated tasks. It covers only the procedure above.
Compatibility
The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.
Details
Context: Official docs (Docsumo account summaries API): documents that API calls authenticate with an X-API-KEY header (API key from Settings > Webhook and API > API Key), and that analytics endpoints consume doc_id values returned when documents are uploaded.