file | Multi-Part POST | (required)The contents of the file to upload. This needs to be expressed as part of a multi-part HTTP POST |
doc_type | ["pdf", "doc", "txt", "ppt", etc] | (optional)Identify the document type with the extension for this file. If the extension is not included, Scribd will try to infer it from the file, but you will see better results if you include an explicit extension. The following extensions are currently supported: pdf, txt, ps, rtf, epub, key, odt, odp, ods, odg, odf, sxw, sxc, sxi, sxd, doc, ppt, pps, xls, docx, pptx, ppsx, xlsx, tif, tiff |
access | ["public", "private"] | (optional)Default: "public". |
rev_id | integer | (optional)The doc_id to save uploaded file as a revision to. |
paid_content | {0, 1} | (optional)If paid_content is set to 1, the document will become a paid content document with protected access and encryption enabled by default. This must be set on initial upload - documents cannot be converted to paid content after the fact. The default is 0. |
download_and_drm | ["download-pdf", "download-pdf-orig", "view-only"] | (optional)Default: "download-pdf". To make a document downloadable in addition to viewable, choose one of the download and/or DRM options. This must be set on initial upload - documents cannot be converted after the fact. Only applies to paid content. |
api_key | string | (required)API key assigned to your account. |
api_sig | string | (optional)MD5 hash of the active request and your secret key. This is an optional security measure. See the signing documentation for more info. |
session_key | string | (optional)A session key for a signed in user. If this parameter is provided, your application will carry out actions on behalf of the signed in user corresponding to the session key. Otherwise, your application will carry out actions on behalf of the user account associated with the API account. See the authentication documentation for more information |
my_user_id | string | (optional)This parameter is intended for sites with their own user authentication system. You can create phantom Scribd accounts that correspond to your users by simply passing the unique identifier you use to identify your own user accounts to my_user_id. If you pass this parameter to an API method, the API will act as if it were executed by the phantom user corresponding to my_user_id. See the authentication documentation for more information. |