Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to perform various operations on different resources, specifically supporting the 'conversion' resource with the 'getAll' operation. It allows users to retrieve a list of conversions with filtering options such as date range, interval presets, status, click ID, transaction ID, country code, pagination, and sorting. This is useful for marketers and analysts who want to fetch detailed conversion data for reporting or further processing.

Use Case Examples

  1. Retrieve all conversions from the last 7 days sorted by creation time descending.
  2. Fetch conversions filtered by status 'sale' and country code 'RU' with pagination limit of 50 records per request.

Properties

Name Meaning
Параметры Фильтрации Конверсий Parameters for filtering conversions when retrieving all conversions.

Output

JSON

  • data - Array of conversion objects matching the filter criteria.
  • count - Number of conversions returned in the response.
  • request
    • url - The URL of the API request made.
    • method - HTTP method used for the API request.
  • resource - The resource type, e.g., 'conversion'.
  • operation - The operation performed, e.g., 'getAll'.

Dependencies

  • Requires an API key credential and domain for Keitaro API authentication.

Troubleshooting

  • Ensure that either a date range or a limit is specified when fetching conversions; otherwise, the node defaults to limit=100.
  • Common errors include missing required parameters such as conversion ID for certain operations or missing API credentials.
  • API errors with status codes outside 200-299 range will throw errors; verify API key and domain correctness.

Links

Discussion