Skip to main content

Response

Response callbacks are triggered each time responses are added to a survey via the PATCH /survey/{id}/response endpoint. In addition to all current responses, the payload includes a last_response field containing only the responses submitted in the triggering request.

Response Webhook Payload

ParameterTypeRequiredDescription
idstringtrueUnique survey identifier (UUID)
channelstringtrueAlways survey
api_versionstringtrueAPI version used for the callback (e.g., 2026-01-01)
callback_typestringtrueAlways response
statusstringtrueCurrent survey status (pending, completed, failed, expired, or stopped)
typestringtrueSurvey type (web or generic)
urlstringfalseShareable survey URL (web surveys only)
tagstringfalseCustom tag provided when the survey was created
bulk_tagstringfalseBulk tag provided when the survey was created
timestampnumbertrueTime the event occurred, in milliseconds since epoch
errorobjectfalseError object, if applicable
error.codenumberfalseNumeric error code
error.descriptionstringfalseHuman-readable error description
failure_reasonstringfalseReason for failure, if status is failed
responsearrayfalseAll responses collected on the survey at the time of the event
response[].keystringtrueResponse key (question identifier)
response[].valueanytrueResponse value
response[].answered_atstringtrueISO 8601 datetime when the response was first recorded
last_responsearraytrueThe responses submitted in the triggering request
last_response[].keystringtrueResponse key (question identifier)
last_response[].valueanytrueResponse value
last_response[].answered_atstringtrueISO 8601 datetime when the response was first recorded