---
title: "Creates a Message"
method: POST
path: "/api/2026-10-01/resources/ats/messages"
tags: ["Ats > Message"]
---

# Creates a Message

`POST /api/2026-10-01/resources/ats/messages`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/ats/messages`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `recruitment`
  - API key in header `x-api-key`

Creates a Message

## Request body `multipart/form-data`

- object
  - `content` string, required
  - `sent_by_id` string, required
  - `sent_by_type` 'candidate' | 'user', required
  - `ats_application_id` string, required
  - `attachments[]` string[], required
  - `topic` string, required
  - `send_as_corporate_email` boolean, required
  - `delayed_until` string

## Response `201`

CREATED

- AtsMessage
  - `id` string, required
  - `content` string, required
  - `ats_conversation_id` string, required
  - `sent_by_id` string, required
  - `sent_by_type` string, required
  - `created_at` string, required
  - `attachments` object[], required
    - `filename` string, required
    - `url` string, required
    - `byte_size` integer, required
    - `content_type` string, required
    - `created_at` string
  - `topic` string, required
  - `delayed_until` string
  - `sent_at` string
  - `delivered_at` string
  - `opened_at` string
  - `last_error_at` string

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/ats/messages/post.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
