Actions227
- Jobs Actions
- Search jobs or stages with complex filters
- Get job by ID or job number
- Cancel a job
- Create a new job
- Create a new job from template
- Set job finance marks
- Update job status
- Update a job
- Dispatch a job
- List job stages
- Get job stage
- List stage items
- Create stage items
- Get stage item
- Update stage item
- Delete stage item
- Items Actions
- Pending Items Actions
- Stages Pending Items Actions
- Stages Actions
- Stages Resources Actions
- Stages Appointments Actions
- Settings Reference Data Actions
- Settings Templates Actions
- Settings Items Actions
- Settings Custom Fields Actions
- Attachments Actions
- Jobs Activities Actions
- List activities (Jobs)
- List email or SMS templates for this record (Jobs)
- List merge fields for this record's templates (Jobs)
- Get activity by ID (Jobs)
- Delete activity (Jobs)
- Create note activity (Jobs)
- Create email activity (Jobs)
- Create SMS activity (Jobs)
- Preview an email activity (Jobs)
- Preview an SMS activity (Jobs)
- Create phone activity (Jobs)
- Create integration activity (Jobs)
- Create thread activity (Jobs)
- Stages Activities Actions
- List activities (Stages)
- List email or SMS templates for this record (Stages)
- List merge fields for this record's templates (Stages)
- Get activity by ID (Stages)
- Delete activity (Stages)
- Create note activity (Stages)
- Create email activity (Stages)
- Create SMS activity (Stages)
- Preview an email activity (Stages)
- Preview an SMS activity (Stages)
- Create phone activity (Stages)
- Create integration activity (Stages)
- Create thread activity (Stages)
- Jobs Files Actions
- Stages Files Actions
- Jobs Tasks Actions
- Stages Tasks Actions
- Jobs Contacts Actions
- Crm Customers Actions
- Crm Employees Actions
- Crm Contractors Actions
- Crm Suppliers Actions
- Crm Companies Actions
- Crm External Users Actions
- Crm Contacts Actions
- Crm Invites Actions
- Crm Sites Actions
- Webhooks V2 Actions
- List webhook-supported entity types and their available events
- List the webhook events available for a given entity type
- List the filter fields available when subscribing to a given entity type
- List webhook subscriptions
- Create a webhook subscription
- Get a webhook subscription by ID
- Update a webhook subscription
- Delete a webhook subscription
- Regenerate the signing secret for a webhook subscription
- Send a test event to a webhook subscription
- List recent delivery attempts for a webhook subscription
- Data Export Actions
- Agents Actions
- Flags Actions
- Service Plans Actions
- Service Plans Lines Actions
- Service Plans Lines Tasks Actions
- Service Plans Lines Tasks Subtasks Actions
- Sales Leads Actions
- Sales Opportunities Actions
- Mcp Actions
Stages Activities → Preview an SMS activity (Stages)
AI-generatedSummary
Preview an SMS activity for a stage by sending a test message with given parameters, optionally using a template and controlling message merge behavior.
Inputs
- stageId (required) — Stage ID or stage number
- jobId (required) —
- templateId — Template ID to pre-populate fields from a template
- body — Message body content (HTML supported for email)
- to — Recipients
- labelIds — Comma-separated array of label or tag IDs to attach to the activity (e.g. "id1,id2")
- sharing — Sharing options to control visibility of the activity in the customer portal and field app
- merge — Flag to indicate whether to merge message content or send as-is
- requestOptions — Options to configure the HTTP request, such as batching, proxy, timeout, and SSL certificate handling
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
- proxy — HTTP proxy to use. Supports authentication via URL (e.g. http://username:password@proxy:3128)
- timeout — Time in milliseconds to wait for the server's response before aborting the request
Output shape
a JSON object representing the preview of the SMS activity, containing details such as status, message ID, and delivery info
The response may include optional fields; successful preview returns a 200 response with the preview data, while errors return an error object with a message.
Examples
Example 1: Send a test SMS preview for a stage using a specific job and template
stageId: "123", jobId: "456", templateId: "tmpl_001", body: "Test message", to: {"customer": "john@example.com"}, sharing: {"sharedWithCustomer": true}