---
title: "Send a message to the team"
method: POST
path: "/api/contact"
tags: ["contact"]
---

# Send a message to the team

`POST /api/contact`

## Request

- Base URL: `https://jointhestudentlife.com`
- URL: `https://jointhestudentlife.com/api/contact`
- Auth: none required

The endpoint behind the website forms. Emails support@jointhestudentlife.com with reply to set to the sender. Only send with the person's consent and their own details. Meant for server side callers: browser pages on other sites get 403. About 20 messages per minute per client.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `name` string, required
  - `email` string, email, required
  - `message` string, required
  - `subject` string
  - `city` string
  - `form_type` string: Which form this is, e.g. agent-question.
  - `dry_run` boolean: Sandbox: validate the message and stop before anything is sent.

## Response `200`

Accepted

- object
  - `success` boolean
  - `dry_run` boolean

## Other responses

- `400`: Missing or invalid fields
- `403`: A browser page on another site (forbidden_origin)
- `405`: Only POST
- `409`: A request with this Idempotency-Key is still being processed
- `422`: Idempotency-Key reused with a different body
- `429`: Rate limited
- `502`: Could not send
- `503`: Not configured

---

[API](https://skmtc.dev/jointhestudentlife/apis/the-student-life-api.md) · [All operations](https://skmtc.dev/jointhestudentlife/apis/the-student-life-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jointhestudentlife/apis/the-student-life-api/revisions/d04925a4902b?raw)
