---
title: "Returns the user agent."
url: "https://sbx.developer-internal.sanofi.com/apis/httpbin-1/versions/da3754ed-f573-4cf9-a100-7688d77483f4/paths/user-agent/get"
---

> Full API specification: https://sbx.developer-internal.sanofi.com/apis/httpbin-1/versions/da3754ed-f573-4cf9-a100-7688d77483f4.md

# Returns the user agent.

`GET` `/user-agent`

## Responses

- `200` - OK

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: httpbin
  version: 1.0-oas3
servers:
  - url: https://httpbin.org
  - url: http://httpbin.apim.eu/
  - url: https://eu.httpbin.org
  - url: http://eu.httpbin.org
  - url: http://localhost:8000/test
paths:
  /user-agent:
    get:
      summary: Returns the user agent.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  user-agent:
                    type: string
                    example: curl/7.37.0
                required:
                  - user-agent
```
