---
title: "Creating and sending an email message to a candidate"
method: POST
path: "/jobs/{jobId}/applications/{applicationId}/messages"
tags: ["Applications"]
---

# Creating and sending an email message to a candidate

`POST /jobs/{jobId}/applications/{applicationId}/messages`

Creates and sends an email message based on a template to a candidate.

## Path parameters

- `jobId` integer, required
- `applicationId` integer, required

## Request body

- MessageEmailSend
  - `from` string — E-mail of the company user. Defaults to company's e-mail address
  - `templateId` integer, required — Template identifier
  - `allowReply` boolean, required — The candidate is allowed to reply the message

## Response `201`

A confirmation of successfull creation of the message

## Other responses

- `400` — BadRequest / Invalid Input
- `401` — Unauthorized
- `403` — Forbidden
- `404` — NotFound / Resource not found

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/revisions/3f26defa2a42/schema)
