API Task package
- Updated: 2026/06/04
API Task package
The API Task package introduces the parent-child execution model for API Task in the same way as the Task Bots package. The Run action in the package invokes a child API Task within a parent API Task.
Overview
The API Task package enables you to break down complex API driven tasks into modular, resuable, and independently maintainable API Task that can be invoked in a single parent API Task. The parent API Task can pass the input parameters required for child API Task and save the response data in appropriate variables. This option allows you to configure a single API Task using variables and reuse the same API Task in a different parent API Task. Also saving the response data in variables allows you to use the data as inputs for the downstream actions.
You can test the parent API Task using the debugger in the API Task editor. If a child API Task fails, the error passes back to the parent API Task allowing you to troubleshoot the error. The error responses include error type, message, and the step in which the error occurred. The parent API Task also fails if the input parameters are incorrect.
The API Task package contains Run action that invokes the child API Tasks. For more information about Run action, see Run action in API Task package.