# Creating engagement (a task) via API and assigning to a named queue

**URL:** <https://community.hubspot.com/t/creating-engagement-a-task-via-api-and-assigning-to-a-named-queue/11646>\
**Category:** APIs & Integrations\
**Created:** [October 1, 2018, 2:17pm UTC](https://community.hubspot.com/t/creating-engagement-a-task-via-api-and-assigning-to-a-named-queue/11646 "2018-10-01T14:17:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mainespotter](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mainespotter/32/59606_2.png) [@mainespotter](https://community.hubspot.com/u/mainespotter)\
**Post date:** [October 1, 2018, 2:17pm UTC](https://community.hubspot.com/t/creating-engagement-a-task-via-api-and-assigning-to-a-named-queue/11646/1 "2018-10-01T14:17:17Z")

</div>

Is it possible to assign a task to a named queue when creating a task via the API? For example: I have an existing task queue and I would like to be able to assign a task to that queue when (or immediately after) I create the task via the Engagements API.

Someone asked the question 11 months ago, and the answer was no. Is this still the case?

Thanks!

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 2, 2018, 8:20pm UTC](https://community.hubspot.com/t/creating-engagement-a-task-via-api-and-assigning-to-a-named-queue/11646/2 "2018-10-02T20:20:15Z")

</div>

Hi @mainespotter,

At this time, that is still the case. Tasks must be added to queues in the UI; there are currently no automatic or programmatic options.

I personally have wanted to see such functionality for a while, though. I recommend upvoting on the following feature requests:

- [Add task queue while logging activity](https://community.hubspot.com/t5/HubSpot-Ideas/Add-task-queue-while-logging-activity/idi-p/196310)
- [Workflows assign task to Task Queue](https://community.hubspot.com/t5/HubSpot-Ideas/Workflows-assign-task-to-Task-Queue/idi-p/15426)

Since I did not find existing ideas for API support, I also recommend posting a new idea for that use case.

---

<div class="post-metadata">

**Author:** ![mainespotter](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mainespotter/32/59606_2.png) [@mainespotter](https://community.hubspot.com/u/mainespotter)\
**Post date:** [October 2, 2018, 8:36pm UTC](https://community.hubspot.com/t/creating-engagement-a-task-via-api-and-assigning-to-a-named-queue/11646/3 "2018-10-02T20:36:32Z")

</div>

Thanks [@Isaac\_Takushi](https://community.hubspot.com/u/isaac_takushi),

I will do all of those right now. I appreciate the response!

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 2, 2018, 8:42pm UTC](https://community.hubspot.com/t/creating-engagement-a-task-via-api-and-assigning-to-a-named-queue/11646/4 "2018-10-02T20:42:13Z")

</div>

Happy to help, @mainespotter!
