Get a board by ID
client.feedback.boards.retrieve(stringid, BoardRetrieveParams { featurebaseVersion } params?, RequestOptionsoptions?): Board { id, access, createdAt, 7 more }
GET/v2/boards/{id}
Retrieves a single board by its unique identifier.
Returns the full board object including all access controls, feature toggles, and localization settings.
Get a board by ID
import Featurebase from 'featurebase-node';
const client = new Featurebase({
apiKey: process.env['FEATUREBASE_API_KEY'], // This is the default and can be omitted
});
const board = await client.feedback.boards.retrieve('507f1f77bcf86cd799439011');
console.log(board.id);{
"id": "507f1f77bcf86cd799439011",
"access": {
"adminOnly": false,
"allowedRoles": [
"string"
],
"deniedRoles": [
"role_blocked"
],
"segments": [
"string"
]
},
"createdAt": "2023-12-12T00:00:00.000Z",
"customFields": [
"cf_priority",
"cf_category"
],
"features": {
"commentsEnabled": true,
"createdDatesVisible": true,
"postingEnabled": true
},
"icon": {
"type": "emoji",
"value": "💡"
},
"localization": {
"description": {
"en": "Submit and vote on feature ideas"
},
"formPlaceholder": {
"en": "Describe your feature idea..."
},
"heroDescription": {
"foo": "string"
},
"heroTitle": {
"en": "Share your ideas"
},
"name": {
"en": "Feature Requests",
"es": "Solicitudes de funciones"
},
"submitButtonText": {
"en": "Submit Feedback"
}
},
"name": "Feature Requests",
"object": "board",
"postDefaults": {
"visibility": "public"
}
}Returns Examples
{
"id": "507f1f77bcf86cd799439011",
"access": {
"adminOnly": false,
"allowedRoles": [
"string"
],
"deniedRoles": [
"role_blocked"
],
"segments": [
"string"
]
},
"createdAt": "2023-12-12T00:00:00.000Z",
"customFields": [
"cf_priority",
"cf_category"
],
"features": {
"commentsEnabled": true,
"createdDatesVisible": true,
"postingEnabled": true
},
"icon": {
"type": "emoji",
"value": "💡"
},
"localization": {
"description": {
"en": "Submit and vote on feature ideas"
},
"formPlaceholder": {
"en": "Describe your feature idea..."
},
"heroDescription": {
"foo": "string"
},
"heroTitle": {
"en": "Share your ideas"
},
"name": {
"en": "Feature Requests",
"es": "Solicitudes de funciones"
},
"submitButtonText": {
"en": "Submit Feedback"
}
},
"name": "Feature Requests",
"object": "board",
"postDefaults": {
"visibility": "public"
}
}