---
title: "Assign Image"
method: POST
path: "/api/assignment/assign"
tags: ["Image Assignment"]
---

# Assign Image

`POST /api/assignment/assign`

## Request

- Base URL: `https://api.avete.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avete.ai/api/assignment/assign`
- Auth: HTTP bearer

Assigns an image to a member for review.

## Query parameters

- `image_id` integer, required
- `assigned_to_id` integer, required
- `guideline_id` integer, nullable
- `report_id` integer, nullable: Explicit report context the assignment was made from
- `notify` boolean
- `due_date` string, date-time, nullable: Optional due date for the task

## Response `200`

Successful Response

- ImageAssignmentRead
  - `image_id` integer, required
  - `guideline_id` integer, nullable
  - `assigned_to_id` integer, nullable
  - `assigned_by_id` integer, nullable
  - `status` string
  - `id` integer, required
  - `resolve_comment` string, nullable
  - `due_date` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `assigned_to_aws_id` string, nullable
  - `evidence_urls` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
