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

# Get Email Account

> Requires the `email.read` token ability.



## OpenAPI

````yaml /api-reference/openapi.json get /email-accounts/{email}
openapi: 3.1.2
info:
  title: Hosting Panel API
  version: 1.0.0
  description: >-
    The customer-facing hosting panel API. A request is scoped to the hosting
    account its bearer token belongs to; the token abilities decide which
    endpoints it may call.
servers:
  - url: https://hosting-panel.net/api/v1
security:
  - sanctum: []
tags:
  - name: Account
  - name: Domains
  - name: DNS
  - name: Email Accounts
  - name: Forwarders
  - name: Databases
  - name: FTP Accounts
  - name: Cron Jobs
  - name: URL Schedules
  - name: Node.js Applications
  - name: Valkey
  - name: Photon Optimizer
  - name: Statistics
  - name: PSI Metrics
  - name: PHP Versions
  - name: Reseller
paths:
  /email-accounts/{email}:
    get:
      tags:
        - Email Accounts
      summary: Get Email Account
      description: Requires the `email.read` token ability.
      operationId: emailAccount.show
      parameters:
        - name: email
          in: path
          required: true
          schema:
            type: integer
        - name: per_page
          in: query
          description: Results per page. Defaults to 50, capped at 200.
          schema:
            type: integer
            default: 50
            minimum: 1
            maximum: 200
      responses:
        '200':
          description: '`EmailAccountResource`'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/EmailAccountResource'
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
components:
  schemas:
    EmailAccountResource:
      type: object
      properties:
        id:
          type: integer
        address:
          type: string
        local_part:
          type: string
        domain:
          type: string
        is_managed:
          type: boolean
        managed_by:
          type:
            - string
            - 'null'
        quota_mb:
          type: integer
        used_bytes:
          type: integer
        spam:
          type: object
          properties:
            filter_enabled:
              type: boolean
            reject_score:
              type: number
          required:
            - filter_enabled
            - reject_score
        created_at:
          type:
            - string
            - 'null'
      required:
        - id
        - address
        - local_part
        - domain
        - is_managed
        - managed_by
        - quota_mb
        - used_bytes
        - spam
        - created_at
      title: EmailAccountResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    sanctum:
      type: http
      description: >-
        An API access token, sent as `Authorization: Bearer <token>`. Its
        abilities decide which endpoints it may call.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.