---
search:
  tags:
    - Contact
    - POST
seo:
  description: >-
    Receive a contact-form submission from the marketing website. Reference for
    the POST /contact endpoint in the Sarvex V1 API.
sidebar:
  label: Receive a contact-form submission from the marketing website
  badge: POST
title: Receive a contact-form submission from the marketing website
type: openapi-operation
---
`POST /contact`

**Request body** (`application/json`, required)

- `name` (string, required)
- `email` (string<email>, required)
- `message` (string)
- `source` (string) — Free-form origin tag supplied by the caller.

Request body example:

```json
{
  "name": "string",
  "email": "user@example.com",
  "message": "string",
  "source": "string"
}
```

**Responses**

- `202` — Submission accepted and forwarded by email.
- `401` — Missing or invalid credentials.
- `422` — Request body failed validation.

Response example, 401:

```json
{
  "error": {
    "code": "unauthorized",
    "message": "Authentication required.",
    "details": null
  }
}
```

Response example, 422:

```json
{
  "error": {
    "code": "validation_error",
    "message": "One or more fields are invalid.",
    "details": {
      "fields": {
        "email": "must be a valid email address"
      }
    }
  }
}
```
