cURL
curl --request PUT \ --url http://localhost:63372/api/captain/agents/{id}/connectors/{name} \ --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" }, "discord": { "bot_token": "discord-bot-token", "guild_ids": [] } } '
{ "ok": true }
Replace a connector’s configuration with a complete ConnectorConfig object.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
Connector name
"meepachat"
Show child attributes
Success
true