Upload an image file
Upload an image file
Query Parameters
org string
(If not using an organization API Key) the ID of the organization
multipart/form-data
Request Body required
file binary
The file to upload.
Responses
- 201
- 400
- 401
- 500
Image uploaded successfully
application/json
application/json; charset=utf-8
Schema
Example (from schema)
Schema
url string
URL of the uploaded image
{ "url": "string" }
Schema
Example (from schema)
Schema
url string
URL of the uploaded image
{ "url": "string" }
Bad request. Reasons can be missing org ID, missing file name or file too large.
application/json
application/json; charset=utf-8
Schema
Example (from schema)
Schema
message string
{ "message": "string" }
Schema
Example (from schema)
Schema
message string
{ "message": "string" }
Unauthorized. Invalid API key or token.
application/json
application/json; charset=utf-8
Schema
Example (from schema)
Schema
message string
{ "message": "string" }
Schema
Example (from schema)
Schema
message string
{ "message": "string" }
Unexpected server error
application/json
application/json; charset=utf-8
Schema
Example (from schema)
Schema
message string
{ "message": "string" }
Schema
Example (from schema)
Schema
message string
{ "message": "string" }
Loading...