---
title: "POST /api/v1/job-instances/attachments-only"
method: POST
path: "/api/v1/job-instances/attachments-only"
tags: ["job-instance-controller"]
---

# POST /api/v1/job-instances/attachments-only

`POST /api/v1/job-instances/attachments-only`

## Request

- Base URL: `https://api-docs.gosure.ai`
- URL: `https://api-docs.gosure.ai/api/v1/job-instances/attachments-only`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gosure/apis/gosure-api/docs/api/v1/job-instances/attachments-only/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `attachments` string[]
- `parentJobTypeId` string
- `isPublicAttachment` boolean

## Response `200`

OK

- AttachmentsResponse
  - `status` string
  - `attachments` Attachment[]
    - `name` string
    - `fileName` string
    - `url` string, url
    - `contentBytes` string, byte
    - `contentType` string
    - `sourceType` string
    - `fileSize` integer
    - `fileInstanceId` string

## Other responses

- `400`: Bad Request

---

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