curl --request POST \
--url https://app.getaptly.com/api/card/{cardId}/file \
--header 'Content-Type: application/json' \
--header 'x-token: <x-token>' \
--data '
{
"filename": "myphoto.jpg",
"base64": "data:@image/jpeg;base64,..."
}
'{
"fileId": "DNcKJk27qewHTPs6W"
}Post a file to a card instance. The file should be base64 encoded.
curl --request POST \
--url https://app.getaptly.com/api/card/{cardId}/file \
--header 'Content-Type: application/json' \
--header 'x-token: <x-token>' \
--data '
{
"filename": "myphoto.jpg",
"base64": "data:@image/jpeg;base64,..."
}
'{
"fileId": "DNcKJk27qewHTPs6W"
}Documentation Index
Fetch the complete documentation index at: https://aptly-1c228e04.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Your Aptly API Token. Available in the Aptly UI under Card Sources > API.
The unique ID of the card.
File uploaded successfully
"DNcKJk27qewHTPs6W"