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

# Get email alias

> Retrieve email addresses configured for a corporation's email alias

Retrieves the list of email addresses that receive emails sent to the corporation's email alias.

<ParamField path="corporation_id" type="string" required>
  The unique identifier of the corporation.
</ParamField>

<ResponseField name="emails" type="array" required>
  Array of email addresses that receive forwarded emails.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://transaction-tax.api.in.commenda.io/api/v1/corporations/{corporation_id}/email-alias \
    --header 'Authorization: Bearer <token>'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://transaction-tax.api.in.commenda.io/api/v1/corporations/{corporation_id}/email-alias', {
    method: 'GET',
    headers: {
      'Authorization': 'Bearer <token>'
    }
  });

  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
    'https://transaction-tax.api.in.commenda.io/api/v1/corporations/{corporation_id}/email-alias',
    headers={'Authorization': 'Bearer <token>'}
  )

  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "message": "Successfully fetched emails for email alias.",
    "data": {
      "emails": [
        "accounting@example.com",
        "tax@example.com"
      ]
    }
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "code": "CORPORATION_EMAIL_ALIAS_NOT_FOUND",
      "message": "Email alias not found for corporation"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "error": {
      "code": "CORPORATION_NOT_FOUND",
      "message": "Corporation not found"
    }
  }
  ```
</ResponseExample>
