Retrieve variables by survey code
GET/api/v1/survey/:surveyCode/variables
Returns the list of variables that belong to the survey identified by {surveyCode}. Useful for building tabulation axes (ROWS/COLUMNS/PLANES) and resolving codes to labels.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Variables retrieved successfully.
Bad Request. The request parameters are invalid.
Unauthorized. Missing or invalid API key.
Forbidden. The API key does not grant access to workspaces.
Not Found. The requested resource was not found.
Internal Server Error. Unexpected error occurred while processing the request.