Update Mock Data
Update the mock data for a template. Sets the input payload, recipient, tenant, actor, and batching configuration used for previews and testing.
Documentation Index
Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Body
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.
Response
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.