Box Developer Documentation

A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.

Get information about a task

Guides Tasks Get information about a task
Edit this page

Get information about a task

To get information about an assigned task, call the GET /tasks/:task_id API with the id of the task.

cURL
curl -i -X GET "https://api.box.com/2.0/tasks/12345" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
Node/TypeScript v10
await client.tasks.getTaskById(task.id!);
Python v10
client.tasks.get_task_by_id(task.id)
.NET v10
await client.Tasks.GetTaskByIdAsync(taskId: NullableUtils.Unwrap(task.Id));
Swift v10
try await client.tasks.getTaskById(taskId: task.id!)
Java v10
client.getTasks().getTaskById(task.getId())
.NET v6
await client.Tasks.GetTaskByIdAsync(taskId: NullableUtils.Unwrap(task.Id));
Node v4
await client.tasks.getTaskById(task.id!);