Overview

Reference entrypoint for Agent namespace endpoints.

View as Markdown

Agent API routes are namespaced under:

https://api.agentry.to/agent/v0

Use 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_here

SDK

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/inboxes to create an inbox
  • POST /agent/v0/inboxes/{inbox_id}/messages/send to send email
  • GET /agent/v0/inboxes/{inbox_id}/messages to read inbox messages
  • POST /agent/v0/webhooks to subscribe to event notifications
  • GET /agent/v0/pods to list pods in your tenant