Skip to main content
POST
/
v1
/
admin
/
upload-image
Upload Image
curl --request POST \
  --url https://api.ontora.com/v1/admin/upload-image \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>'
{
  "url": "<string>",
  "path": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.ontora.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

entity_type
string
default:general
entity_id
string
default:unknown

Body

multipart/form-data
file
string
required

Response

Successful Response

url
string
required
path
string
required