Aicado Docs
FAQRelease NotesCommunity
  • Welcome to Aicado
  • What is Aicado?
  • Key Features
  • 👤User Guide
    • Account Creation & Login
    • Pricing
      • What Can You Do with 100 Credits?
      • Refund Policy
      • Get an Invoice
    • Troubleshooting
  • ⚡Embeddable AI Tools
    • What is Embeddable AI Tools?
      • Accessing the Embeddable AI Tools
      • Customizing AI Tools
      • Generating & Adding Embed Code
    • AI Agent Embed User Guide
      • Customize & Training
      • Display Settings
      • Prompt Settings
      • Advanced Settings
      • Generating & Adding Embed Code
      • Using as a chat balloon on your website
    • Using Webhooks
    • Using on a Domain
    • Using on Multiple Domains
    • Using as a Team
    • Rate Limits
    • White Labeling
    • Language Support
  • For Developers
    • API Documentation
    • Aicado Agent API Integration
  • Templates
    • Crab AI
      • How to Customize Crab AI?
    • SaaSCado
      • How to Customize SaaSCado?
  • Aicado AI Connector - Bubble.io
    • Introduction
      • How it works?
      • Available AI Models
      • Plugin Requirements
      • Plugin Properties
  • Get Started
    • Plugin Installation
    • Authentication
    • Webhook Configuration
    • Action Usage
  • Setup Examples By Models
    • General Instructions
    • Text To Speech
    • Swap Faces In Photos
    • Image to Video
    • Background Changer
    • Swap Faces In Videos
    • Dress Room
    • Text to Image
  • Embed Guides
    • Add Aicado to Wix
    • Add Aicado to Wordpress
    • Add Aicado to Shopify
    • Add Aicado to Squarespace
    • Add Aicado to Framer
    • Add Aicado to Thunkable
    • Add Aicado to FlutterFlow
    • Add Aicado to Bubble.io
    • Add Aicado to Softr
    • Add Aicado to Toddle
  • AI Agent Tools
    • What is AI Agent?
    • Essentials
    • Web Crawler
    • Web Search
    • Text To Speech
    • Text To Image Stable Diffusion
    • Image Outpainting
    • Image Search and Replace
    • Image Recolor
    • Clarity Upscaler
    • Link Shortener
    • Send Email
    • Review Collector Pro for Amazon
    • Product Collector For Amazon
    • Linkedin Collect Company Information
    • Linkedin Profile Collector
    • Linkedin Posts Collect By URL
    • Linkedin Posts By Profile URL
    • Instagram - Reels - Discover by URL all Reels
    • Instagram - Posts - Collect By Post URL
    • Instagram - Profiles - Collect By Profiles URL
    • Yahoo Finance Business Information
    • TikTok - Comments
    • TikTok - Profiles - Discover by search url
    • Facebook - Comments
    • Facebook Company Reviews
    • Github Repository
    • Booking Listings
    • Indeed job listings information
    • Indeed job listings information - Discover by Keyword
    • Airbnb Properties Information
    • Google Play Store
    • Apple App Store
    • Google maps reviews
    • Crunchbase companies information
    • BBC news
    • Reuters news
Powered by GitBook
On this page

Was this helpful?

  1. For Developers

Aicado Agent API Integration

This document explains how to use the call-an-agent endpoint to invoke an Aicado agent via API and get a response based on user input.


📌 Endpoint Information

  • Method: POST

  • URL:

    <https://run.aicado.ai/api/1.1/wf/call-an-agent?api_token=access_token>
    
  • Content-Type: application/json


🔑 URL Parameters

Parameter
Description

access_token

Özel API erişim anahtarı

Final URL format:

<https://run.aicado.ai/api/1.1/wf/call-an-agent?api_token=YOUR_ACCESS_TOKEN>

đź§ľ Request Body (JSON)

{
  "agent_id": "AGENT_ID",
  "user_input": "Kullanıcıdan gelen mesaj",
  "system_instructions": "Agent için sistem talimatları",
  "response_webhook_url": ""
}

Field Descriptions:

Field
Description

agent_id

The unique ID of the agent defined in Aicado. It can be found in the Aicado agent editor.

user_input

Natural language input from the user.

system_instructions

System-level instructions that shape the agent’s behavior and response style. If left empty, the instructions defined in the Aicado Agent Editor will be used.

response_webhook_url

(Optional) The webhook URL where the response will be posted. This is useful when using asynchronous tools. If left empty, the response will be returned directly.


âś… Response Structure

Aicado will return a response in the following structure:

{
  "call": {
    "call_id": "1749027897108x743874372478867000",
    "call_status": "success",
    "call_error": null,
    "creation_date": 1749027897114,
    "completion_date": 1749027897143
  },
  "tool": {
    "tool_status": "",
    "tool_name": "",
    "tool_error": null
  },
  "agent": {
    "agent_id": "1749023792510x127939515425357090",
    "agent_status": "completed",
    "agent_output": "{\\"a_points\\": 0, \\"r_points\\": 0, \\"t_points\\": 0, \\"i_points\\": 0, \\"a_report\\": \\"No input provided for analysis.\\", \\"r_report\\": \\"No data to assess for relevance.\\", \\"t_report\\": \\"No testable information supplied.\\", \\"i_report\\": \\"No item to interpret.\\"}"
  },
  "usage": {
    "agent_expense": 0.28734,
    "tool_expense": null,
    "total_expense": 0.28734
  },
  "credit": 643.758554,
  "error": null
}

⚠️ Security and Tips

  • Keep your access_token secure and never expose it on the client side.

  • Use system_instructions to maintain control over the agent's behavior and ensure consistent responses.

  • If you want responses delivered to a webhook, make sure to provide the response_webhook_url parameter.

PreviousAPI DocumentationNextCrab AI

Last updated 2 days ago

Was this helpful?