function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
wsp63002wsp63002 

Lead Queue Assignment through the api

Is there any current development to expose lead queues as objects through the api? We were looking in to whether or not we can assign users to these queues (we know we cannot currently)...any word on this?

Thank you in advance.

-abe
DevAngelDevAngel

Hi wsp63002,

You can manage lead queues through the API.  A lead is a Group with a type of "Lead".  You can retrieve all lead queues by query Group using type = "Lead" as a filter, or using name if you know the name of the group.

To obtain the members of the group (the members of the queue), you would query the GroupMember object using GroupID = "<some id>" for the id of the group that you are interested in.

You can create, update or delete groups and create or delete groupmembers.

wsp63002wsp63002
Thank you for the reply and explanation. This is good news.

-abe
SkowronekSkowronek

I realize this is outdated, but its the only apparent thread related to Queues in here. I've seen you can manage queues and members through the API, but what about assigning leads to queues via API? The API docs say nothing about it so I've been telling the client it has to be done using assigment rules. Is this the case?

TIA.