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.

Create an attachment for a record

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

Create an attachment for a record

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tableIdstringRequired
recordIdstringRequired
Body
fileanyRequired

The file to upload

Responses
201

201

application/json;charset=UTF-8
Responseobject · AttachmentCreateResponse
post
/tables/{tableId}/records/{recordId}/attachments

List all attachments for a record

get
/tables/{tableId}/records/{recordId}/attachments

List all attachments for a record

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tableIdstringRequired

Table identifier

recordIdstringRequired

Record identifier

Header parameters
AuthorizationstringRequired

Bearer token for authentication

Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImQ3NmVlOTI2LTJhNDYtNGIzMy04NDIzLTczNjFiZDM5YmU0MyIsICJpYXQiOjE3NTY3Mzc1NjIsICJleHAiOjE3NTY3NDExNjIsICJjdXN0b206dGVhbUlkIjoiYTlmYmY0ZGMtZGEzNS00YzIzLWE1YjItMTFlOTQ0NzNiZjBlIn0.
Responses
get
/tables/{tableId}/records/{recordId}/attachments

Get link of a specific attachment

get
/tables/{tableId}/records/{recordId}/attachments/{attachmentId}

Get link of a specific attachment

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tableIdstringRequired

Table identifier

recordIdstringRequired

Record identifier

attachmentIdstringRequired

Attachment identifier

Header parameters
AuthorizationstringRequired

Bearer token for authentication

Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImU5ZjhhZTBmLTQ3NmItNDYzMS1hNTNmLWIzZDIyM2M3ZTcyNyIsICJpYXQiOjE3NTY3Mzc1NjEsICJleHAiOjE3NTY3NDExNjEsICJjdXN0b206dGVhbUlkIjoiODM4MzA5NDAtMzRjNy00ZjZiLWIwZTUtNWE5ZDE5ZmM4ZTUwIn0.
Responses
get
/tables/{tableId}/records/{recordId}/attachments/{attachmentId}

Delete an attachment from a record

delete
/tables/{tableId}/records/{recordId}/attachments/{attachmentId}

Delete an attachment from a record

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
tableIdstringRequired

Table identifier

recordIdstringRequired

Record identifier

attachmentIdstringRequired

Attachment identifier

Header parameters
AuthorizationstringRequired

Bearer token for authentication

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

No content

Last updated

Was this helpful?