Hi Team,
I am trying to use the
/api/v2/tickets/{id}/conversations?page=1&per_page=10&order_type=desc
And like on the ticket details page, I was not able to get the user details, I tried to add the &include=user like the one used on the main API without success, can anyone help me figure out this problem?
Thanks.
I think the problem is that the embed options are only available for certain endpoints and even then, only certain embed options are available. I know that you can do this: /api/v2/tickets/{id}?include=requester,conversations to retrieve the first 10 conversations in the ticket and the ticket requester details.
Depending on your solution/workflow, you will probably need to make 2 calls to the API to get the information needed, one to the conversations endpoint and one to the requesters endpoint to get the user details of the conversation message. Not sure if that helps, but that is what came to mind. Good luck!