---
title: "Add a Message"
method: POST
path: "/v2/message"
tags: ["Messages"]
---

# Add a Message

`POST /v2/message`

## Request

- Base URL: `https://api.avionte.com/talent`
- URL: `https://api.avionte.com/talent/v2/message`
- Auth: API key in header `x-api-key`

Adds a message to an employee.

## Headers

- `RequestId` string
- `Tenant` string, required
- `Authorization` string, required

## Request body

- object
  - `Id` string, guid: The identifier for the message.
  - `EmployeeID` integer: The identifier for the employee.
  - `Message` string: The body text of the message.
  - `MessageType` string: The action type for the message.
  - `Subject` string: A subject that accompanies the message.
  - `Date` string, date-time: The date the message was sent.
  - `UserName` string: The username of the person who sent the message.

## Response `201`

EmployeeMessage

- object
  - `Id` string, guid: The identifier for the message.
  - `EmployeeID` integer: The identifier for the employee.
  - `Message` string: The body text of the message.
  - `MessageType` string: The action type for the message.
  - `Subject` string: A subject that accompanies the message.
  - `Date` string, date-time: The date the message was sent.
  - `UserName` string: The username of the person who sent the message.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Access Denied
- `406`: Unsupported format(s) indicated by Accept header
- `415`: Unsupported format(s) indicated by the Content-Type header
- `429`: Too many requests
- `500`: An unexpected error occurred
- `502`: The request could not be completed because an error occurred in an upstream service

---

[API](https://skmtc.dev/avionte/apis/aviont-talent-api.md) - [All operations](https://skmtc.dev/avionte/apis/aviont-talent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/avionte/apis/aviont-talent-api/revisions/41cf396009af?raw)
