Overview
Reference entrypoint for Agent namespace endpoints.
Agent API routes are namespaced under:
https://api.agentry.to/agent/v0Use this surface for hosted inbox workflows and AgentMail-compatible operations.
What You Can Build
- Programmatic inbox provisioning and lifecycle management
- Outbound email send, reply, reply-all, and forward workflows
- Inbound message processing with thread and attachment access
- Webhook-driven automations for delivery and mailbox events
- Pod-scoped workflows for multi-project or sub-tenant isolation
Authentication
Include your API key in the Authorization header:
Authorization: Bearer ag_your_key_hereSDK
Agentry is API-compatible with the AgentMail SDK:
import AgentMail from "agentmail";
const client = new AgentMail({
apiKey: "ag_your_key_here",
baseUrl: "https://api.agentry.to/agent",
});Start With These Endpoints
POST /agent/v0/inboxesto create an inboxPOST /agent/v0/inboxes/{inbox_id}/messages/sendto send emailGET /agent/v0/inboxes/{inbox_id}/messagesto read inbox messagesPOST /agent/v0/webhooksto subscribe to event notificationsGET /agent/v0/podsto list pods in your tenant