---
title: "Create notification"
method: POST
path: "/api/v1/notifications/add"
tags: ["Notifications"]
---

# Create notification

`POST /api/v1/notifications/add`

## Request body

- NotificationSendCommand
  - `projectId` integer
  - `actionType` 'StartAddServer' | 'AddedServer' | 'StartAddVm' | 'StartAddVmDisk' | 'AddedVmDisk' | 'StartDeleteVmDisk' | 'DeletedVmDisk' | 'AddedVm' | 'StartDeleteVm' | 'DeletedVm' | 'StartDeleteServer' | 'DeletedServer' | 'CommitChanges' | 'CreatedProject' | 'StartPurgeProject' | 'PurgedProject' | 'CapacityNotAvailable' | 'SpotFailure' | 'CreateInfraFailure' | 'DestroyInfraFailure' | 'LoginFailed' | 'KubernetesError' | 'StartUpgradeProject' | 'UpgradedProject' | 'StartUpdateCloudCredentials' | 'UpdatedCloudCredentials' | 'StartedEnableGatekeeper' | 'StartedDisableGatekeeper' | 'StartedEnableBackup' | 'StartedDisableBackup' | 'EnabledBackup' | 'DisabledBackup' | 'EnabledGatekeeper' | 'DisabledGatekeeper' | 'AddedBackupPolicy' | 'DeletedBackupPolicy' | 'StartEnableMonitoring' | 'EnabledMonitoring' | 'StartDisableMonitoring' | 'DisabledMonitoring' | 'HealthStatus' | 'ServerRebooted' | 'SilenceAlert' | 'AddedProject' | 'AddedUser' | 'ServerStopped' | 'ServerStarted' | 'ServerShelved' | 'ServerUnshelved' | 'ServerConsole' | 'ServerStatus' | 'PatchKubernetes' | 'InstallApplication' | 'CancelApplication' | 'UninstallApplication' | 'EnableAutoscaling' | 'DisableAutoscaling' | 'BoundProject' | 'LockUnlockProject' | 'EnabledAi' | 'StartedEnableAi' | 'DisabledAi' | 'StartedDisableAi' | 'EnableDisableMaintenanceMode' | 'UpdateVmFlavor' | 'DeleteVirtualCluster' | 'StartCommitChanges' | 'StartPurgeServers' | 'StartPurgeVms' | 'StartCommitVmChanges' | 'StartRepairServers' | 'StartRepairVms' | 'None' | 'CommitVmChanges' | 'RepairServers' | 'RepairVms' | 'ScaleUpServers' | 'ScaleUpVms' | 'StartAddingVCluster' | 'AddingVCluster' | 'StartImportCluster' | 'StartMigrationCluster' | 'KubernetesAction' | 'DeletedProject'
  - `actionStatus` 'succeeded' | 'failed' | 'warning'
  - `projectType` 'K8S' | 'VM'

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
