---
title: "Prompts the user for authorization using bearer authentication."
url: "https://seriousmonkeybusiness.shermett.me/apis/httpbinorg-0/versions/cf5887fc-2a8e-440f-bf06-cb4d956f625f/operations/get_bearer"
---

> Full API specification: https://seriousmonkeybusiness.shermett.me/apis/httpbinorg-0/versions/cf5887fc-2a8e-440f-bf06-cb4d956f625f.md

# Prompts the user for authorization using bearer authentication.

`GET` `/bearer`

Operation ID: `get_bearer`

## Header parameters

- `Authorization` (string, optional)

## Responses

- `200` - Sucessful authentication.
- `401` - Unsuccessful authentication.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: httpbin.org
  version: 0.9.2
servers:
  - url: https://httpbin.org
paths:
  /bearer:
    get:
      parameters:
        - in: header
          name: Authorization
          schema:
            type: string
      responses:
        "200":
          description: Sucessful authentication.
        "401":
          description: Unsuccessful authentication.
      summary: Prompts the user for authorization using bearer authentication.
      tags:
        - Auth
      operationId: get_bearer
```
