---
title: "Email install command to current user"
method: POST
path: "/api/v1/daemons/email-install-command"
tags: ["daemons"]
---

# Email install command to current user

`POST /api/v1/daemons/email-install-command`

## Request body

- EmailInstallCommandRequest — Request body for emailing an install command to the authenticated user.
  - `install_command` string, required — The install command to send, exactly as shown in the UI.
  - `os` 'linux' | 'macos' | 'windows' | 'freebsd', required — Operating system the install command was generated for.

## Response `200`

Email sent

- ApiResponse
  - `data` TupleUnit — No payload. Present only so the envelope keeps its shape.
  - `error` string, nullable — Human-readable failure message. Omitted on success.
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required — `true` when the request succeeded. `false` responses carry `error` instead of `data`.

## Other responses

- `400` — Email service not configured

## Changes

- **2026-07-29** `51af15be596e` — 2 breaking, 4 info
  - request property `os` was restricted to a list of enum values
  - the `data/oneOf[#/components/schemas/TupleUnit]/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the new `freebsd` enum value to the request property `os`
  - added the new `linux` enum value to the request property `os`
  - …2 more

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/daemons/email-install-command/post.md)

---

[API](https://skmtc.dev/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.dev/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/51af15be596e/schema)
