cURL
curl --request POST \ --url http://localhost:63372/api/captain/connector/test \ --header 'Content-Type: application/json' \ --cookie captain_session= \ --data ' { "connector_type": "meepachat", "url": "wss://chat.example.com/api/bot-gateway", "bot_token": "bot.secret" } '
{ "ok": true, "message": "Server reachable, bot token valid", "latency_ms": 45 }
Test a connector’s connection. Currently supports meepachat connectors only.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
"meepachat"
"wss://chat.example.com/api/bot-gateway"
"bot.secret"
Connector test result
"Server reachable, bot token valid"
45