Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node integrates with the Keitaro API to manage various resources, including domains. Specifically, for the 'Домен' (Domain) resource with the 'Создать' (Create) operation, it allows users to create a new domain by sending domain data in JSON format to the Keitaro API. This is useful for automating domain management within Keitaro, such as adding new domains programmatically as part of marketing or tracking workflows.

Use Case Examples

  1. Creating a new domain in Keitaro by providing domain details in JSON format, enabling automated domain setup as part of campaign management.
  2. Automating domain creation when setting up new tracking environments or campaigns in Keitaro.

Properties

Name Meaning
Данные Домена The domain data in JSON format required to create or update a domain in Keitaro.

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 sensitive data like API keys masked.
  • resource - The resource type involved in the operation, e.g., 'domain'.
  • operation - The operation performed, e.g., 'create'.
  • success - Indicates if the operation was successful (true for create operation).
  • data - The data returned from the Keitaro API after creating the domain, typically the created domain details.

Dependencies

  • Requires an API key credential and domain information for authenticating with the Keitaro API.

Troubleshooting

  • Ensure that the domain data JSON is correctly formatted and contains all required fields for domain creation.
  • Verify that the API key and domain credentials are correctly set and have sufficient permissions to create domains in Keitaro.
  • Common errors include missing domain data or ID for operations, invalid API key, or network issues. The node logs detailed error messages to help identify the cause.

Discussion