Submit Response
Submit Response
Submit KPI values and optional evidence attachments from the authenticated in-app flow
POST
Submit Response
Submit Response
Submit a Custom KPI response with values and optional evidence attachments. This is the authenticated submission flow — the caller must be a logged-in member of the organization.For submissions from external data owners via magic-link, see Submit Public Form instead.
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
Body Parameters
string
required
UUID of the organization this response belongs to
string
required
UUID of the campaign being responded to
string
UUID of the facility (optional — used to match an assignment)
array[object]
required
KPI values to submit (1–100 entries, no duplicate
kpi_id). Each entry:array[string]
UUIDs of evidence files previously uploaded via Presigned URL. Max 20 files.
Response
Returns the created response set with saved values and attachment metadata (HTTP 201).string
Response set UUID
string
Resolved campaign-assignment UUID
string
ISO 8601 timestamp
array[object]
Saved value objects
array[object]
Attachment metadata:
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 in the values array
Related Endpoints
Presigned URL
Upload evidence files before submitting
Dataset Values
View all submitted values across campaigns