---
title: "Returns a greeting"
url: "https://developer.apiprimer.com/apis/hello-world-api/versions/9d197bd0-bdfd-4181-b431-80c0c52cef77/paths/hello/get"
---

> Full API specification: https://developer.apiprimer.com/apis/hello-world-api/versions/9d197bd0-bdfd-4181-b431-80c0c52cef77.md

# Returns a greeting

`GET` `/hello`

## Responses

- `200` - Successful response

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Hello World API
  version: 1.0.0
servers:
  - url: https://api.apiprimer.com
paths:
  /hello:
    get:
      summary: Returns a greeting
      responses:
        "200":
          description: Successful response
          content:
            text/plain:
              schema:
                type: string
                example: Hello, world!
```
