Forms & Surveys
Outcomes
Outcomes are the results your organisation measures, such as "Qualification achievement" or "Hours worked". Form questions, survey answers, outcomes recorded on notes and events refer to an outcome by its outcomeId. Use this endpoint to look up each outcome's name, type and options.
List Outcomes
Endpoint
GET /api/v1/outcomes
Query Parameters
Pagination:
limit(number, default: 100, min: 1, max: 250) - Maximum number of outcomes to returnoffset(number, default: 0) - Number of outcomes to skip for pagination
Filtering:
includeArchived(boolean, default: false) - Also return archived outcomes. Older survey answers and notes can refer to an outcome that has since been archived.
Response
{
"outcomes": [
{
"outcomeId": "mkuw5c8oSKN6zLkB3zjX",
"name": "Qualification achievement",
"type": "multipleChoice",
"options": ["AQA Level 1", "AQA Level 2"],
"min": null,
"max": null,
"allowMultiple": false,
"description": null,
"tags": ["employment"],
"isArchived": false,
"sharedBy": null
},
{
"outcomeId": "T9JgdQ4vJsLfEn21wbYk",
"name": "Hours worked",
"type": "numeric",
"options": [],
"min": 0,
"max": 40,
"allowMultiple": false,
"description": "Hours worked in the last week",
"tags": [],
"isArchived": false,
"sharedBy": "funderOrg123"
}
],
"offset": 0,
"limit": 100,
"total": 2
}
Outcome Object
| Field | Type | Description |
|---|---|---|
outcomeId | string | Unique outcome identifier. This is the value in outcome on form questions, survey answers and note outcomes, and in outcomeIds on events |
name | string | Outcome name |
type | string | boolean, numeric or multipleChoice |
options | array | The choices for a multipleChoice outcome; empty for other types |
min | number/null | Lowest allowed value for a numeric outcome |
max | number/null | Highest allowed value for a numeric outcome |
allowMultiple | boolean | Whether more than one option can be chosen for a multipleChoice outcome |
description | string/null | Description |
tags | array | Tags on the outcome |
isArchived | boolean | Whether the outcome is archived |
sharedBy | string/null | For an outcome another organisation (for example a funder) shares with yours, that organisation's ID; null for your own outcomes |
Error Responses
| Status | Description |
|---|---|
| 400 | Bad Request - Invalid parameters, or organisationId missing when signed in as a user |
| 401 | Unauthorized - Invalid or missing API key, or no access to the organisation |
| 500 | Internal Server Error |
