Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange. Only a 401 means it is spent; not_a_member (403) is about the organization named in X-Organization-Id and leaves the token good for the others.

Headers

X-Organization-Id
string

The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.

Path Parameters

id
string<uuid>
required

Response

The results.

survey_id
string<uuid>
kind
enum<string>
Available options:
nps,
custom
delivered
integer

How many people were asked.

responses
integer
scored
integer

Answers carrying a score — the denominator.

promoters
integer
passives
integer
detractors
integer
score
integer | null

Promoters minus detractors over scored, as a percentage. null when nobody has scored — never 0, which is a real result.

trend
object[]
verbatims
object[]