Create an API key
As a workspace owner or admin, open Novella’s developer settings, then select Create API key. Give the key a Name and optionally add a Description. Selectsurveys:read and responses:read to run both examples.
Under Survey access, keep Selected surveys (the default) and choose the surveys the integration needs, or select All workspace surveys if it needs workspace-wide access. Confirm with your current password, then copy the key into your secret manager. Novella shows the secret once. Load it into your shell as NOVELLA_API_KEY for the examples below.
List surveys
data is empty, check that your workspace has a published survey the key can access. Add status=all to include archived surveys. See the List surveys endpoint for available filters.
Read responses for a survey
Copy theid of the survey you want from the data array above. Replace the sample UUID in SURVEY_ID with the ID from your own workspace, then run the request.
survey_id matches the value you passed in the request. If data is empty, the survey has no completed responses visible to your key.
Filter feedback by rating and tag
This example finds completed responses with a rating of 2 or lower and the exact tagSlow performance.
rating for an exact match or combine rating_min and rating_max for an inclusive range. Filtering by channel also requires responses:context:read.