Create an Attachment on a Record

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

OAuth Scope required: public.records.createAttachments

Path Params
string
required

The ID or Ironclad ID of the Record. For an explanation of Record IDs or Ironclad IDs and how to find them, see Getting Started.

string
required
Defaults to signedCopy

The attachment key at which to store the attachment. This can be any arbitrary string.

Query Params
boolean
Defaults to false

When true, returns addresses as objects instead of strings.

Body Params
file

Must be a binary. Base64 is not accepted at this time.

metadata
object

The metadata property's value must be {"filename": "[YOUR_FILE_NAME]"}

Headers
string

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-id is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. More information about permissions.

string

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-email is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. More information about permissions.

Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json