---
search:
  tags:
    - helpdesk
    - POST
seo:
  description: >-
    Enables helpdesk functionality for a specific… Reference for the POST
    /helpdesk/email-accounts/{accountId}/enable endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Enable helpdesk for email account
title: Enable helpdesk for email account
type: openapi-operation
---
Enables helpdesk functionality for a specific email account. The account will use workspace default settings unless account-level overrides are configured.

**What this does:**
- Enables helpdesk processing for the specified email account
- The account will start receiving and processing emails automatically
- Uses workspace default settings if no account-specific overrides exist
- Preserves any existing account-level settings if they were previously configured

**How it works:**
1. The system verifies the email account exists and belongs to the workspace
2. Sets `isEnabled: true` for the account's helpdesk settings
3. If no account settings exist, they are created with workspace defaults
4. If account settings exist, only the `isEnabled` flag is updated
5. The account becomes eligible for automated email pulling via cron jobs

**After enabling:**
- Emails sent to this account will be automatically pulled (every minute via cron)
- Incoming emails will be converted to tasks using workspace defaults (or account overrides)
- Auto-replies will be sent if configured in workspace or account settings
- Tasks will be created with proper assignment, priority, and categorization

**Error handling:**
Returns 404 if the email account is not found or doesn't belong to the workspace.

**Note:** This endpoint requires the `WsSettings.manageSettings` permission. Workspace helpdesk must be enabled (`isHelpdeskEnabled: true`) for this to work.

<Operation source="api-reference" id="helpdeskcontroller-enablehelpdeskforaccount" />
