cURL
curl --request POST \ --url https://kan.bn/api/v1/cards/{cardPublicId}/attachments/upload-url \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "filename": "<string>", "contentType": "<string>", "size": 26214400 } '
{ "url": "<string>", "key": "<string>" }
Generates a presigned URL for uploading an attachment to S3
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
12
1 - 255
0 < x <= 52428800
Successful response