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 all attachments for a record

get

List all attachments for a record. Requires can_read_attachments permission on the table.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
tableIdstringRequired

Table identifier

recordIdstringRequired

Record identifier

Header parameters
AuthorizationstringRequired

Organization token (tot_) — preferred method, or legacy Bearer JWT token. Pass the tot_ token directly without Bearer prefix; use Bearer <jwt> for legacy JWT auth.

Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImQ3NmVlOTI2LTJhNDYtNGIzMy04NDIzLTczNjFiZDM5YmU0MyIsICJpYXQiOjE3NTY3Mzc1NjIsICJleHAiOjE3NTY3NDExNjIsICJjdXN0b206dGVhbUlkIjoiYTlmYmY0ZGMtZGEzNS00YzIzLWE1YjItMTFlOTQ0NzNiZjBlIn0.
Responses
200

200

application/json;charset=UTF-8
get
/tables/{tableId}/records/{recordId}/attachments

Get link of a specific attachment

get

Get link of a specific attachment. Requires can_read_attachments permission on the table.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
tableIdstringRequired

Table identifier

recordIdstringRequired

Record identifier

attachmentIdstringRequired

Attachment identifier

Header parameters
AuthorizationstringRequired

Organization token (tot_) — preferred method, or legacy Bearer JWT token. Pass the tot_ token directly without Bearer prefix; use Bearer <jwt> for legacy JWT auth.

Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImU5ZjhhZTBmLTQ3NmItNDYzMS1hNTNmLWIzZDIyM2M3ZTcyNyIsICJpYXQiOjE3NTY3Mzc1NjEsICJleHAiOjE3NTY3NDExNjEsICJjdXN0b206dGVhbUlkIjoiODM4MzA5NDAtMzRjNy00ZjZiLWIwZTUtNWE5ZDE5ZmM4ZTUwIn0.
Responses
200

200

application/json;charset=UTF-8
get
/tables/{tableId}/records/{recordId}/attachments/{attachmentId}

Create an attachment for a record

post

Create an attachment for a record. Requires can_edit_attachments permission on the table.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
tableIdstringRequired
recordIdstringRequired
Body
fileanyRequired

The file to upload

tagsstring[]Optional

Optional list of tags to associate with the uploaded file

Responses
post
/tables/{tableId}/records/{recordId}/attachments

Delete an attachment from a record

delete

Delete an attachment from a record. Requires can_edit_attachments permission on the table.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
tableIdstringRequired

Table identifier

recordIdstringRequired

Record identifier

attachmentIdstringRequired

Attachment identifier

Header parameters
AuthorizationstringRequired

Organization token (tot_) — preferred method, or legacy Bearer JWT token. Pass the tot_ token directly without Bearer prefix; use Bearer <jwt> for legacy JWT auth.

Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6IjY2NGExOGQ5LWIwMzgtNDIyOC05ZDhlLTA2OGQ2ZTI1NTljMyIsICJpYXQiOjE3NTY3Mzc1NjIsICJleHAiOjE3NTY3NDExNjIsICJjdXN0b206dGVhbUlkIjoiNTI0NmIxNDItODZiMC00M2M1LTgyYzctNTVlZjJiZjkzMWZjIn0.
Responses
delete
/tables/{tableId}/records/{recordId}/attachments/{attachmentId}

No content

Last updated