Skip to main content
GET
/
api
/
v0
/
file
/
get_upload_url
Get S3 Upload URL
curl --request GET \
  --url https://mainnet.dkn.dria.co/api/v0/file/get_upload_url \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "url": "<string>",
  "id": "<string>"
}

Authorizations

x-api-key
string
header
required

API Key

Response

200 - application/json

Returns S3 Image Upload URL

success
boolean
required

Whether the request was successful

url
string | null
required

The S3 URL for uploading the file

id
string | null
required

The eventual ID of the uploaded document