---
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

---

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