Edit Assignment Values
Edit Assignment Values
Submit or update KPI values for a campaign-assignment
PATCH
Edit Assignment Values
Edit Assignment Values
Submit or update KPI values for a specific campaign-assignment. The current user must either be the data owner or hold thecustom_kpi::manage_config permission.
Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
string
required
UUID of the parent dataset
string
required
UUID of the campaign
string
required
UUID of the campaign-assignment
Body Parameters
array[object]
required
KPI values to submit (max 100, no duplicate
kpi_id). Each entry:Only send the value field matching the KPI’s
value_type.array[string]
UUIDs of evidence files to attach. Replaces the current attachment pool — omit to leave attachments unchanged, send
[] to clear them.Response
Returns an array of saved KPI value objects (HTTP 200).string
Value UUID.
string
Assignment UUID this value belongs to.
string | null
Response set UUID (for public form submissions).
null for admin edits.string
KPI UUID this value answers.
number | null
Numeric value (for
number/percentage KPIs).string | null
Text value (for
text KPIs).string | null
Date value (for
date KPIs, ISO 8601 date).string | null
Selected option UUID (for
select KPIs).string
When this value was submitted (ISO 8601).
string
Email of the user who submitted the value.
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Validation Error
Cause: Duplicatekpi_id entries
Related Endpoints
Get Values
View submission history
Campaign Values
View all values across recipients