Documentation Index
Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication methods
mag3nt supports two authentication methods:| Method | Use case | Header format |
|---|---|---|
| API Key | Server-side / agents | Authorization: Bearer sx_live_... |
| Wallet Session | Browser / SIWE flow | Authorization: Bearer <session_token> |
API Keys (recommended for agents)
API keys are the primary auth method for server-side code and autonomous agents.Generate a key
Use with the SDK
Manage keys
Wallet Sessions (SIWE)
For browser-based apps, use Sign-In with Ethereum (SIWE):Security best practices
- Rotate keys regularly — generate new keys and revoke old ones
- Use environment variables — never hardcode keys in source code
- One key per agent — if an agent is compromised, revoke only its key
- Monitor transactions — use
cardsListTransactionsto audit card activity
Public endpoints
Some endpoints don’t require authentication:| Endpoint | Description |
|---|---|
statusGet | Platform health and protocol manifest |
statusGetConfig | Treasury addresses and token registry |
fundingListTokens | Supported tokens per network |
payLinksGet | Public pay link details |
payLinksResolve | Resolve a pay link for payment |
payLinksPrepare | Prepare payment for a pay link |
payLinksSettle | Submit on-chain payment proof |
x402Discover | x402 payment requirements |
mppDiscover | MPP capabilities |