---
title: "Create a new attachment_markup"
method: POST
path: "/api/v3/projects/{project_id}/attachment_markups"
tags: ["attachment markups"]
---

# Create a new attachment_markup

`POST /api/v3/projects/{project_id}/attachment_markups`

## Path parameters

- `project_id` string, uuid, required

## Headers

- `Fieldwire-Version` string, date, required

## Request body

- AttachmentMarkupCreateInput — Schema for creating attachment_markups
  - `id` string, uuid — ID of the entity
  - `markupable_id` string, uuid — ID of the attachment entity this markup lives on
  - `markupable_type` 'Attachment' | 'RfiAttachment' — Type of the attachment entity this markup lives on
  - `data` object, required — GeoJSON representation of a Attachment Markup. https://geojson.org/
  - `device_created_at` string, date-time — Time when the device created the entity
  - `device_updated_at` string, date-time — Time when the device last updated the entity
  - `creator_user_id` integer — ID of the user who created this attachment
  - `last_editor_user_id` integer — ID of the user who most recently edited this attachment

## Response `201`

Successful response

- AttachmentMarkup — Markup that lives on markupable attachment entities, currently `Attachment` & `RfiAttachment`
  - `id` string, uuid, required — ID of the entity
  - `markupable_id` string, uuid, required — ID of the attachment entity this markup lives on
  - `markupable_type` 'Attachment' | 'RfiAttachment', required — Type of the attachment entity this markup lives on
  - `project_id` string, uuid, required — ID of the project this entity belongs to
  - `data` object, required — GeoJSON representation of a Attachment Markup. https://geojson.org/
  - `created_at` string, date-time, required — Time when the server created the entity
  - `updated_at` string, date-time, required — Time when the server last updated the entity
  - `device_created_at` string, date-time, required — Time when the device created the entity
  - `device_updated_at` string, date-time, required — Time when the device last updated the entity
  - `resolved_conflict` boolean, required — Specifies if PUT/PATCH request was rejected - do not store this field!
  - `creator_user_id` integer, required — ID of the user who created this attachment
  - `last_editor_user_id` integer, required — ID of the user who most recently edited this attachment
  - `deleted_at` string, date-time, nullable — Time the server deleted the entity

---

[API](https://skmtc.net/fieldwire/apis/fieldwire-super-api.md) · [All operations](https://skmtc.net/fieldwire/apis/fieldwire-super-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fieldwire/fieldwire-super-api/versions/66ee1c20b92d/schema)
