79trust / 100

Notify Email

by gateway.spraay.app in Email & messaging

x402 APIPassing, checked 9 min ago

Send email notification for payment confirmations, alerts, receipts.

POST https://gateway.spraay.app/api/v1/notify/email

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
374 ms typical, 438 ms slowest 5%
Last check
9 min ago
Next check
in 20 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://gateway.spraay.app/api/v1/notify/email" \
  -H "content-type: application/json" \
  -d '{"body":"Your batch payment of 500 USDC has been confirmed.","subject":"Payment Received","to":"[email protected]"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgateway.spraay.app%2Fapi%2Fv1%2Fnotify%2Femail
const res = await pay("https://gateway.spraay.app/api/v1/notify/email", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"body":"Your batch payment of 500 USDC has been confirmed.","subject":"Payment Received","to":"[email protected]"}),
});
console.log(await res.json());

Example input

{
  "body": "Your batch payment of 500 USDC has been confirmed.",
  "subject": "Payment Received",
  "to": "[email protected]"
}

Example output

{
  "id": "ntf_123",
  "status": "queued"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
9 min agoPassed402458 ms$0.01
4 h agoPassed402424 ms$0.01
7 h agoPassed402341 ms$0.01
12 h agoPassed402337 ms$0.01
15 h agoPassed402374 ms$0.01
18 h agoPassed402199 ms$0.01
23 h agoPassed402438 ms$0.01