agroenendijk | 2020-02-17 09:30:45 UTC | #1
How can I add a participant to a non assigned conversation?
anon28885283 | 2020-02-17 10:24:49 UTC | #2
You can use PostConversationParticipantReplace from ConversationsApi. Replace the ACD participant with the participant you want to add.
agroenendijk | 2020-02-17 10:30:56 UTC | #3
Can I use my userid as a participantid if I want to assign the conversation to myself?
anon28885283 | 2020-02-18 01:18:25 UTC | #4
The function needs the conversationId, the participantId (use the participant id of the acd here) and a TransferRequest object. You can set the UserId property of the TransferRequest object to your userId.
Note that when you're added as a participant, you'll have your own participantId which is not the same as your actual user id.
agroenendijk | 2020-02-18 07:13:56 UTC | #5
Tnx, It's now working with userId. How and where do I find my own participantId?
anon28885283 | 2020-02-18 08:36:13 UTC | #6
Get the conversation again using the ConversationsAPI, there should now be an additional participant where you can see the id.
system | 2020-03-20 08:36:15 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 7137