Staff Messages

Create a new Staff Message

OAuth Scope

This endpoint requires the following OAuth scope publish_messages.

Record UUID

UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.

post/staffmessage.json

Request body

uuidstring uuid

Unique identifier for this record

active0 | 1

Record active/deleted flag. Valid values are [0,1]

edit_datestring

Timestamp at which record was last modified

from_staff_uuidstring uuid
to_staff_uuidstring uuid
sent_timestampstring
delivered_timestampstring
read_timestampstring
messagestring
regarding_job_uuidstring uuid
attached_jsonstring

Example request

{
  "uuid": "123e4567-1c8f-40c2-a5c0-233123836c5b",
  "edit_date": "2025-09-01 12:00:00",
  "from_staff_uuid": "123e4567-c43e-40f3-b36d-23312741015b",
  "to_staff_uuid": "123e4567-f929-4647-9417-23312a8692bb",
  "sent_timestamp": "2025-09-01 12:00:00",
  "delivered_timestamp": "2025-09-01 12:00:00",
  "read_timestamp": "2025-09-01 12:00:00",
  "regarding_job_uuid": "123e4567-0219-4490-b8df-23312b5e0fbb"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes