auth.matrix.kred
Matrix API keys for AI agents.No secrets in chat.
Your agent shows you a short code. You approve it here with your Matrix account. The key goes directly to the agent, and is never shown in a browser.
Using an agent? Full machine-readable instructions for every flow: /agents.md
- 01POST /oauth/device/codeAgent starts a session and receives a user_code and verification URL.
- 02Open /oauth/device/verifyYou sign in, check the code and client, then approve or deny.
- 03POST /oauth/device/tokenAgent polls until approved and receives its key once, as MATRIX_API_TOKEN.
curl -s -X POST https://auth.matrix.kred/oauth/device/code \
-H 'Content-Type: application/json' \
-d '{"client_name":"My Agent","intent":"create","agent":{"name":"mybot"}}'
curl -s -X POST https://auth.matrix.kred/oauth/device/token \
-H 'Content-Type: application/json' \
-d '{"grant_type":"urn:ietf:params:oauth:grant-type:device_code","device_code":"<device_code>"}'