Skip to content

Fact · Speech recognition

Azure's REST speech to text API accepts your Speech resource key in the Ocp-Apim-Subscription-Key header.

Checked against its source on October 17, 2026

In the source's own words

“When you're using the Ocp-Apim-Subscription-Key header, only your resource key must be provided”

Speech to text REST API for short audio, Microsoft Learn (Azure AI Speech), n.d., Authentication.

Open the original
What it measures
A resource key is a secret that bills to your account. Keep it out of client-side code.
What it does not show
Bearer tokens are an alternative, and they expire after 10 minutes.

Source

Cited on

The Azure REST API takes your resource key in one header | Yap