---
title: "Create an Attachment on a Record"
method: POST
path: "/records/{id}/attachments/{key}"
tags: ["Records"]
---

# Create an Attachment on a Record

`POST /records/{id}/attachments/{key}`

Create an attachment on a specified record at the specified attachment key. 

**OAuth Scope required:** `public.records.createAttachments`

## Path parameters

- `id` string, required
- `key` string, required

## Query parameters

- `addressAsObject` boolean

## Headers

- `x-as-user-email` string
- `x-as-user-id` string

## Response `200`

200

- object

## Other responses

- `400` — Bad request error for creating record attachment.

---

[API](https://skmtc.net/ironcladapp/apis/ironclad-public-api.md) · [All operations](https://skmtc.net/ironcladapp/apis/ironclad-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ironcladapp/ironclad-public-api/versions/9459b4cfc1e0/schema)
