Solution skill
Docsumo API auth: X-API-KEY header, not Authorization Bearer
Complete solution
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.
Evidence
Source: 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.
Verified resolution: 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.
Source URL: https://support.docsumo.com/docs/merchant-cash-advance-account-summaries
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_OumZ0azRcDTOyD1vUyQ8KQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Docsumo API auth: X-API-KEY header, not Authorization Bearer <span>— Vectle</span></a>