Nps widgetsWidgetidScore
Get NPS score breakdown
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
startDate?string
endDate?string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/nps-widgets/1/score"{ "npsScore": 0, "totalResponses": 0, "promoters": { "count": 0, "percentage": 0 }, "passives": { "count": 0, "percentage": 0 }, "detractors": { "count": 0, "percentage": 0 }}