Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to perform various operations on different resources, including users. Specifically, for the 'Пользователь' (User) resource and the 'Обновить' (Update) operation, it updates an existing user's data in Keitaro. It requires the user ID and the user data in JSON format. This node is useful for automating user management tasks such as updating user profiles or attributes in Keitaro campaigns or systems.

Use Case Examples

  1. Updating a user's profile information by providing the user ID and new data in JSON format.
  2. Automating user data synchronization between Keitaro and other systems by updating user records programmatically.

Properties

Name Meaning
ID Пользователя The unique identifier of the user to update. Required for update operations.
Данные Пользователя The user data in JSON format to update the user with. Required for create and update operations.

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 API key masked.
  • resource - The resource type involved in the operation, e.g., 'user'.
  • operation - The operation performed, e.g., 'update'.
  • success - Indicates if the operation was successful (true for update).
  • data - The data returned from the Keitaro API after the update operation.

Dependencies

  • Requires an API key credential and domain configuration for Keitaro API access.

Troubleshooting

  • Ensure the user ID is provided and valid for update operations; missing or invalid IDs will cause errors.
  • Verify that the user data JSON is correctly formatted and not empty; invalid or empty data will cause the operation to fail.
  • Check that the API key and domain credentials are correctly set up; missing credentials will prevent API access.
  • API errors will include status codes and messages; review these to diagnose issues such as permission errors or invalid requests.

Discussion