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:
Content-Type:
application/json
🔑 URL Parameters
access_token
Özel API erişim anahtarı
Final URL format:
đź§ľ Request Body (JSON)
Field Descriptions:
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:
⚠️ 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.
Last updated
Was this helpful?