Skip to main content
POST
/
cards
/
{cardPublicId}
/
attachments
/
confirm
Confirm attachment upload and save to database
curl --request POST \
  --url https://kan.bn/api/v1/cards/{cardPublicId}/attachments/confirm \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "s3Key": "<string>",
  "filename": "<string>",
  "originalFilename": "<string>",
  "contentType": "<string>",
  "size": 1
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardPublicId
string
required
Minimum length: 12

Body

application/json
s3Key
string
required
filename
string
required
originalFilename
string
required
contentType
string
required
size
number
required
Required range: x > 0

Response

Successful response

The response is of type any.