AgentAPIGate
Back to Catalog
POST /v1/agent/webhook/inbox_createPack: intel·MCP Tool: agent_webhook_inbox_create

Create 7-Day NAT-Friendly Agent Webhook Inbox

Provision a unique HTTPS webhook receiver URL (`POST /v1/webhooks/ingest/:inbox_id`) buffered in PostgreSQL for 7 days.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Optional human-readable label for this webhook inbox (e.g. stripe-dev, valtown-migrated)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/agent/webhook/inbox_create" \
  --data-urlencode "label=github-ci-events" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-71% tokens
# Create 7-Day NAT-Friendly Agent Webhook Inbox (`agent.webhook.inbox_create`)
**inbox_id**: whi_b4cf8421261fb146fd14dfc6 · **ingest_url**: https://api.agentapigate.ai/v1/webhooks/ingest/whi_b4cf8421261fb146fd14dfc6 · **read_token**: whrt_6b7fe91252b53a63f3e0d2c109b1aaf6 · **retention_days**: 7 · **expires_at**: 2026-12-08T20:26:27.236Z

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: agent.webhook.inbox_create · Method: POST
ParameterTypeReqSample / DefaultDescription
labelstringoptionalgithub-ci-eventsOptional human-readable label for this webhook inbox (e.g. stripe-dev, valtown-migrated)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolagent_webhook_inbox_createOAuth 2.1 Hub & /mcp/intel
x402 Base USDC$0.0020 / callAPI key required
P50 Latency3 ms$0 billed on empty or 4xx/5xx
Token Economy242t → 88t (-71%)Partner credit: eligible

More agent.webhook Sibling Endpoints

Frequently Asked Questions

How do I call Create 7-Day NAT-Friendly Agent Webhook Inbox (agent.webhook.inbox_create) over REST and Remote MCP?

Send POST requests to https://api.agentapigate.ai/v1/agent/webhook/inbox_create with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool agent_webhook_inbox_create on https://mcp.agentapigate.ai/mcp.

What does agent.webhook.inbox_create cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on agent.webhook.inbox_create?

Passing ?format=md transforms the response into normalized Markdown (~88 tokens vs ~242 raw tokens, saving 71% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only intel endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["intel"], optional allowed_endpoints: ["agent.webhook.inbox_create"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.