v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBUpdate Mock Data
Update the mock data for a template. Sets the input payload, recipient, tenant, actor, and batching configuration used for previews and testing.
patch/v2/{workspace}/template/{template_slug}/mock_data/
Path parameters
workspacestring required
template_slugstring required
Request body
Example request
{
"tenant_id": "default",
"batch_count": 2,
"recipient_sub_type": "user",
"recipient_distinct_id": "user-123"
}Response
Mock data updated successfully. Returns the same structure as Get Mock Data - both data (raw config) and transformed_data (resolved values).
object required