Message a work order's vendor
Sends the vendor a message about the work order — as a chat message, as an email, or both. Send whichever bodies you want; leaving one out simply means that channel is not used. Requires the work_orders:write permission.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
workOrderIdstringrequiredThe work order to act on. A Snowflake id, sent as a decimal string.
example: 1841200938471029248
Body
application/json
Attachments are named by upload session id from Start a file upload for a vendor message — this endpoint does not carry file content itself.
chatMessagestringThe text to post into the vendor chat. Leave it out to send nothing by chat. Whitespace-only text counts as nothing.
emailMessagestringThe body of the email. Leave it out to send no email.
subjectstringThe email's subject line.
chatAttachmentSessionIdsstring[]Upload sessions to attach to the chat message.
emailAttachmentSessionIdsstring[]Upload sessions to attach to the email.