Attachments

This API allows users to retrieve attachments associated with a specific record in a table. Attachments can include various types of files such as documents, images, and other resources uploaded to the system.

List attachments for a record

get

Retrieve all attachments associated with a given record.

Path parameters
tableIdstring · uuidRequired

UUID of the table.

recordIdstring · uuidRequired

UUID of the record.

Responses
200
Successfully retrieved attachments.
application/json
get
GET /tables/{tableId}/records/{recordId}/attachments HTTP/1.1
Host: api.transactionlink.io
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "recordId": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "type": "text",
    "size": 1,
    "createdDateTime": "2025-07-03T04:15:23.000Z"
  }
]

Get attachment details

get

Retrieve details of a specific attachment.

Path parameters
tableIdstring · uuidRequired

UUID of the table.

recordIdstring · uuidRequired

UUID of the record.

attachmentIdstring · uuidRequired

UUID of the attachment.

Responses
200
Attachment details retrieved successfully.
application/json
get
GET /tables/{tableId}/records/{recordId}/attachments/{attachmentId} HTTP/1.1
Host: api.transactionlink.io
Accept: */*
{
  "link": "https://example.com"
}

Upload an attachment to a record

post

Upload a new attachment to a given record.

Path parameters
tableIdstring · uuidRequired

UUID of the table.

recordIdstring · uuidRequired

UUID of the record.

Body
filestring · binaryOptional

File to be uploaded.

Responses
201
Attachment uploaded successfully.
application/json
post
POST /tables/{tableId}/records/{recordId}/attachments HTTP/1.1
Host: api.transactionlink.io
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "recordId": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "type": "text",
  "size": 1,
  "createdDateTime": "2025-07-03T04:15:23.000Z"
}

Delete an attachment

delete

Remove an attachment from a record.

Path parameters
tableIdstring · uuidRequired

UUID of the table.

recordIdstring · uuidRequired

UUID of the record.

attachmentIdstring · uuidRequired

UUID of the attachment.

Responses
204
Attachment deleted successfully.
delete
DELETE /tables/{tableId}/records/{recordId}/attachments/{attachmentId} HTTP/1.1
Host: api.transactionlink.io
Accept: */*

No content

Last updated

Was this helpful?