---
title: "Upload attachment to monitoring workflow row"
method: POST
path: "/monitoring-workflows/{workflowId}/attachments"
tags: ["MonitoringWorkflow"]
---

# Upload attachment to monitoring workflow row

`POST /monitoring-workflows/{workflowId}/attachments`

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Response `201`

Attachment uploaded successfully

- UploadMonitoringWorkflowAttachmentResponse — Response containing the uploaded attachment metadata
  - `message` string — Success message
  - `attachment` MonitoringWorkflowAttachment — Attachment metadata for monitoring workflow row
    - `createdAt` string — Creation timestamp
    - `fileType` string, required — Document file type
    - `fileUrl` string, required — GCS file URL for file retrieval
    - `originalFileName` string, required — Original file name
    - `expirationDate` string — Expiration date
    - `createdBy` string — User who created the record

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[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)
