---
title: "Send an email to a contact"
method: POST
path: "/smail/contact"
tags: ["smail"]
---

# Send an email to a contact

`POST /smail/contact`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/smail/contact`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/smail/contact/post.ts> (a function with typed inputs; its response is checked against the schema)

Send an email to a contact

## Request body

- SmailContactPayload
  - `Email` string
  - `Message` string
  - `Name` string

## Response `200`

Successful operation.

- string

## Other responses

- `400`: Possible error messages: * Email is required * Name is required * Message is required
- `403`: User does not have access to this resource.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
