メインコンテンツへスキップ
List survey targets

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

organizationId
number
必須
surveyId
number
必須

クエリパラメータ

limit
number

Number of items to return per page. Default is 50, maximum is 200.

必須範囲: 1 <= x <= 200
例:

50

cursor
string

Cursor for pagination. Use the nextCursor from previous response to get next page.

例:

"eyJwYWdlIjoyLCJsaW1pdCI6NTB9"

sortBy
enum<string>

Field to sort by. Defaults to createdAt.

利用可能なオプション:
createdAt,
name,
email,
department
sortOrder
enum<string>

Sort order. Defaults to DESC for createdAt.

利用可能なオプション:
DESC,
ASC

Search term to filter targets by name, email, department, or device information.

例:

"john"

department
string

Filter by department name.

例:

"Engineering"

status
enum<string>[]

Filter by survey target status. Accepts multiple options.

利用可能なオプション:
pending,
sent,
opened,
completed

レスポンス

Successfully retrieved survey targets

meta
object
必須
items
object[]
必須
read-only