---
title: "Upload a checklist response attachment to the storage"
method: POST
path: "/checklists/ChecklistResponse/attachments"
tags: ["CheckLists"]
---

# Upload a checklist response attachment to the storage

`POST /checklists/ChecklistResponse/attachments`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/checklists/ChecklistResponse/attachments`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/checklists/ChecklistResponse/attachments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body `multipart/form-data`

- object
  - `file` string, binary: File to attach to the response to a checklist question.

## Response `200`

File successfully uploaded to storage. The document path is returned in the response.

- ServiceChannelServicesWebApiModelsResponseChecklistsChecklistResponsesUploadedAttachmentResponse: Uploaded file information.
  - `DocumentPath` string: Document path in the storage.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 503 - Bad request, 503 - No checklist response attachment to upload.
- `401`: The request is not authorized. <br/>Error codes: 504 — API call rejected by security permissions
- `500`: The server was unable to complete the request due to an internal error.

---

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