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

# Delete a receptionist task

> Deletes the task from the inbox. This cannot be undone; to hide a task but keep it, set `status` to `archived` instead. Returns 404 if the task isn't your organization's. Requires the receptionist:write scope.

| Requirement | Detail |
| - | - |
| **Scope** | `receptionist:write` |
| **Rate limit** | About 60 requests per minute per API key (shared by all endpoints; approximate) |
| **Cost** | Free |

> [!WARNING]
>
> **Safety**
>
> * **Writes data:** Yes. **Permanently** deletes the task. To keep a record, set `status` to `archived` with `PATCH` instead.
> * **Safe to retry:** Yes. A repeat returns `404` because the task is already gone.
> * **Contacts an outside system:** None
> * **Dry run:** Not available.

> [!NOTE]
>
> Rolling out: this endpoint is on staging first and not yet on `api.healos.ai`.

Another organization's task is a `404` and nothing is deleted.

Guide: [Calls and inbox](https://docs.healos.ai/guides/receptionist/calls-and-inbox.md). Errors: [Error catalog](https://docs.healos.ai/errors.md).


## OpenAPI

````yaml openapi/ext-api-v1.json DELETE /receptionist/tasks/{taskId}
openapi: 3.0.0
info:
  title: Healos External API
  version: 1.0.0
  description: >-
    External API for managing patients, documents, and appointments, listing
    providers and note templates, pulling clinical notes (with transcript and
    patient context), running insurance eligibility checks, browsing the EHR
    action catalog, reading AI Receptionist calls (summary, transcript,
    extracted details and recording), managing the AI Receptionist inbox tasks,
    and registering webhooks for note and document events.
servers:
  - url: https://api.healos.ai/ext-api/v1
    description: Production
  - url: http://localhost:8787/ext-api/v1
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /receptionist/tasks/{taskId}:
    delete:
      tags:
        - Receptionist
      summary: Delete a receptionist task
      description: >-
        Deletes the task from the inbox. This cannot be undone; to hide a task
        but keep it, set `status` to `archived` instead. Returns 404 if the task
        isn't your organization's. Requires the receptionist:write scope.
      parameters:
        - schema:
            type: string
            description: Task identifier, from GET /receptionist/tasks.
            example: 7a5c0000-0000-4000-8000-000000000001
          required: true
          name: taskId
          in: path
      responses:
        '200':
          description: Task deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope (needs receptionist:write)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Task not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitError'
components:
  schemas:
    DeleteResponse:
      type: object
      properties:
        success:
          type: boolean
      required:
        - success
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    RateLimitError:
      type: object
      properties:
        error:
          type: string
          example: Rate limit exceeded. Please retry after the window resets.
        code:
          type: string
          enum:
            - daily_cap_reached
          description: >-
            Set when the organization reached its daily cap for this paid
            operation (not on a per-minute limit).
        reset_at:
          type: string
          format: date-time
          description: 'With `code`: when the daily cap resets (next 00:00 UTC).'
          example: '2026-10-28T00:00:00.000Z'
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key obtained from /api/v1/ext-api-keys

````

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