younifyd
Menu

Upload Attachment

Upload an attachment to a record's field

POST/{baseId}/{tableIdOrName}/{recordId}/uploadAttachment

Use it in a workflow

  1. Add a step and choose the Airtable connector.
  2. Pick the Upload Attachment action (under Records).
  3. Fill in the fields below, then reference the result from later steps as {{uploadAttachment.response.data}}.

Request

Path parameters

baseIdstringrequired
tableIdOrNamestringrequired
recordIdstringrequired

Request body

Enter the body as JSON in the step's Body field.

contentTypestringrequired

MIME type, e.g. image/png.

filestringrequired

Base64-encoded file content.

filenamestringrequired
fieldstring

Target attachment field name or ID.

json
{
  "contentType": "string",
  "file": "string",
  "filename": "string",
  "field": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{uploadAttachment.response.data.<field>}}.

idstring
createdTimestring (date-time)
fieldsobject
json
{
  "id": "string",
  "createdTime": "2025-01-01T00:00:00Z",
  "fields": {}
}

Need more? See the Airtable guide for connection setup and behaviour shared by every action.

Was this page helpful?