POST
/v1/auth/connectConnect Wallet
Register or authenticate a wallet. Returns an API key for subsequent requests.
Request Body
{
"wallet": "0x742d35cc6634c0532925a3b844bc9e7595f2bd98"
}cURL Example
curl -X POST https://api.mark.ai/v1/auth/connect \
-H "Content-Type: application/json" \
-d '{ "wallet": "0x742d35cc6634c0532925a3b844bc9e7595f2bd98" }'Response
{
"wallet": "0x742d...2bd98",
"api_key": "mk_C-hXeUr8SrBK_hmsjmCL...",
"tier": 0,
"is_new": true
}