Skip to content

Glossary: Building APIs with FastAPI

API key

Also written: API keys

A long secret string that a program, such as a café's ordering system, sends with each request to identify itself to an API. It is commonly sent in a header such as `X-API-Key`.

Where the book teaches it

Related terms

APIKeyHeaderAuthentication / authorizationHeader