Get task assignment information

Guides Tasks Assigning tasks Get task assignment information
Edit this page

Get task assignment information

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

cURL
curl -i -X GET "https://api.box.com/2.0/task_assignments/12345" \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
Java
String assignmentID = "4256974";
BoxTaskAssignment.Info assignmentInfo = new BoxTaskAssignment(api, assignmentID).getInfo();
Python
assignment= client.task_assignment('12345').get()
print('Assignment ID is {0} and assignment type is {1}'.format(assignment.id, assignment.type))