Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Destination → List Destinations

AI-generated

Overview

This node interacts with the Commanders Act API to list destinations. It is useful for retrieving a list of destinations configured in the Commanders Act platform, which can be used for data integration and management purposes. For example, a user can fetch all available destinations to display them in a dashboard or to process them further in an automation workflow.

Use Case Examples

  1. List all destinations with optional query parameters such as filtering, sorting, and pagination to manage integrations effectively.
  2. Retrieve destination details to monitor or update integration endpoints.

Properties

Name Meaning
Query Parameters Allows specifying various query parameters to filter, sort, paginate, and customize the list of destinations retrieved from the API. This includes parameters like 'end', 'filter', 'granularity', 'include', 'page', 'sort', 'source', 'start', and 'token' among others.

Output

JSON

  • json - The JSON array of destination objects returned from the Commanders Act API, representing the list of destinations.

Dependencies

  • Commanders Act API with API token credentials

Troubleshooting

  • Ensure that the Commanders Act API credentials (site ID and API token) are correctly configured and available, otherwise the node will throw a missing credentials error.
  • Verify that the Destination ID is not required for the 'List Destinations' operation; if it is mistakenly provided or missing for other operations, the node will throw an error.
  • Check the query parameters for correct formatting, especially JSON fields, to avoid API request errors.
  • If the API returns an error, the node will throw a NodeApiError with the message from the API; review the error message and stack trace for debugging.

Discussion