---
title: Lutril demo request API
canonical: https://lutril.com/docs/api.md
---

# Demo request API

`POST /api/demo-request`

Submit a demo request from the public Lutril website.

## Request body

Content-Type: `application/json`

```json
{
  "email": "you@company.com",
  "teamSize": "50-250",
  "website": ""
}
```

## Fields

- `email`: required work email address.
- `teamSize`: required. One of `50-250`, `250-1000`, `1000-5000`, `5000+`.
- `website`: optional honeypot field. Leave it empty.

## Responses

- `200 OK`: `{"ok": true}`
- `400 Bad Request`: invalid payload or invalid field values
- `413 Payload Too Large`: request body too large
- `415 Unsupported Media Type`: body must be JSON
- `429 Too Many Requests`: temporary rate limit
- `502 Bad Gateway`: downstream email delivery failed

## Method support

- `POST` submits the request.
- `OPTIONS` is available for preflight handling.

## Notes

- The endpoint is rate-limited per client IP.
- Demo requests trigger an internal notification email on the website backend.
- Valid submissions also trigger a confirmation email to the requester.

## Example

```bash
curl -X POST https://lutril.com/api/demo-request \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "you@company.com",
    "teamSize": "50-250",
    "website": ""
  }'
```
