Create a new collection

Create a new collection and automatically add the creating user to it. This endpoint allows authenticated users to create a new collection with a specified name and optional description. The user creating the collection is automatically added as a member.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-API-KeystringRequired

Request

This endpoint expects an object.
namestringRequired
The name of the collection
descriptionstringOptional
An optional description of the collection

Response

Successful Response
resultsobject

Errors