Public APIRespondents
Get respondent statistics
GET
/v1/cfti/{surveyId}/respondent/{respondent}Fetch a respondent's interaction history with a survey (when they last responded, viewed, or dismissed it). Useful for deciding whether to show the survey again. Requires the team's publishable key.
Authorization
ApiKeyAuth x-cfti-pk<token>
Your team's publishable key, found on the Setup page in Confetti.
In: header
Path Parameters
surveyId*string
respondent*string
Response Body
application/json
curl -X GET "https://example.com/v1/cfti/123/respondent/example"{ "lastRespondedAt": "2019-08-24T14:15:22Z", "lastViewedAt": "2019-08-24T14:15:22Z", "lastDismissedAt": "2019-08-24T14:15:22Z"}