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

# Get one EmailAccount

> Retrieve a single EmailAccount record by its Id.

## Authentication

<Note>
  This endpoint requires OAuth2 authentication. Include a valid bearer token in the `Authorization` header.
  The authenticated user must be a full unrestricted administrator or have the **`EmailAccount-Read`** role.
</Note>

## Path Parameters

<ParamField path="id" type="integer" required>
  The Id of the EmailAccount record to retrieve.
</ParamField>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/crm/emailaccounts/87654321" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/crm/emailaccounts/87654321',
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

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

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

  response = requests.get(
      'https://spaces.nexudus.com/api/crm/emailaccounts/87654321',
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

  record = response.json()
  ```
</CodeGroup>

## Response

### 200

<ResponseField name="BusinessId" type="integer">
  Business Id.
</ResponseField>

<ResponseField name="DisplayName" type="string">
  Display Name.
</ResponseField>

<ResponseField name="EmailAddress" type="string">
  Email Address.
</ResponseField>

<ResponseField name="Active" type="boolean">
  Active.
</ResponseField>

<ResponseField name="SendNotificationOnNewMessages" type="boolean">
  Send Notification On New Messages.
</ResponseField>

<ResponseField name="NotificationEmailAddress" type="string">
  Notification Email Address.
</ResponseField>

<ResponseField name="IncomingServer" type="string">
  Incoming Server.
</ResponseField>

<ResponseField name="IncomingServerType" type="integer">
  Incoming Server Type.
</ResponseField>

<ResponseField name="IncomingServerPort" type="integer">
  Incoming Server Port.
</ResponseField>

<ResponseField name="IncomingServerSSL" type="boolean">
  Incoming Server SSL.
</ResponseField>

<ResponseField name="IncomingServerUsername" type="string">
  Incoming Server Username.
</ResponseField>

<ResponseField name="DeleteMessageSettings" type="integer">
  Delete Message Settings.
</ResponseField>

<ResponseField name="OutgoingServer" type="string">
  Outgoing Server.
</ResponseField>

<ResponseField name="OutgoingServerPort" type="integer">
  Outgoing Server Port.
</ResponseField>

<ResponseField name="OutgoingServerSSL" type="boolean">
  Outgoing Server SSL.
</ResponseField>

<ResponseField name="OutgoingServerUsername" type="string">
  Outgoing Server Username.
</ResponseField>

<ResponseField name="ReplyToEmail" type="string">
  Reply To Email.
</ResponseField>

<ResponseField name="LastCheckTime" type="string">
  Last Check Time.
</ResponseField>

<ResponseField name="LastMessageId" type="integer">
  Last Message Id.
</ResponseField>

<ResponseField name="ErrorCount" type="integer">
  Error Count.
</ResponseField>

<ResponseField name="GoogleAccessToken" type="string">
  Google Access Token.
</ResponseField>

<ResponseField name="Office365AccessToken" type="string">
  Office365Access Token.
</ResponseField>

<ResponseField name="Id" type="integer">
  Unique record identifier.
</ResponseField>

<ResponseField name="UniqueId" type="string">
  UUID of the record.
</ResponseField>

<ResponseField name="CreatedOn" type="string">
  Date and time the record was created (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedOn" type="string">
  Date and time the record was last updated (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedBy" type="string">
  Email of the user who last updated this record.
</ResponseField>

<ResponseField name="IsNew" type="boolean">
  Whether the record was recently created.
</ResponseField>

<ResponseField name="SystemId" type="string">
  External system identifier.
</ResponseField>

```json Example Response theme={null}
{
  "BusinessId": 0,
  "DisplayName": "",
  "EmailAddress": "",
  "Active": false,
  "SendNotificationOnNewMessages": false,
  "NotificationEmailAddress": null,
  "IncomingServer": "",
  "IncomingServerType": 0,
  "IncomingServerPort": 0,
  "IncomingServerSSL": false,
  "IncomingServerUsername": "",
  "DeleteMessageSettings": 0,
  "OutgoingServer": "",
  "OutgoingServerPort": 0,
  "OutgoingServerSSL": false,
  "OutgoingServerUsername": "",
  "ReplyToEmail": null,
  "LastCheckTime": null,
  "LastMessageId": 0,
  "ErrorCount": 0,
  "GoogleAccessToken": null,
  "Office365AccessToken": null,
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "EmailAccount Example",
  "LocalizationDetails": null,
  "CustomFields": null
}
```
