CKit icon

CKit

Interact with Chatbot Kit API

Actions17

Api → Api

AI-generated

Summary

Execute an API call with the specified method and optional parameters.

Inputs

  • apiMethod — Method to call the API. Defaults to empty string; pass the desired endpoint method name.
  • parameters — Optional fixed collection of parameters to include in the API request. Each entry has a name, value, and data type (string, int, or float). Defaults to empty object; if omitted or empty, the API is called with no parameters (a warning is logged).

Output shape

object

The node returns a single item whose json field contains the raw response from the API call. The response shape depends on the called method and endpoint.

Examples

Example 1: Call a greeting API with a name parameter

Set Method to 'greet', add one parameter: Name='name', Value='Alice', Data Type='String'. The node will POST to the configured API endpoint with methodName='greet' and params={'name': 'Alice'}.

Links

Discussion