v1

latestOpenAPI 3.0.02026-07-2452762.3 KB
Libraries

/libraries

Create a library.

Body

  • title (required) - the title of the library
  • description (optional) - the description of the library
  • accessibility (optional) - public or private
  • visibility (optional) - workspaceMembers or libraryMembers

Requires the libraries.write OAuth scope.

post/v1/libraries

Request body

titlestring required

The title of the library

descriptionstring

The description of the library

accessibility'public' | 'private'

Whether the library is public to the workspace or private

visibility'workspaceMembers' | 'libraryMembers'

Who can see the library — all workspace members or only library members

Response

Created

idstring
titlestring
accessibility'public' | 'private'

Whether the library is public to the workspace or private

visibility'workspaceMembers' | 'libraryMembers'

Who can see the library — all workspace members or only library members

createdAtstring style
updatedAtstring
descriptionstring

The description of the library. Omitted from the response when unset. colorId and icon are not part of the V1 contract.