cURL
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 } '
{ "code": "BAD_REQUEST", "message": "Invalid input data", "issues": [] }
Confirms an attachment upload and saves the record to the database
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
12
x > 0
Successful response