Get presigned URLs
curl --request POST \
  --url https://api.rampartcorporation.com/v2/storage/upload-urls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "job_id": "job_abc123",
  "files": [
    {
      "filename": "invoices-1.csv",
      "vendor_hint": "Acme Corp"
    },
    {
      "filename": "contracts-2023.pdf"
    }
  ],
  "expires_in": 900
}'
{
  "data": [
    {
      "filename": "invoices-1.csv",
      "presignedUrl": "https://storage.rampart.com/upload/abc123?signature=xyz"
    },
    {
      "filename": "contracts-2023.pdf",
      "presignedUrl": "https://storage.rampart.com/upload/def456?signature=uvw"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json

Response

200 - application/json

Successfully got presigned URLs

The response is of type object.