---
title: "Create assignment for a single monitoring workflow"
method: POST
path: "/monitoring-workflows/{id}/assignment"
tags: ["MonitoringWorkflow"]
---

# Create assignment for a single monitoring workflow

`POST /monitoring-workflows/{id}/assignment`

Assigns a monitoring workflow to a specific user

## Path parameters

- `id` string, required

## Headers

- `tenant-id` string, required

## Request body

- CreateMonitoringWorkflowAssignmentRequest — Request to create a new assignment for a monitoring workflow
  - `assignTo` string, required — User ID being assigned to

## Response `200`

Assignment created successfully

- AssignmentResult2 — Result of an individual assignment operation
  - `workflowId` string — ID of the credentialing workflow
  - `assignment` AssignmentEntry2
    - `assignedTo` string — User ID the assignment changed to
    - `assignedBy` string — User ID who made the assignment change
    - `assignedAt` string — Timestamp when the assignment was changed
  - `error` string — Error message if assignment failed

## Other responses

- `400` — Invalid request data
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - User does not have required permissions
- `404` — Monitoring workflow not found
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/3d27e9019c7b/schema)
