HomeUsing the Platform APIPlatform API Reference

collections.create

This method creates a new collection. Will return an OK response collection_id and collection_type.

Parameters

NameTypeDescription
namestring(required)The name of the collection.
descriptionstring(optional)The description of the collection.
privacy_typestring(optional)This specifies the privacy type of the collection. This value can either be "public" or "private". If not included, the collection will default to "public."
api_keystring(required)API key assigned to your account.
api_sigstring(optional)MD5 hash of the active request and your secret key. This is an optional security measure. See the signing documentation for more info.

Sample return XML

<?xml version="1.0" encoding="UTF-8"?><rsp stat="ok"><collection_id>61</collection_id><privacy_type>public</privacy_type></rsp>

Error codes

401Unauthorized
500Internal Server Error. Scribd has been notified about this problem.
664Collection name can't be blank

Back to Platform API Reference

scribd