Skip to main content
POST
/
api
/
v2
/
ramps
/
{id}
/
documents
Upload ramp document
curl --request POST \
  --url https://sandbox.killb.app/api/v2/ramps/{id}/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'documentType=<string>' \
  --form file='@example-file'
{
  "documentType": "<string>",
  "filePath": "<string>",
  "uploadedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Body

multipart/form-data
documentType
string
required
file
file
required

Response

documentType
string
required
filePath
string
required

Path of the file stored in Google Cloud Storage

uploadedAt
string<date-time>
required