> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replied.dk/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit Request

> Submit a website message to Replied.

Use this endpoint to send a form submission into Replied.

## Endpoint

```http theme={null}
POST https://www.replied.dk/api/v1/submit/YOUR_API_KEY
Content-Type: application/json
```

## Request body

<ParamField body="name" type="string" required>
  Sender name.
</ParamField>

<ParamField body="email" type="string" required>
  Sender email address.
</ParamField>

<ParamField body="message" type="string" required>
  Main message text.
</ParamField>

<ParamField body="phone" type="string">
  Sender phone number.
</ParamField>

<ParamField body="subject" type="string">
  Message subject.
</ParamField>

Extra JSON fields are stored with the raw payload for review inside Replied.

## Example

```bash theme={null}
curl -X POST https://www.replied.dk/api/v1/submit/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Jamie Chen",
    "email": "jamie@example.com",
    "subject": "Demo",
    "message": "Please send demo times."
  }'
```

## Success response

```json theme={null}
{
  "success": true
}
```
