---
title: "Broadcast an operator message to assigned resources"
method: POST
path: "/v1/jobs/{jobId}/messages"
tags: ["Jobs"]
---

# Broadcast an operator message to assigned resources

`POST /v1/jobs/{jobId}/messages`

## Request

- Base URL: `https://api.workwing.io`
- URL: `https://api.workwing.io/v1/jobs/{jobId}/messages`
- Auth: HTTP bearer

Sends a message body to every resource assigned to the job. Returns one record per recipient. A job with no assigned resources (or one not visible to the caller) returns an empty array.

## Path parameters

- `jobId` string, uuid, required

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `body` string: Message body (1-2000 characters after trimming)

## Response `200`

One message per recipient

- object: One message per recipient
  - `data` object[], required
    - `id` string, uuid, required
    - `job_id` string, uuid, required
    - `recipient_user_id` string, uuid, required
    - `sender_user_id` string, uuid, nullable, required
    - `body` string, required
    - `created_at` string, date-time, required
    - `read_at` string, date-time, nullable, required
  - `meta` object, required
    - `request_id` string, required
    - `timestamp` string, date-time, required

---

[API](https://skmtc.dev/workwing/apis/workwing-api.md) · [All operations](https://skmtc.dev/workwing/apis/workwing-api/llms.txt) · [OpenAPI document](https://skmtc.dev/workwing/apis/workwing-api/revisions/54bb14368a35?raw)
