Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node integrates with the Keitaro API to manage various resources, including groups. Specifically, for the 'Группа' (Group) resource with the 'Создать' (Create) operation, it allows users to create a new group by sending group data in JSON format to the Keitaro API. This is useful for automating the creation of groups within the Keitaro platform, such as organizing campaigns or traffic sources into groups programmatically.

Use Case Examples

  1. Creating a new group with specific attributes defined in JSON to organize campaigns.
  2. Automating group creation as part of a workflow to manage marketing resources efficiently.

Properties

Name Meaning
Данные Группы JSON formatted data representing the group to be created, including all necessary attributes for the new group.

Output

JSON

  • request
    • url - The URL of the API request made to Keitaro.
    • method - The HTTP method used for the API request (POST for create).
    • headers - Headers sent with the API request, including API key and content type.
  • resource - The resource type, here it will be 'group'.
  • operation - The operation performed, here 'create'.
  • success - Indicates if the operation was successful (true for successful creation).
  • data - The response data from the Keitaro API containing details of the created group.

Dependencies

  • Keitaro API with domain and API key credentials required for authentication.

Troubleshooting

  • Ensure that the 'groupData' JSON is correctly formatted and contains all required fields for group creation in Keitaro.
  • Verify that the API key and domain credentials are correctly set and have permissions to create groups.
  • Common errors include missing required fields in the JSON data or invalid API credentials, which will result in API error messages indicating the issue.

Links

Discussion