---
title: "Create an attachment based on a remote data endpoint."
method: POST
path: "/api/attachments/remote"
tags: ["Attachment"]
---

# Create an attachment based on a remote data endpoint.

`POST /api/attachments/remote`

## Request body

- AttachmentRemoteCreateDto — Create an attachment.
  - `owner` AttachmentOwnerCreateDto, required — Attachment owner
    - `type` 'salesOrder' | 'salesOrderReceiving' | 'salesOrderPartLineItem' | 'quote' | 'quotePartLineItem' | 'purchaseOrder' | 'purchaseOrderReceiving' | 'purchaseOrderPartLineItem' | 'invoice' | 'workOrderOperation' | 'operation' | 'item' | 'job' — Owner types
    - `id` string — The primary owner id of this attachment.
  - `parent` AttachmentOwnerCreateDto — Attachment owner
    - `type` 'salesOrder' | 'salesOrderReceiving' | 'salesOrderPartLineItem' | 'quote' | 'quotePartLineItem' | 'purchaseOrder' | 'purchaseOrderReceiving' | 'purchaseOrderPartLineItem' | 'invoice' | 'workOrderOperation' | 'operation' | 'item' | 'job' — Owner types
    - `id` string — The primary owner id of this attachment.
  - `fileName` string, required — File name
  - `accessUrl` string, uri, required — File access url
  - `token` string, nullable — Optional token that may be required for access the AccessUrl

## Response `200`

OK

- CreatedResponseDto — Response for a created record
  - `id` string, required — The id of the created record

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/versions/1b5649cff14a/schema)
