Assigning Users to Tasks through the API

Modified on Wed, 2 Dec at 5:07 PM

Assign Users to Tasks Through the API


The task endpoint /api/tasks/{id} now accepts an assignedUsers array of user IDs. You can assign one or more people in the same call that creates or updates a task, with no separate assignment step.


Applies to: Screendragon 8.1 and later.


The assignedUsers field

Field

Type

Description

assignedUsers

Array of integers

The IDs of the users to assign to the task. Include one or more IDs.


Example request body

This body creates or updates a task called Design Review and assigns users 387 and 412.

{
  "name": "Design Review",
  "status": "tobedone",
  "startDate": "2026-03-30T11:01:00",
  "endDate": "2026-03-30T17:01:00",
  "assignedUsers": [ 387, 412 ]
}


Assign users when you create or update a task

  1. Find the Screendragon user IDs of the people you want to assign.
  2. Add them to the assignedUsers array in the request body.
  3. Send the request to /api/tasks/{id} as part of your normal create or update call.
  4. Check the Resource Planner. The assignments appear there straight away.


Why use it

  • Automate job set-up end to end, from task creation to assignment, without a manual step.
  • Assign several people in one call instead of one at a time.


Frequently asked questions

Can I assign more than one person? Yes. Add each user ID to the array.

When do assignments show in the Resource Planner? Straight away, once the call succeeds.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article