xtuis.com is an email notification service that sends an email via a single HTTP request. No SMTP, no SDK.
Every destination inbox needs a registered API key. After that you can send with credits or pay per email.
You must register an email before sending. Confirmation is a human step.
curl -X POST "https://api.xtuis.com/v1/register" \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'Agents should tell the user to confirm the SNS email and paste the key back before calling send APIs.
GET /v1/message is the simplest path:
curl "https://api.xtuis.com/v1/message?key=YOUR_KEY&subject=Hello&body=World"Or POST JSON:
curl -X POST "https://api.xtuis.com/v1/message" \
-H "Content-Type: application/json" \
-d '{"key":"YOUR_KEY","subject":"Hello","body":"World"}'Free: 300 emails, max 10/min. Paid: 50,000 emails, max 120/min. No monthly fee.
xtuis accepts pay-per-email via the x402 protocol. A confirmed API key is still required so delivery knows which inbox to use.
# Challenge (no payment)
curl -i -X POST "https://api.xtuis.com/v1/x402/message" \
-H "Content-Type: application/json" \
-d '{"key":"YOUR_KEY","subject":"Hello","body":"Paid via x402"}'
# Paid retry (after signing PAYMENT-REQUIRED)
curl -i -X POST "https://api.xtuis.com/v1/x402/message" \
-H "Content-Type: application/json" \
-H "X-Xtuis-Key: YOUR_KEY" \
-H "PAYMENT-SIGNATURE: <base64>" \
-d '{"key":"YOUR_KEY","subject":"Hello","body":"Paid via x402"}'You can also POST /v1/message with "rail":"x402" on the same paid flow.
JSON-RPC over HTTP. initialize works without a key; tools/list and tools/call require your key.
POST https://api.xtuis.com/v1/mcp
Authorization: Bearer YOUR_KEY
# or: X-Xtuis-Key: YOUR_KEYsend_email — send one notification using creditsget_balance — credits and plan for the keyget_machine_payment_instructions — x402 / MPP endpoints and headersget_registration_instructions — how to register and ask the user for the SNS keycurl -s -X POST "https://api.xtuis.com/v1/mcp" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'After calling register, show the user a clear confirmation request. Suggested message:
I started xtuis registration for your email. Please check your inbox for an AWS SNS confirmation email, click "Confirm subscription", then paste your API key here so I can send notifications.