Collections

Create a Collection

Private needs a PRO plan.

post/v2/collections

Request

  • Base URL
    https://api.codepen.io
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Request body

access'Public' | 'Private'

Private needs a PRO plan.

descriptionstring
titlestring required

Response

The new Collection.

access'Public' | 'Private' required

Private needs a PRO plan.

created_atstring date-time required
descriptionstring required
idstring required
items_countinteger required
popularityinteger required
titlestring required
updated_atstring date-time required
urlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.