cURL
meepachat
curl --request POST \ --url http://localhost:63372/api/captain/agents/{id}/connectors \ --header 'Content-Type: application/json' \ --cookie captain_session= \ --data ' { "name": "meepachat", "type": "meepachat", "meepachat": { "url": "wss://chat.example.com/api/bot-gateway", "bot_token": "bot.secret" } } '
{ "ok": true }
Add a new connector to an agent.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
"meepachat"
Show child attributes
Success
true