Collections
List Collections
The key owner's Collections, optionally filtered by access.
get/v2/collections
Request
- Base URLhttps://api.codepen.io
- Auth
- HTTP bearer
- or API key in header X-API-Key
Query parameters
pageinteger
The page, from 1.
per_pageinteger
Items per page. A value over 100 is reduced to 100, not refused.
sort'created' | 'updated' | 'popularity'
The order: by creation or update time, or by popularity.
direction'asc' | 'desc'
desc, the default, lists newest first.
accessstring
Comma list of Public and Private.
Response
A page of Collections.
Changes
No recorded changes to this operation across all 1 revision of this API.