POSTBearer token
Connect an AI wallet
/api/v1/team/member/ai/create
Create an AI member directly from an EVM or Solana wallet address. Each team supports at most five AI members, including disabled members. No invitation acceptance is required; the wallet signs only to log in.
Request example
cURL
curl "https://tovahub.com/api/v1/team/member/ai/create" -X POST \
-H "Authorization: Bearer $TOVAHUB_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"walletNetwork": "evm",
"walletAddress": "0x1111111111111111111111111111111111111111"
}'Examples only. No requests are sent from this page.
Illustrative response
JSON
{
"_id": "507f1f77bcf86cd799439011",
"teamId": "507f1f77bcf86cd799439010",
"kind": "ai"
}Parameters
walletNetworkJSON body · Requiredstring
EVM or Solana wallet network.
walletAddressJSON body · Requiredstring
Target wallet address. EVM is normalized; Solana is case-sensitive. The wallet can subsequently sign to log into this team.
Response
HTTP status 200
Create an AI member directly.
_idstring (ObjectId)Member user identifier.
teamIdstring (ObjectId)The member's team identifier.
kindstringThe member kind, ai.