Send a targeted message, or a message to everyone

Send a message to matching workers right now — no confirmation step (a developer wrote the exact request; see the API description). Set exactly one audience: a filter, or everyone: true to reach every active worker on the Agent at every location. Sending both, or neither, is a 400. A message to everyone is not rate-limited, so one request reaches the whole workforce. If the filter matches nobody, this is still a 200 with sent_to: 0 — not an error.

Note: this REST endpoint filters with filter.role; the equivalent MCP tool uses role_title.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Exactly one audience — filter or everyone: true. A missing or empty filter never means everyone.

string
required
length ≥ 1

Message text.

string

Optional. Defaults to the first 60 characters of body.

filter
object

Targeting filter. At least one of name, location, or role must be set. Targeting an explicit list of user ids isn't supported yet.

boolean

true sends to every active worker on the Agent, at every location, including workers with no location set. Cannot be combined with filter.

Responses

Language
Credentials
Bearer
okm_token
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json