POST
/
uploads
/
s3
Upload a file to S3
curl --request POST \
  --url https://api.ubpass.co/v1/uploads/s3 \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{}'
{
  "msg": "<string>"
}

Authorizations

api-key
string
header
required

API Key authentication

Query Parameters

bucket
string
required

Bucket name to upload the file to

Body

application/json
file
file
required

File to upload

Response

200 - application/json

File uploaded successfully, path returned

msg
string