Collection methods
Get root collections
GET
https://api.raindrop.io/rest/v1/collections
Returns JSON-encoded array containing all root collections
Get child collections
GET
https://api.raindrop.io/rest/v1/collections/childrens
Returns JSON-encoded array containing all nested collections (that have positive parent.$id
)
Get collection
GET
https://api.raindrop.io/rest/v1/collection/{id}
Path Parameters
Name | Type | Description |
---|---|---|
id | number | Collection ID |
Create collection
POST
https://api.raindrop.io/rest/v1/collection
Create a new collection
Request Body
Name | Type | Description |
---|---|---|
view | string | More details in "Fields" |
title | string | Name of the collection |
sort | number | The order of collection (descending). Defines the position of the collection among all the collections with the same |
public | boolean | Collection and raindrops that it contains will be accessible without authentication? |
parent.$id | integer | The ID of parent collection. Empty for root collections |
cover | array | Collection cover url |
Update collection
PUT
https://api.raindrop.io/rest/v1/collection/{id}
Update an existing collection
Path Parameters
Name | Type | Description |
---|---|---|
id | number | Existing collection id |
Request Body
Name | Type | Description |
---|---|---|
expanded | boolean | Whether the collection`s sub-collections are expanded |
view | string | More details in "Fields" |
title | string | Name of the collection |
sort | number | The order of collection (descending). Defines the position of the collection among all the collections with the same |
public | boolean | Collection and raindrops that it contains will be accessible without authentication? |
parent.$id | integer | The ID of parent collection. Empty for root collections |
cover | array | Collection cover url |
Upload cover
PUT
https://api.raindrop.io/rest/v1/collection/{id}/cover
It's possible to upload cover from desktop. PNG, GIF and JPEG supported
Path Parameters
Name | Type | Description |
---|---|---|
id | string | Existing collection ID |
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | multipart/form-data |
Request Body
Name | Type | Description |
---|---|---|
cover | object | File |
Remove collection
DELETE
https://api.raindrop.io/rest/v1/collection/{id}
Remove an existing collection and all its descendants. Raindrops will be moved to "Trash" collection
Path Parameters
Name | Type | Description |
---|---|---|
id | number | Existing collection ID |
Remove multiple collections
DELETE
https://api.raindrop.io/rest/v1/collections
Remove multiple collections at once.
Nested collections are ignored (include ID's in ids
array to remove them)
Request Body
Name | Type | Description |
---|---|---|
ids | array | Array of collection ID |
Reorder all collections
PUT
https://api.raindrop.io/rest/v1/collections
Updates order of all collections
Request Body
Name | Type | Description |
---|---|---|
sort | string | Change order of all collections. Possible values: "title" - sort alphabetically ascending "-title" - sort alphabetically descending "-count" - sort by raindrops count descending |
Expand/collapse all collections
PUT
https://api.raindrop.io/rest/v1/collections
Path Parameters
Name | Type | Description |
---|---|---|
expanded | boolean | TRUE = expand all FALSE = collapse all |
Merge collections
PUT
https://api.raindrop.io/rest/v1/collections/merge
Merge multiple collections
Request Body
Name | Type | Description |
---|---|---|
to | number | Collection ID where listed collection |
ids | array | Collection ID's |
Remove all empty collections
PUT
https://api.raindrop.io/rest/v1/collections/clean
Empty Trash
DELETE
https://api.raindrop.io/rest/v1/collection/-99
Get system collections count
GET
https://api.raindrop.io/rest/v1/user/stats
Last updated