Upload Small File
Changed onUploads a small (up to 100KB) local file as a temporary file in PDF.co storage. Note: temporary files are automatically permanently removed after 1 hour.
Request
- Base URLhttps://api.pdf.co
- URLhttps://api.pdf.co/v1/file/upload
- AuthAPI key in header x-api-key
Request body multipart/form-data
Response
File uploaded successfully. Temporary URL values in examples are illustrative.
Changes
- breaking
request body became required
- breaking
removed the media type
application/jsonfrom the request body - breaking
the
response's property type changed fromstringtointegerfor status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the media type
multipart/form-datato the request body - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking