Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to perform operations on various resources, including campaigns. Specifically, for the 'Кампания' (Campaign) resource and the 'Получить' (Get) operation, it retrieves detailed information about a specific campaign by its ID. This is useful for users who want to fetch campaign data for analysis, reporting, or further processing within their workflows. For example, a marketing team could use this node to automatically pull campaign details to monitor performance or integrate with other systems.

Use Case Examples

  1. Fetching campaign details by providing the campaign ID to analyze campaign performance.
  2. Retrieving campaign information to update or synchronize with an external CRM or marketing platform.

Properties

Name Meaning
ID Кампании The unique identifier of the campaign to retrieve information for. This is a required string input.

Output

JSON

  • request
    • url - The URL of the API request made to Keitaro.
    • method - The HTTP method used for the API request.
    • headers - Headers sent with the API request, with the API key masked for security.
  • resource - The resource type involved in the operation, e.g., 'campaign'.
  • operation - The operation performed, e.g., 'get'.
  • data - The data returned from the Keitaro API for the requested campaign.

Dependencies

  • Keitaro API key credential
  • Keitaro domain credential

Troubleshooting

  • Ensure the campaign ID is provided and valid for 'get' operations; missing or invalid IDs will cause errors.
  • Verify that the Keitaro API key and domain are correctly configured in the node credentials; missing credentials will prevent API access.
  • Check API response status codes and messages for issues such as authorization errors or resource not found.
  • If the API returns an error status, the node throws an error with the API message; review the message to resolve issues.

Links

  • Keitaro API Documentation - Official documentation for the Keitaro API, useful for understanding available endpoints and data structures.

Discussion