POST
/
collections
curl --request POST \
  --url https://api.orgnise.in/collections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My Collection",
  "object": "collection"
}'
{
  "id": "1",
  "name": "My Collection",
  "object": "collection",
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "team": "some-team-id",
  "workspace": "some-workspace-id",
  "meta": {
    "title": "My Collection",
    "slug": "my-collection"
  }
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

team_slug
string
required

The slug of the team.

workspace_slug
string
required

The slug of the workspace.

Body

application/json

Create a new collection.

Response

200
application/json

The created collection/page

A collection.