Urlshare

Upload a file and retrieve URL

Uploads a file to the server and returns a URL where the uploaded file can be accessed temporarily. This endpoint supports uploading images only, images shoudl be 1024x1024, or 1024x768 or 768x1024, otherwise they will be resized automatically. Files larger than 5mb will be rejected.

post/urlshare

Request

  • Base URL: https://apipie.ai
  • URL: https://apipie.ai/urlshare
  • Auth: API key in header Authorization

Response

File uploaded successfully and URL returned

urlstring

URL to access the uploaded file.

Example response

{
  "url": "https://apipie.ai/temp/uniquefilename.jpg"
}

Changes

No recorded changes to this operation across all 1 revision of this API.