Hi. Using the API is it possible to track the details of an agent transferred call? If it's an external transfer then we would want to know the number the transfer was to. If it was an internal transfer then we want to know:
Yes, you would use the Notification API (https://developer.genesys.cloud/api/rest/v2/notifications/notification_service) to subscribe to listen for conversations at the Queue or User level. You'll receive events for conversations and based on those events you'll be able to determine if a transfer is being performed and all of the details you require above.
You might check out the Notification tool by going to the home page of the developer center and clicking the link for the Notification tool under the Tools section.
If your question is about being notified in real-time (your application receiving a notification from Genesys Cloud), this would indeed have to leverage the Notifications API and service that Jim mentioned above (subscribing to the necessary/relevant topics and receiving notifications via a websocket).
If your question is about triggering a Platform API request from your application, when you need to retrieve information about a specific conversation (based on the conversationId), then you can:
The conversation context, from the Conversations API, is available as soon as the conversation starts, and is available up to 60 days after it ends.
The conversation details, from the Analytics API, is available as soon as the conversation starts (few ms after), and is available indefinitely.
They both provide information about the conversation (just a different schema/attribute names), the participants who were involved (customer, ivr, queue, agents, external destination) and when they connected/disconnected from the conversation.
So the information you listed in your question will be available there (conversation context and conversation details).