<!-- Source: https://www.wappi.dev/body-data -->

# Body Data

Wappi will pass through specific data into each endpoint function by default. This data is to allow observability and other middleware that you can add.

## Default Body Data Types

```typescript
// CoreHelpers/types.ts
type Env = 'localhost' | 'dev' | 'stage' | 'prod'

interface WappiBaseNoAuthBody {
    correlationId: string
    headers: any
    env: Env
}

interface WappiBaseAuthenticatedBody extends WappiBaseNoAuthBody {
    auth: SuccessResponse
}
...
```

Inside the endpoint, you will receive all the data inside the **Body** parameter.

URL: https://www.wappi.dev/body-data
