API reference / Customers
Get the score of the surveys
How the customers answered the question of the score in the surveys in the product: how they would feel without the product. The score is the share that would be very disappointed. Each customer counts one time, with its latest answer of the days, whichever survey asked. Under 5 answers there is no share, and under 10 it only shows a direction.
/api/v1/customer-pmfOther ways to call it
troopy customers pmftroopy_get_customer_pmfQuery parameters
daysintegerThe days back from now: 30, 90, 180, 365
Default 90
Response
200 · application/jsondata*object7 properties
on*booleanA survey that asks the question of the score shows in the product now
survey*object | nullThe survey that shows in the product now, whatever it asks. Null when no survey shows
3 properties
id*stringA 24-character id
name*stringscored*booleandays*integerThe days that the numbers cover
asked*integerThe customers that saw the survey in those days
all*objectEvery customer who answered in those days, with its latest answer
8 properties
answers*integerThe answers that count: each answer but no_longer_use
very*integerWould be very disappointed without the product
somewhat*integerWould be somewhat disappointed
not*integerWould not be disappointed
gone*integerNo longer use the product. These are not in the score
love*number | nullThe share that would be very disappointed, in percent. Null under 5 answers
low*number | nullThe low end of the 95% range of that share, in percent. Null under 10 answers
level*enum<string>hidden: under 5 answers, so no share. directional: 5 to 9 answers. ranked: 10 or more
hiddendirectionalranked
paying*objectOnly the customers who pay now
8 properties
answers*integerThe answers that count: each answer but no_longer_use
very*integerWould be very disappointed without the product
somewhat*integerWould be somewhat disappointed
not*integerWould not be disappointed
gone*integerNo longer use the product. These are not in the score
love*number | nullThe share that would be very disappointed, in percent. Null under 5 answers
low*number | nullThe low end of the 95% range of that share, in percent. Null under 10 answers
level*enum<string>hidden: under 5 answers, so no share. directional: 5 to 9 answers. ranked: 10 or more
hiddendirectionalranked
others*objectOnly the customers who do not pay now
8 properties
answers*integerThe answers that count: each answer but no_longer_use
very*integerWould be very disappointed without the product
somewhat*integerWould be somewhat disappointed
not*integerWould not be disappointed
gone*integerNo longer use the product. These are not in the score
love*number | nullThe share that would be very disappointed, in percent. Null under 5 answers
low*number | nullThe low end of the 95% range of that share, in percent. Null under 10 answers
level*enum<string>hidden: under 5 answers, so no share. directional: 5 to 9 answers. ranked: 10 or more
hiddendirectionalranked