Update the mock data for a template. Sets the input payload, recipient, tenant, actor, and batching configuration used for previews and testing.
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Input payload data with sample variable values.
Tenant ID for preview.
"default"
Whether to simulate batched/digest data.
Number of batched events to simulate (only relevant when is_batch is true).
2
Type of recipient.
user, object "user"
Distinct ID of the test recipient (when recipient_sub_type is user).
"user-123"
Object identifier (when recipient_sub_type is object).
Type of actor.
user, object Distinct ID of the actor user.
Object identifier for actor.
Mock data updated successfully. Returns the same structure as Get Mock Data — both data (raw config) and transformed_data (resolved values).
The response is of type object.