Skip to main content
GET
Read a survey's visibility and the impact of changing it

Authorizations

next-auth.session-token
string
cookie
required

NextAuth session JWT cookie. Development: often next-auth.session-token. Production (HTTPS): often __Secure-next-auth.session-token. Send the cookie your browser receives after sign-in.

Path Parameters

surveyId
string<cuid2>
required

Survey identifier.

Response

Visibility state retrieved

data
object
required

The three fields every SurveyListItem and SurveyResource carries, merged into both via allOf. All required, always present.