# AgentMail: Get Organization

> AgentMail: Get Organization is a free API for AI agents from x402.api.agentmail.to, Free, status unknown (last checked 2026-09-15).

Retrieves the current organization's details for the authenticated AgentMail account

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/organizations
- Price: Free
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-5ad6ebee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kKV6ylFLBSY0w0iiYAP0c

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 agentmail-5ad6ebee
```

Example prompt: What organization details are associated with my AgentMail account?

## When to prefer this

Use this endpoint when you need to retrieve the top-level organization context for an AgentMail account, such as before managing inboxes, domains, or webhooks, or when you need to confirm which organization is associated with the current credentials.

## Known failure modes

- 401 Unauthorized if authentication credentials are missing or invalid
- 403 Forbidden if the account does not have access to the organization
- 404 Not Found if no organization is associated with the account
- 500 Internal Server Error if AgentMail service is unavailable

## How this service works

Get Organization

## Output

Returns a JSON object containing the organization's details such as name, ID, and configuration metadata associated with the authenticated AgentMail account.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-5ad6ebee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.api.agentmail.to](https://www.zero.xyz/host/x402.api.agentmail.to/llms.txt)
