Skip to main content

get

client.todos.get(todoId: string): Promise<TodoItem>

Retrieves a specific todo by ID.

Returns detailed information about a single todo item including its current status, description, assignee, and all other fields. Use this to get the full details of a particular task.

Parameters

ParameterTypeRequiredDescription
todoIdstringYesThe unique identifier of the todo to retrieve

Returns

Promise<TodoItem> — A promise that resolves to the requested TodoItem object

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.todos.get('todoId');
console.log(result);