In Qntrl, while public APIs can be configured and executed directly through Webhooks, the client's internal APIs that are exposed only to the local network can be executed using the Task Engine module in Bridge. The Task Engine configured in Bridge can be utilized in the following two modules within Qntrl.
While creating Credentials for Task Engine, choose the credential type as API key. Click here to learn how to create a credential.
Request data
{"task_name": "api_task","credential": {"name": "<CREDENTIAL_NAME>"},"task_details": {"method": "<METHOD_NAME>","url": "<API_URL>","parameters" : {"<PARAMETER_NAME>" : "<PARAMETER_VALUE>"},"headers" : {"<HEADERS_NAME>" : "<HEADERS_VALUE>"}}}
Keys | Description |
task_name | A system-defined name for the respective modules. 'api_task' is the task name for Task Engine. |
credential | JSON object that contains the name of the API credential. |
name (optional) | Name of the API credential. |
task_details | A JSON object that contains details of the task. |
method | API method used - GET/POST/DELETE. |
URL | API URL to be invoked. |
parameters (optional) | JSON that contains the name and values of API parameter. |
headers (optional) | JSON object that contains header name and values for API. |
You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.