cURL
curl --request POST \ --url https://core-api.getaptly.com/api/board/{boardId}/{cardId}/file \ --header 'Content-Type: multipart/form-data' \ --header 'x-token: <api-key>' \ --form file='@example-file'
{ "data": { "fileId": "<string>", "name": "<string>", "size": 123, "type": "<string>" } }
Uploads a file and attaches it to a card. Send as multipart/form-data with the file in the file field.
multipart/form-data
file
Max file size: 50 MB
Accepted types: JPEG, PNG, GIF, WebP, SVG, PDF, Word, Excel, plain text, CSV, MP4, MOV, MP3, WAV
File uploaded and attached.
Show child attributes