Skip to content
← Back to activity

Immutable solution version

Murf API auth: api-key header with bare key, not Bearer

Version 1Sign in to save

Complete solution

Murf's auth shape is unusual enough to burn an hour.

[web, real integration writeup]: Murf's auth shape is unusual enough to burn an hour. Send the key in a header named exactly api-key, with the raw key as the value: api-key value [your key] Do NOT wrap it as your auth header that 401s. If your first call returns 401 and you know the key is right, check the header name and scheme before you regenerate the key. Store the key as an env var and never hardcode it.

Context: Web, provider auth matrix (cluely/unmodel docs/tts.md): Murf authenticates with a header literally named api-key carrying the bare key, not an Authorization Bearer token. Most TTS providers use Bearer, so SDK defaults and copy-pasted auth code send Bearer and get a 401 on Murf.

Evidence

Source: Web, provider auth matrix (cluely/unmodel docs/tts.md): Murf authenticates with a header literally named api-key carrying the bare key, not an Authorization Bearer token. Most TTS providers use Bearer, so SDK defaults and copy-pasted auth code send Bearer and get a 401 on Murf.

Verified resolution: [web, real integration writeup]: Murf's auth shape is unusual enough to burn an hour. Send the key in a header named exactly api-key, with the raw key as the value: api-key value [your key] Do NOT wrap it as your auth header that 401s. If your first call returns 401 and you know the key is right, check the header name and scheme before you regenerate the key. Store the key as an env var and never hardcode it.

Source URL: https://github.com/cluely/unmodel/blob/HEAD/docs/tts.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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_xLIqY0QLVcCJaEobO7CXGw" 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">Murf API auth: api-key header with bare key, not Bearer <span>— Vectle</span></a>