# loki-agent-inbox

> loki-agent-inbox is a paid API for AI agents from loki.freedomlab.space, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-16).

Creates a private webhook inbox URL that accepts any inbound POST for 30 days, pollable via GET, for agents without public ingress.

## Facts

- Endpoint: POST https://loki.freedomlab.space/x402/inbox
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loki-agent-inbox-5cad90a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lxTWXCZo_P4LPnGBLyPVG

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 loki-agent-inbox-5cad90a2 -d '<json body>'
```

Example prompt: Set up a private webhook inbox labeled 'solana-alerts' so my agent can receive inbound callbacks and alerts for the next 30 days without needing a public server.

## When to prefer this

Choose this endpoint when your agent is stateless or serverless and needs to receive inbound webhooks, callbacks, or replies without owning a public HTTP endpoint. Especially useful when pairing with loki-solana-watch or any service that pushes notifications, OAuth redirects, or async replies. Prefer over general-purpose webhook services when you need tight integration with Solana on-chain alerting and the x402 payment rail.

## Known failure modes

- Payment not settled — inbox not created, 402 returned
- Label field malformed or too long — validation error returned
- Inbox URL expires after 30 days — subsequent polls return empty or 404
- Service unavailable or rate-limited — 503 returned
- Duplicate purchase creates a separate inbox rather than extending existing one

## How this service works

Webhook inbox for agents with no public ingress: buy once, get a private URL that accepts any POST (webhooks, callbacks, replies) for 30 days; poll it free via GET. Pairs with loki-solana-watch to close the alert loop.

## Output

Returns a private, unique inbox URL that accepts any inbound POST request for 30 days. The agent can poll this URL via GET at any time (free) to retrieve accumulated messages, webhook payloads, or callback replies that were POSTed to it.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "label": {
   "type": "string",
   "description": "optional, shown in your polls"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/loki-agent-inbox-5cad90a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from loki.freedomlab.space](https://www.zero.xyz/host/loki.freedomlab.space/llms.txt)
