# httpay.xyz Twilio API Gateway

> httpay.xyz Twilio API Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-11).

Proxies POST requests to the Twilio REST API through an x402 pay-per-call gateway, enabling SMS, voice, messaging, and other Twilio services with USDC micropayments.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/twilio/%7B*path%7D/*
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-78ed7b23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VEvY8_2AUuNyG7kf0RWWs

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

Example prompt: Send an SMS via Twilio to +15551234567 with the message 'Your order has shipped!' using my Twilio account SID and auth token.

## When to prefer this

Choose this endpoint when you need to make Twilio REST API calls on a pay-per-use basis without provisioning your own Twilio integration or managing API key infrastructure — ideal for agents that need occasional SMS/voice/messaging capabilities via USDC micropayments.

## Known failure modes

- Invalid Twilio path returns 404 or Twilio error response
- Missing or invalid Twilio credentials result in 401 from Twilio
- Malformed request body causes Twilio 400 error
- Payment failure (insufficient USDC balance) returns x402 payment required
- Rate limiting from Twilio returns 429
- Phone number not provisioned on Twilio account causes resource not found error

## How this service works

API Gateway: Twilio REST API

## Output

Returns the full Twilio REST API JSON response for the given path and parameters — e.g. a message SID, call SID, delivery status, or resource object depending on the Twilio endpoint called.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-78ed7b23/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)
