# httpay.xyz SendGrid Email Delivery Gateway

> httpay.xyz SendGrid Email Delivery Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Proxies the SendGrid v3 mail/send API to deliver transactional and marketing emails, with per-call micropayment billing via x402.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/sendgrid/v3/mail/send
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-sendgrid-email-delivery-gateway-884477d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1ED0nWSwee-a8cl39gQcL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability httpay-xyz-sendgrid-email-delivery-gateway-884477d2 -d '<json body>'
```

Example prompt: Send a transactional email via SendGrid from noreply@myapp.com to user@example.com with the subject 'Your order has shipped' and the HTML body '<p>Your package is on its way! Track it at example.com/track.</p>'.

## When to prefer this

Choose this endpoint when you need to send email via the SendGrid v3 API without managing your own SendGrid API key or account, and you want per-call micropayment billing via the x402 protocol. Ideal for AI agents or serverless workflows that need to send transactional emails on demand with minimal setup.

## Known failure modes

- Invalid or missing recipient/sender email addresses (400 Bad Request)
- Malformed request body missing required fields like 'personalizations' or 'subject' (400)
- Rate limiting by the underlying SendGrid API (429 Too Many Requests)
- SendGrid authentication failure due to misconfigured gateway credentials (401/403)
- Payment failure or insufficient USDC balance for x402 micropayment (402)
- Recipient domain or address flagged/bounced by SendGrid (delivery failure reported asynchronously)

## How this service works

API Gateway: SendGrid email delivery API

## Output

Returns a SendGrid API response with HTTP 202 Accepted on success and a message ID, or an error object describing delivery failures, invalid addresses, or authentication issues.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-sendgrid-email-delivery-gateway-884477d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
