> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gork.email/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Inbox

> Provision a new dedicated email address for an AI agent.

### Body Parameters

<ParamField body="username" type="string" required>
  The local-part of the email address (e.g., `sales-rep`).
</ParamField>

<ParamField body="name" type="string">
  Human-readable display name for the inbox (e.g., `Sales Representative`).
</ParamField>

<ParamField body="domainId" type="string">
  The ID of a verified custom domain. If omitted, the default domain is used.
</ParamField>

### Response

<ResponseField name="data" type="object">
  <ResponseField name="id" type="string">
    Unique inbox identifier (e.g., `inb_89a0b12`).
  </ResponseField>

  <ResponseField name="address" type="string">
    Full email address (e.g., `sales-rep@gork.email`).
  </ResponseField>

  <ResponseField name="name" type="string">
    Display name of the agent inbox.
  </ResponseField>

  <ResponseField name="isActive" type="boolean">
    Whether the inbox is active and receiving messages.
  </ResponseField>

  <ResponseField name="createdAt" type="string">
    ISO 8601 creation timestamp.
  </ResponseField>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.gork.email/v1/inboxes \
    -H "Authorization: Bearer gork_live_YOUR_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "username": "sales-rep",
      "name": "Sales Representative"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 201 Created theme={null}
  {
    "data": {
      "id": "inb_89a0b12",
      "address": "sales-rep@gork.email",
      "name": "Sales Representative",
      "isActive": true,
      "createdAt": "2026-09-07T00:00:00.000Z"
    }
  }
  ```
</ResponseExample>
