Skip to main content
POST
/
api
/
board
/
{boardId}
/
{cardId}
/
file
Upload a file to a card
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>"
  }
}

Authorizations

x-token
string
header
required

Path Parameters

boardId
string
required
cardId
string
required

Body

multipart/form-data
file
file
required

Response

File uploaded and attached.

data
object