Retrieves conversation transfers for a specified task.
The SID of the task the conversation belongs to.
Optional configuration parameter for appending notes to the conversation transfers.
A promise that resolves with the currently started conversation transfers.
FlexSdkError with the following error code(s):
import { createClient } from "@twilio/flex-sdk";import { GetConversationTransfers } from "@twilio/flex-sdk/actions/Conversation";async function getConversationTransfers() { const client = await createClient("SDK_TOKEN"); const getConversationTransfersAction = new GetConversationTransfers( "WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ); const transfers = await client.execute(getConversationTransfersAction); return transfers;} Copy
import { createClient } from "@twilio/flex-sdk";import { GetConversationTransfers } from "@twilio/flex-sdk/actions/Conversation";async function getConversationTransfers() { const client = await createClient("SDK_TOKEN"); const getConversationTransfersAction = new GetConversationTransfers( "WTXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ); const transfers = await client.execute(getConversationTransfersAction); return transfers;}
Optional
Retrieves conversation transfers for a specified task.
Param: taskSid
The SID of the task the conversation belongs to.
Param: options
Optional configuration parameter for appending notes to the conversation transfers.
Returns
A promise that resolves with the currently started conversation transfers.
Throws
FlexSdkError with the following error code(s):
Example