Skip to content

Any API in AWS Connect to list all the available tasks

0

Any API in AWS Connect to list all the available tasks not able to find any in the Documentation

asked 2 years ago281 views

2 Answers
0

Yes, Amazon Connect does provide an API to list available tasks. The API operation is called "ListTaskTemplates". This API allows you to retrieve a list of task templates for a specified Amazon Connect instance.

The ListTaskTemplates API is part of Amazon Connect's task management capabilities. It enables you to programmatically retrieve information about task templates in your contact center. Each task template in the response includes details such as the ARN (Amazon Resource Name), creation time, description, ID, last modified time, name, and status.

To use this API, you would typically need to provide parameters such as the InstanceId of your Amazon Connect instance. You can also use optional parameters like MaxResults to limit the number of results returned, or Name and Status to filter the results.

This API is available in all AWS regions where Amazon Connect is offered, and there is no additional charge for using it. You can implement this API using various AWS SDKs, including those for .NET, Java, JavaScript, Python, and others, as well as through the AWS Command Line Interface (CLI).

It's worth noting that Amazon Connect has been expanding its API offerings to provide more programmatic access to contact center resources. This includes APIs for listing other resources such as queues, phone numbers, contact flows, and hours of operations, which can be useful for automating various contact center management tasks.
Sources
ListTaskTemplates - Amazon Connect
Amazon Connect launches additional APIs to list contact center resources

answered 2 years ago

0

There is no API that allows you to list the tasks that are queued or in progress with agents. Depending on your use case and what you need this data for, , assuming you need this data in real time, you can implement a Contact Event Stream to track all the tasks initiated, queued, connected to agent, or disconnected. You can use the data store of your choice to collect these events and process them accordingly.

AWS

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.