---
title: "Create Flag"
method: POST
path: "/v1/flags"
tags: ["Annotate"]
---

# Create Flag

`POST /v1/flags`

## Request

- Base URL: `https://api.sandbox.usenash.com`
- URL: `https://api.sandbox.usenash.com/v1/flags`
- Auth: none declared

Create a flag annotation on a delivery or job to mark it for attention or follow-up.

## Request body

- CreateFlagInputSerializer: Expected payload for the create flag endpoint.
  - `jobId` string, nullable: The job ID to create a flag for.
  - `taskId` string, nullable: The task ID to create a flag for.
  - `orderId` string, nullable: The order ID to create a flag for.
  - `deliveryId` string, nullable: The delivery ID to create a flag for.
  - `status` 'NEEDS_ATTENTION' | 'ACKNOWLEDGED' | 'RESOLVED'
  - `notes` string, required: The notes to create a flag for.

## Other responses

- `422`: Unprocessable Content

---

[API](https://skmtc.dev/nash/apis/nash-api.md) - [All operations](https://skmtc.dev/nash/apis/nash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nash/apis/nash-api/revisions/e3713837c5c9?raw)
