API Tokens¶
Simple bearer token authentication for CodeTether.
Setup¶
Usage¶
curl -X POST https://codetether.example.com/v1/a2a \
-H "Authorization: Bearer token1" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "message/send",
"params": {
"message": {
"parts": [{"type": "text", "content": "Hello"}]
}
},
"id": "1"
}'
Multiple Tokens¶
Define multiple named tokens: