Upload Contact Counts

Uploads daily contact counts for one of the survey's tracking links, for contacts made outside SmartSurvey. Send a UTF-8 CSV file
as the request body with Content-Type: text/csv; any other content type is refused with a 415. The file has
a header row and the columns date (YYYY-MM-DD), entity_unique_id or entity_id (one or the
other), successful and failed (whole numbers, 0 or more). Each row holds one entity's counts for one
day; sending a day again replaces the earlier figures. A row that cannot be stored is listed in
validation_errors by its row number, counting the first row after the header as 1, and the other rows are
still stored. A file may hold up to 10,000 rows and 1 MB. Counts can be uploaded for any tracking link of the survey.
For a link SmartSurvey sends invitations for, upload only the contacts that were never submitted to SmartSurvey, as
failed, because contacts SmartSurvey sends to or refuses are already counted. Requires the Organisation Hierarchy and
Eligible Cohort features.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The survey id the tracking link belongs to

int32
required

The tracking link id the counts are for

Body Params
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Unauthorized

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json