# 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 SendGrid email delivery API calls through a pay-per-use gateway requiring micropayment via x402 protocol

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/sendgrid/%7B*path%7D
- 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-d386a675
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cahR0ABLj0m_ec2zHEUpB

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-d386a675 -d '<json body>'
```

Example prompt: Send a transactional welcome email via SendGrid to jane@example.com from noreply@myapp.com with the subject 'Welcome to MyApp!' and body 'Thanks for signing up, Jane! Your account is ready.'

## When to prefer this

Choose this endpoint when you need to send emails via SendGrid without provisioning your own SendGrid API key, prefer pay-per-use micropayment billing over subscription, or want to integrate email delivery into an autonomous agent workflow using the x402 payment protocol. Ideal for low-volume transactional emails or agent-driven notification systems.

## Known failure modes

- Payment not received or insufficient USDC balance — gateway returns 402 Payment Required
- Invalid SendGrid API path or unsupported endpoint — returns 404 or 400
- Malformed email payload (missing required fields like to/from/subject) — SendGrid returns 400 Bad Request
- Recipient email address invalid or blocked — SendGrid returns 4xx error
- Rate limit exceeded on underlying SendGrid account — returns 429
- Gateway misconfiguration or upstream SendGrid outage — returns 502 or 503

## How this service works

API Gateway: SendGrid email delivery API

## Output

Returns the SendGrid API response including delivery status, message ID, and any error details if the email could not be dispatched. Mirrors the standard SendGrid v3 Mail Send response format.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-sendgrid-email-delivery-gateway-d386a675/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)
