Nps widgetsWidgetidResponses
List NPS responses
Authorization
BearerAuth AuthorizationBearer <token>
Use an API key from the Produktly dashboard → Settings → API keys.
In: header
Path Parameters
widgetId*integer
Range
0 < valueQuery Parameters
limit?integer
Range
0 < value <= 100Default
50offset?|
Range
0 <= valueDefault
0startDate?string
endDate?string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/nps-widgets/1/responses"{ "data": [ { "id": 0, "rating": "string", "comment": "string", "email": "string", "name": "string", "userId": "string", "url": "string", "language": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "pagination": { "total": 0, "limit": 0, "offset": 0 }}Update an NPS widget PATCH
Only the fields you send are changed. settings are merged over stored settings; targeting replaces wholesale. Live widgets can be edited, but an update that would leave one unpublishable (no targeting) returns 400; set active: false first to take it down.
Get NPS score breakdown GET
Next Page