---
title: "Create a vessel alert"
method: POST
path: "/vessels/alerts"
tags: ["vessels"]
---

# Create a vessel alert

`POST /vessels/alerts`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/vessels/alerts`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- object
  - `vesselId` integer, required
  - `type` string, required
  - `message` string, required
  - `severity` 'info' | 'warning' | 'critical'

## Response `201`

Alert created

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/vessels/alerts/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
