---
title: "Trigger New Message Email to Employer"
method: POST
path: "/v1/email/trigger/newMessage/employer"
tags: ["Email Triggers"]
---

# Trigger New Message Email to Employer

`POST /v1/email/trigger/newMessage/employer`

## Request

- Base URL: `https://api.bluehive.com`
- URL: `https://api.bluehive.com/v1/email/trigger/newMessage/employer`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bluehive-health/apis/bluehive-api/docs/v1/email/trigger/newMessage/employer/post.ts> (a function with typed inputs; its response is checked against the schema)

Send an email notification to employer admins when a new message is posted on an order by a provider or concierge.

## Request body

- object
  - `orderItemId` string, required: The OrderItem ID to trigger the email for
  - `senderType` 'provider' | 'concierge', required: Who sent the message: provider or concierge

## Response `200`

Default Response

- object
  - `sent` boolean, required: Whether the email was sent successfully
  - `recipientCount` number: Number of recipients the email was sent to
  - `reason` string: Reason why the email was not sent (if sent is false)

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `429`: Default Response
- `500`: Default Response

## Changes

- **2026-10-16** `a8bcbdf02e33`: 1 info
  - endpoint added
- **2026-08-21** `ae97a9add0ba`: 1 breaking
  - api path removed without deprecation
- **2026-03-02** `8c1496e8c14a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bluehive-health/apis/bluehive-api/changes/v1/email/trigger/newMessage/employer/post.md)

---

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