• Quick Start
  • Send Survey
  • Get Contact
  • Remove Contact
  • Delete Contact (GDPR)
  • Get Unsubscribed
  • Get Responses
  • Get NPS
  • Sent Statistics
  • Historical Stats
  • Deactivate All
  • Bulk Add with CSV
  • Inapp Surveys
  • Bulk Add/Send

Change Log

  • Changes

Get NPS Results

Get your current NPS score
Need more detailed feeds? See "Dashboard Data" in Settings.

Arguments

Make a GET request to https://DEMO.asknice.ly/api/v1/getnps/days

Argument Example Required Description
days 30 Optional Number of days since today to calculate NPS score on, default is 30

Example GET request

Your NPS for the last 30 days in JSON format
https://DEMO.asknice.ly/api/v1/getnps/30?X-apikey=

Response

{"NPS":"64.5"}