Section: Authentication patterns

Bearer token header

http
http
Authorization: Bearer eyJhbGciOi...
Explanation

Bearer tokens are the most common auth mechanism for modern APIs.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Authentication patterns
API key header
Send a static API key in a header.
OpenIn sheethttpsame section
Do not put tokens in the URL
Keep credentials out of path and query strings.
OpenIn sheettextsame section
Return 403 for insufficient role
Authenticated but lacks required permission.
OpenIn sheethttpsame section
Path-based versioning
Explicit major version in the URL.
OpenIn sheethttp1 tag match
Media type versioning
Negotiate version with the Accept header.
OpenIn sheethttp1 tag match
Date-based compatibility header
Pin behavior by release date.
OpenIn sheethttp1 tag match