Staff Messages

Create a new Staff Message

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-e7c0-48ce-8637-231d2207b96b",
  "edit_date": "2025-08-01 12:00:00",
  "from_staff_uuid": "123e4567-205c-4a50-ae09-231d2b78fddb",
  "to_staff_uuid": "123e4567-c891-426c-a6b1-231d2544793b",
  "sent_timestamp": "2025-08-01 12:00:00",
  "delivered_timestamp": "2025-08-01 12:00:00",
  "read_timestamp": "2025-08-01 12:00:00",
  "regarding_job_uuid": "123e4567-8894-4d94-9c3b-231d28220f4b"
}

Response

Success

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes