collections.create
This method creates a new collection. Will return an OK response collection_id and collection_type.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | (required) The name of the collection. |
| description | string | (optional) The description of the collection. |
| privacy_type | string | (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_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. |
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
| 401 | Unauthorized |
| 500 | Internal Server Error. Scribd has been notified about this problem. |
| 664 | Collection name can't be blank |
Back to Platform API Reference
