API v1
Resources
Guides
Credentials
Documentation
API v1
Feedback forms
Performance review forms, engagement surveys, and feedback forms: list and read them, create them, and manage their questions and sections.
Working with an AI agent?or point it at the Feedback forms markdown or the full-API markdown.
List feedback forms
GET
/api/v1/feedback/forms/listList the forms of the org, newest first: performance review forms, engagement surveys, and feedback forms. Filter by type or state. Requires feedback.forms:read (or :write).
| Parameter | Type | Description |
|---|---|---|
| type | Basic | Engagement | RealtimeGratitude | PerformanceReview optional | Only forms of this type. |
| state | Draft | Active | Archived optional | Only forms in this state. |
Response:
{
data: {
id: string;
title: string;
description: string | null;
type: 'Basic' | 'Engagement' | 'RealtimeGratitude' | 'PerformanceReview';
state: 'Draft' | 'Active' | 'Archived';
createdAt: number;
updatedAt: number;
}[]
}Get feedback form
GET
/api/v1/feedback/forms/getOne form with its questions and sections in the order of the editor. Requires feedback.forms:read (or :write).
| Parameter | Type | Description |
|---|---|---|
| id | string required | The form id. |
Response:
{
data: {
id: string;
title: string;
description: string | null;
type: 'Basic' | 'Engagement' | 'RealtimeGratitude' | 'PerformanceReview';
state: 'Draft' | 'Active' | 'Archived';
createdAt: number;
updatedAt: number;
items: {
id: string;
type: string;
text: string;
description: string | null;
required: boolean;
parentItemId: string | null;
aboutItemId: string | null;
forStageId: string | null;
sequence: number;
}[];
}
}Create feedback form
POST
/api/v1/feedback/forms/createCreate a form as a draft. Then add its questions with items/create. Requires feedback.forms:write.
| Parameter | Type | Description |
|---|---|---|
| title | string required | The title of the form. |
| type | Basic | Engagement | RealtimeGratitude | PerformanceReview optional | The kind of form. Default: PerformanceReview. |
| description | string optional | The text under the title. |
Response:
{
data: {
id: string;
title: string;
description: string | null;
type: 'Basic' | 'Engagement' | 'RealtimeGratitude' | 'PerformanceReview';
state: 'Draft' | 'Active' | 'Archived';
createdAt: number;
updatedAt: number;
};
created: true;
}Update feedback form
POST
/api/v1/feedback/forms/updateChange the title, the description, or the state of a form. Send only the fields that change. Requires feedback.forms:write.
| Parameter | Type | Description |
|---|---|---|
| id | string required | The form id. |
| title | string optional | The new title. |
| description | string optional | The new description. An empty string clears it. |
| state | Draft | Active | Archived optional | The new state. |
Response:
{
data: {
id: string;
title: string;
description: string | null;
type: 'Basic' | 'Engagement' | 'RealtimeGratitude' | 'PerformanceReview';
state: 'Draft' | 'Active' | 'Archived';
createdAt: number;
updatedAt: number;
}
}Add feedback form item
POST
/api/v1/feedback/forms/items/createAdd a question or a section to a form. Put a question into a section with parentItemId; place it after another item with afterItemId, else it goes last. Requires feedback.forms:write.
| Parameter | Type | Description |
|---|---|---|
| formId | string required | The form id. |
| text | string required | The question text, or the title of a section. |
| type | MultilineText | LinearScale | Dropdown | Checkbox | Rating | FileUpload | CheckboxGrid | RadioGrid | Section | RepeatableSection | PersonList | SortableList | RatingWithComment | SmartGoal optional | The kind of item. Default: MultilineText, a paragraph answer. |
| description | string optional | Help text under the question. Markdown is fine. |
| required | boolean optional | Whether an answer is required. Default: false. |
| parentItemId | string optional | The id of the section that holds the item. |
| afterItemId | string optional | The id of the item that this one follows. |
Response:
{
data: {
id: string;
type: string;
text: string;
description: string | null;
required: boolean;
parentItemId: string | null;
aboutItemId: string | null;
forStageId: string | null;
sequence: number;
};
created: true;
}Update feedback form item
POST
/api/v1/feedback/forms/items/updateChange the text, the description, the required flag, or the type of a question or a section. Send only the fields that change. Requires feedback.forms:write.
| Parameter | Type | Description |
|---|---|---|
| id | string required | The item id. |
| text | string optional | The new text. |
| description | string optional | The new help text. null removes it. |
| required | boolean optional | Whether an answer is required. |
| type | MultilineText | LinearScale | Dropdown | Checkbox | Rating | FileUpload | CheckboxGrid | RadioGrid | Section | RepeatableSection | PersonList | SortableList | RatingWithComment | SmartGoal optional | The new kind of question. |
Response:
{
data: {
id: string;
type: string;
text: string;
description: string | null;
required: boolean;
parentItemId: string | null;
aboutItemId: string | null;
forStageId: string | null;
sequence: number;
}
}Delete feedback form item
POST
/api/v1/feedback/forms/items/deleteRemove a question or a section from a form. A removed section takes its questions with it. Requires feedback.forms:write.
| Parameter | Type | Description |
|---|---|---|
| id | string required | The item id. |
Response:
{
data: { id: string; deleted: true }
}