Home > Forum > /api/conversations response is missing the field "assignedTo"

/api/conversations response is missing the field "assignedTo"

Nov 09 (36 days ago)
Robert Kasanicky wrote
I was expecting the summary data about a conversation would at minimum answer the question "Who was talking to whom?" but unfortunately that's not how the current /api/conversations endpoint is designed. Only the owner of the conversation is specified in the response while the assigned agent is not. What makes this omission even more strange is that agent is supported as an optional parameter of the api request.

The closely related /api/conversations/[conversationid] response includes the field assignedTo which I think should also be included in the /api/conversations

https://support.ladesk.com/840770-Complete-API-reference#6d1698eaa7f970beec504017ce9f8ac4
Reply
3 Answers
Nov 09 (36 days ago)
Martin Pullmann agent wrote
Hello Robert,

You are referring to an older API v1 which we do not work on anymore (so we won't add the missing "assignedTo" field to /api/conversations/). Use API v3 instead:
https://XXXXXXXXXXXXXXX.ladesk.com/docs/api/v3/#!/tickets/getTicketsList
You will get the assigned agent's ID as "agentid"
Nov 09 (36 days ago)
Robert Kasanicky wrote
Thanks for a quick response. Perhaps you could put a large "deprecated" warning in the API v1 documentation with a link to API v3. When I searched for "ladesk api" all links lead me to API v1 and I got no clue I was on the wrong path.
Nov 09 (36 days ago)
Matus agent wrote
APIv3 is accessible only from LiveAgent account. For now, we don't have it published like APIv1. APIv3 it is still in BETA version.
In agent panel > configuration > system > API > APIv3 is set by default. You can generate API key there or access documentation ('Api V3 Documentation' green button)

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us

support@ladesk.com

+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2015 QualityUnit.com, All rights reserved