Skip to main content

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. Select surveys: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

A successful request returns HTTP 200. Here is an example with one survey.
If 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 the id 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.
A successful request returns HTTP 200 with completed responses for that survey. Each result’s survey_id matches the value you passed in the request. If data is empty, the survey has no completed responses visible to your key.
See the List responses endpoint for more filters. Follow the pagination guide to continue fetching results. If a request fails, use the status and error code to decide whether to correct the request or retry.

Filter feedback by rating and tag

This example finds completed responses with a rating of 2 or lower and the exact tag Slow performance.
Use rating for an exact match or combine rating_min and rating_max for an inclusive range. Filtering by channel also requires responses:context:read.