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.
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
404
Record not found or no attachments available.
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"
}
]
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
404
Attachment not found.
application/json
get
GET /tables/{tableId}/records/{recordId}/attachments/{attachmentId} HTTP/1.1
Host: api.transactionlink.io
Accept: */*
{
"link": "https://example.com"
}
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
400
Bad request or invalid file format.
application/json
413
File too large.
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"
}
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.
404
Attachment not found.
application/json
delete
DELETE /tables/{tableId}/records/{recordId}/attachments/{attachmentId} HTTP/1.1
Host: api.transactionlink.io
Accept: */*
No content
Last updated
Was this helpful?