Skip to main content
GET
https://chatbot.menuia.com
/
api
/
v2
/
ia
/
{id}
curl -X GET "https://chatbot.menuia.com/api/v2/ia/123?authkey=SUA_AUTHKEY_AQUI" \
  -H "Content-Type: application/json"
{
  "status": 200,
  "data": {
    "id": 123,
    "agent_name": "Meu Agente de IA",
    "device": "SUA_APPKEY_AQUI",
    "webhook": "https://seu-webhook.com/endpoint",
    "voice": "default",
    "work_days": ["monday", "tuesday", "wednesday", "thursday", "friday"],
    "system": "Você é um assistente prestativo.",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}

Descrição

Este endpoint permite obter informações detalhadas de um agente de IA específico, utilizando o id do agente e a chave de autenticação.

Parâmetros

id
string
required
ID do agente de IA que será consultado.
authkey
string
required
Chave de autenticação da conta.
curl -X GET "https://chatbot.menuia.com/api/v2/ia/123?authkey=SUA_AUTHKEY_AQUI" \
  -H "Content-Type: application/json"
{
  "status": 200,
  "data": {
    "id": 123,
    "agent_name": "Meu Agente de IA",
    "device": "SUA_APPKEY_AQUI",
    "webhook": "https://seu-webhook.com/endpoint",
    "voice": "default",
    "work_days": ["monday", "tuesday", "wednesday", "thursday", "friday"],
    "system": "Você é um assistente prestativo.",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
}