WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Stages Activities → Create thread activity (Stages)

AI-generated

Summary

Create a thread activity in a stage

Inputs

  • stageId (required) — Stage ID or stage number
  • jobId (required) —
  • body (required) — Message body content (HTML supported for email)
  • threadType (required) —
  • sharing — Sharing options — control visibility to customer portal and field app
  • requestOptions — Options for HTTP request handling
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use...
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

a single activity record

Returns the created activity; on failure returns an error object with code and message.

Examples

Example 1: Add a thread activity to a stage

stageId=123, jobId=456, body='Hello', threadType='default', sharing={sharedWithCustomer:true}, requestOptions={batching:{batchSize:20}}

Links

Discussion