projqoDevelopers

Reference

Docs pages

A space's page tree; pages read and written as projqo's document JSON or Markdown, with version checks and publishing; move, copy, the trash and restore, versions, and the deleted-pages feed.

List a level of a space's tree

GET/orgs/{org}/spaces/{space}/pages

Scope: docs:read

The space's tree, one level at a time in its order, as the sidebar shows it: the top level, or the children of parent. Drafts are listed for their author only; archived items and blog posts aren't in the tree; a page a view restriction keeps from the person isn't listed, nor anything under it.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • spacestringRequired

    A space's key (an old key still finds it) or id.

    1 to 60 characters

    The id comes from List spaces.

Query parameters

  • limitinteger

    How many items a page holds, 1 to 200.

    from 1 to 200; default 50

  • cursorstring

    The next_cursor of the previous page; leave it out for the first page.

    at most 1000 characters

  • countstring

    true adds total, the number of items in the whole list.

    one of: true, false

  • parentstring (uuid)

    A page of the space: its children. Leave it out for the top level.

    The id comes from List a level of a space's tree.

  • fieldsstring

    Only these fields, comma-separated: id, kind, title, emoji, draft, parent_id, has_children, updated_at, created_by. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of PageSummaryRequired
    Show 9 fields
    • idstring (uuid)Required
    • kindstringRequired

      one of: page, live_doc, blog_post, database, folder, smart_link

    • titlestringRequired
    • emojistring or nullRequired
    • draftbooleanRequired

      Never published (only its author sees it).

    • parent_idstring (uuid) or nullRequired

      null at the top of the space.

    • has_childrenbooleanRequired
    • updated_atstring (date-time)Required

      UTC, with Z.

    • created_bystring (uuid) or nullRequired
  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/spaces/{space}/pages" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "kind": "page",
      "title": "Release checklist",
      "emoji": "✅",
      "draft": false,
      "parent_id": null,
      "has_children": true,
      "updated_at": "2026-12-01T10:15:00.000Z",
      "created_by": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a"
    }
  ],
  "next_cursor": null
}

Create a page

POST/orgs/{org}/spaces/{space}/pages

Scope: docs:write

Creates a page (or a live doc, folder or smart link, where the space's features allow them) as the token's person, under parent_id or at the top of the space: it needs "Add pages" in the space. A page is published as its version 1 unless publish is false, which keeps it a draft only its author sees. The body is projqo's document JSON or Markdown.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • spacestringRequired

    A space's key (an old key still finds it) or id.

    1 to 60 characters

    The id comes from List spaces.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Headers

  • Idempotency-Keystring

    A unique key (such as a uuid): the same key and body within 24 hours gets the first answer again without a second create; another body gets 422.

    1 to 200 characters

Body

  • kindstring

    one of: page, live_doc, folder, smart_link

  • titlestring

    1 to 255 characters

  • parent_idstring (uuid) or null
  • bodyone of 2 shapes

    A document (projqo's document JSON), or Markdown as a string.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • urlstring

    A smart link's address.

    at most 2048 characters

  • publishboolean

    Pages: publish it now (true by default), or keep it as your draft.

  • commentstring

    What changed, for the version history (at most 500 characters).

    at most 500 characters

  • notifyboolean

    Tell the page's watchers (true by default, as the publish dialog).

Answer

201 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 422 idempotency_key_reused idempotency_key_reused: The same Idempotency-Key was sent within 24 hours with a different body.
    422 answer
    {
      "error": {
        "code": "idempotency_key_reused",
        "message": "The same Idempotency-Key was sent within 24 hours with a different body.",
        "status": 422,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/spaces/{space}/pages" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "page",
  "title": "string",
  "parent_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
  "body": "string",
  "url": "string",
  "publish": true,
  "comment": "string",
  "notify": true
}'

Sample answer 201

201 Created
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

List deleted pages

GET/orgs/{org}/pages/deleted

Scope: docs:read

Pages and other items moved to their space's trash since a time (with everything that went with them), and items restored from it, oldest first: a client keeping a copy drops and adds them. Each row reaches the people who could open the item then (organisation owners and admins read every row). Items purged from the trash were already listed when they went to it.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

Query parameters

  • limitinteger

    How many items a page holds, 1 to 200.

    from 1 to 200; default 50

  • cursorstring

    The next_cursor of the previous page; leave it out for the first page.

    at most 1000 characters

  • countstring

    true adds total, the number of items in the whole list.

    one of: true, false

  • sincestring (date-time)

    Only rows at or after this time (with Z or an offset).

  • fieldsstring

    Only these fields, comma-separated: page_id, space_id, kind, title, action, at, by. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of DeletedPageRequired
    Show 7 fields
    • page_idstring (uuid)Required
    • space_idstring (uuid)Required
    • kindstringRequired

      one of: page, live_doc, blog_post, database, folder, smart_link

    • titlestringRequired
    • actionstringRequired

      trashed: it (and what was under it) went to the trash; restored: it came back from there.

      one of: trashed, restored

    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/pages/deleted" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "page_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "space_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
      "kind": "page",
      "title": "Old notes",
      "action": "trashed",
      "at": "2026-12-01T10:15:00.000Z",
      "by": {
        "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
        "name": "Priya Shah"
      }
    }
  ],
  "next_cursor": null
}

Get a page

GET/orgs/{org}/pages/{page}

Scope: docs:read

A page with its body, as the page view shows it: the published version (a live doc's live body), or with status=draft the draft it is being edited in (people who can edit it). Bodies come as projqo's document JSON, or as Markdown with body_format=markdown. A page the person can't open (a view restriction, someone else's draft) answers 404, as a missing one.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

  • statusstring

    published (the default) or draft (the draft being edited; editors only).

    one of: published, draft

  • fieldsstring

    Only these fields, comma-separated: id, kind, title, emoji, space, parent_id, state, archived, version, published, unpublished_changes, owner, created_by, created_at, updated_at, labels, restrictions, url, body, can. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

Change a page

PATCH/orgs/{org}/pages/{page}

Scope: docs:write

Changes the page's title and body from the version you read, and publishes it as the next version (unless publish is false, which leaves it as unpublished changes). version is the version you read (0 for a page never published): when the page has been published since, or its editor holds changes nobody has published yet (someone may be editing it now), the answer is 409 conflict and nothing changes, so your update never writes over anyone's text. The change goes through live editing: people with the page open in the editor see it at once. It needs edit rights on the page, as in the app (an edit restriction lists who may). A live doc changes in its editor only. Folders and smart links take a title (and emoji).

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Body

  • versioninteger

    The version you read (0 for a page never published). Needed when the title or body changes.

    at least 0

  • titlestring

    1 to 255 characters

  • emojistring or null
  • bodyone of 2 shapes

    A document (projqo's document JSON), or Markdown as a string.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • publishboolean

    Publish the change as the next version (true by default).

  • commentstring

    What changed, for the version history (at most 500 characters).

    at most 500 characters

  • notifyboolean

    Tell the page's watchers (true by default, as the publish dialog).

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X PATCH "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "version": 0,
  "title": "string",
  "emoji": "string",
  "body": "string",
  "publish": true,
  "comment": "string",
  "notify": true
}'

Sample answer 200

200 OK
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

Delete a page

DELETE/orgs/{org}/pages/{page}

Scope: docs:delete

Moves the page and everything under it to its space's trash, as the app's Delete does: your own with "Delete own pages", anyone's with "Delete any page". The space's home page can't be deleted. Space admins restore it from the trash or delete it for good; the deleted-pages feed lists it.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Answer

204 Done; no body.

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X DELETE "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 204

No body.

Publish a page

POST/orgs/{org}/pages/{page}/publish

Scope: docs:write

Publishes the page's draft as its next version, as the editor's Publish does: a draft page for the first time (parent_id places it), or a published page's unpublished changes. It needs edit rights on the page; a space that requires approval publishes only after one (409 conflict).

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Body

  • commentstring

    What changed, for the version history (at most 500 characters).

    at most 500 characters

  • notifyboolean

    Tell the page's watchers (true by default, as the publish dialog).

  • parent_idstring (uuid) or null

    A first publish only: where the page goes (null: the top).

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/publish" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "comment": "string",
  "notify": true,
  "parent_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'

Sample answer 200

200 OK
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

Move a page

POST/orgs/{org}/pages/{page}/move

Scope: docs:write

Moves the page and everything under it, as dragging it in the tree or Move does: under parent_id (null: the top of the space), before before_id or last, and into another space with space ("Add pages" there; "Edit pages" in both).

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Body

  • spacestring

    Another space to move it to.

    1 to 60 characters

    The id comes from List spaces.

  • parent_idstring (uuid) or nullRequired
  • before_idstring (uuid) or null

    Place it just before this item of the same level; last when left out.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/move" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "space": "string",
  "parent_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
  "before_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10"
}'

Sample answer 200

200 OK
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

Copy a page

POST/orgs/{org}/pages/{page}/copy

Scope: docs:write

Copies the page (with its children when asked, up to 500 items) under parent_id in space (this one when left out), as the app's Copy does: it needs "Add pages" there. The copy is published, sits first under its parent and is called "Copy of …" unless a title is given; with include_restrictions, the pages' restrictions come too where the person manages access.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Headers

  • Idempotency-Keystring

    A unique key (such as a uuid): the same key and body within 24 hours gets the first answer again without a second create; another body gets 422.

    1 to 200 characters

Body

  • spacestring

    A space's key (an old key still finds it) or id.

    1 to 60 characters

    The id comes from List spaces.

  • parent_idstring (uuid) or nullRequired
  • titlestring

    1 to 255 characters

  • include_childrenboolean
  • include_restrictionsboolean

Answer

201 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 422 idempotency_key_reused idempotency_key_reused: The same Idempotency-Key was sent within 24 hours with a different body.
    422 answer
    {
      "error": {
        "code": "idempotency_key_reused",
        "message": "The same Idempotency-Key was sent within 24 hours with a different body.",
        "status": 422,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/copy" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "space": "string",
  "parent_id": "6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10",
  "title": "string",
  "include_children": true,
  "include_restrictions": true
}'

Sample answer 201

201 Created
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

List a page's versions

GET/orgs/{org}/pages/{page}/versions

Scope: docs:read

The page's published versions, newest first, as its version history shows them: who published each and when, its comment, and the version a restore came from.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

Query parameters

  • limitinteger

    How many items a page holds, 1 to 200.

    from 1 to 200; default 50

  • cursorstring

    The next_cursor of the previous page; leave it out for the first page.

    at most 1000 characters

  • countstring

    true adds total, the number of items in the whole list.

    one of: true, false

  • fieldsstring

    Only these fields, comma-separated: id, number, title, published_at, published_by, comment, restored_from, current. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of PageVersionRequired
    Show 8 fields
    • idstring (uuid)Required
    • numberintegerRequired
    • titlestringRequired
    • published_atstring (date-time)Required

      UTC, with Z.

    • published_byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
    • commentstringRequired
    • restored_frominteger or nullRequired

      The version it restored, when it was a restore.

    • currentbooleanRequired
  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/versions" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b",
      "number": 3,
      "title": "Release checklist",
      "published_at": "2026-12-01T10:15:00.000Z",
      "published_by": {
        "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
        "name": "Priya Shah"
      },
      "comment": "Added the tagging step",
      "restored_from": null,
      "current": true
    }
  ],
  "next_cursor": null
}

Get a version of a page

GET/orgs/{org}/pages/{page}/versions/{version}

Scope: docs:read

One published version of the page, by its number or id, with its title and body.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

  • versionstringRequired

    The version's number (3) or id.

    1 to 40 characters

    The id comes from List a page's versions.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

  • fieldsstring

    Only these fields, comma-separated: id, number, title, published_at, published_by, comment, restored_from, current, body. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • numberintegerRequired
  • titlestringRequired
  • published_atstring (date-time)Required

    UTC, with Z.

  • published_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • commentstringRequired
  • restored_frominteger or nullRequired

    The version it restored, when it was a restore.

  • currentbooleanRequired
  • bodyone of 2 shapesRequired

    A document (projqo's document JSON), or Markdown with body_format=markdown.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/versions/{version}" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "id": "7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b",
  "number": 3,
  "title": "Release checklist",
  "published_at": "2026-12-01T10:15:00.000Z",
  "published_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "comment": "Added the tagging step",
  "restored_from": null,
  "current": true,
  "body": "# Release checklist\n"
}

Restore a version

POST/orgs/{org}/pages/{page}/versions/{version}/restore

Scope: docs:write

Makes a new current version with that version's title and body, as Restore in the version history does (edit rights on the page). Access settings stay as they are.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • pagestring (uuid)Required

    A page's id (any item of the tree: page, live doc, folder, smart link).

    The id comes from List a level of a space's tree.

  • versionstringRequired

    The version's number (3) or id.

    1 to 40 characters

    The id comes from List a page's versions.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Body

  • commentstring

    at most 500 characters

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed. conflict: The thing changed since it was read, or the change clashes with its state.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 413 too_large too_large: The body or a file is larger than allowed.
    413 answer
    {
      "error": {
        "code": "too_large",
        "message": "The body or a file is larger than allowed.",
        "status": 413,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 415 unsupported_media_type unsupported_media_type: The body isn't JSON.
    415 answer
    {
      "error": {
        "code": "unsupported_media_type",
        "message": "The body isn't JSON.",
        "status": 415,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/pages/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/versions/{version}/restore" \
  -H "Authorization: Bearer $PROJQO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "comment": "string"
}'

Sample answer 200

200 OK
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

List a space's trash

GET/orgs/{org}/spaces/{space}/trash

Scope: docs:read

The items deleted on their own in the space, newest first (each with what went with it), as the space's Trash settings page shows them: for space admins ("Manage all content"); to anyone else it answers 404, as the app hides the page.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • spacestringRequired

    A space's key (an old key still finds it) or id.

    1 to 60 characters

    The id comes from List spaces.

Query parameters

  • limitinteger

    How many items a page holds, 1 to 200.

    from 1 to 200; default 50

  • cursorstring

    The next_cursor of the previous page; leave it out for the first page.

    at most 1000 characters

  • countstring

    true adds total, the number of items in the whole list.

    one of: true, false

  • fieldsstring

    Only these fields, comma-separated: id, kind, title, trashed_at, trashed_by. id always comes; the fields not asked for are left out, required or not.

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • itemsarray of TrashedPageRequired
    Show 5 fields
    • idstring (uuid)Required
    • kindstringRequired

      one of: page, live_doc, blog_post, database, folder, smart_link

    • titlestringRequired
    • trashed_atstring (date-time)Required

      UTC, with Z.

    • trashed_byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • next_cursorstring or nullRequired

    Pass as cursor to read the next page; null on the last page.

  • totalinteger

    The number of items in the whole list, with count=true.

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation.
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X GET "https://projqo.example/api/v1/orgs/{org}/spaces/{space}/trash" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "items": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "kind": "page",
      "title": "Old notes",
      "trashed_at": "2026-12-01T10:15:00.000Z",
      "trashed_by": {
        "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
        "name": "Priya Shah"
      }
    }
  ],
  "next_cursor": null
}

Restore from the trash

POST/orgs/{org}/spaces/{space}/trash/{page}/restore

Scope: docs:write

Restores a trashed item and what went with it, back where it was (or at the top of the space when its parent is gone), as the Trash page's Restore does: space admins. The deleted-pages feed lists it as restored.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • spacestringRequired

    A space's key (an old key still finds it) or id.

    1 to 60 characters

    The id comes from List spaces.

  • pagestring (uuid)Required

    A trashed item's id.

    The id comes from List a space's trash.

Query parameters

  • body_formatstring

    How rich text (descriptions, comments) comes back: document (projqo's document JSON, the default) or markdown.

    one of: document, markdown

Answer

200 OK

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Show the answer's fields
  • idstring (uuid)Required
  • kindstringRequired

    one of: page, live_doc, blog_post, database, folder, smart_link

  • titlestringRequired

    The published title (the draft's with status=draft, and for a page never published).

  • emojistring or nullRequired
  • spaceDocsSpaceRefRequired
    Show 3 fields
    • idstring (uuid)Required
    • keystringRequired
    • namestringRequired
  • parent_idstring (uuid) or nullRequired

    null at the top of the space.

  • statestringRequired

    draft: never published, only its author sees it; published; trashed (seen only in its space's trash and in events).

    one of: draft, published, trashed

  • archivedbooleanRequired
  • versionintegerRequired

    The current published version's number (0 for a page never published). Send it with an update.

  • publishedobject or nullRequired

    When the current version was published, and by whom.

    Show 2 fields
    • atstring (date-time)Required

      UTC, with Z.

    • byPersonRef or nullRequired
      Show 2 fields
      • idstring (uuid)Required
      • namestringRequired
  • unpublished_changesboolean or nullRequired

    The draft differs from the published version (someone may be editing it now); null for people who can't edit the page.

  • ownerPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_byPersonRef or nullRequired
    Show 2 fields
    • idstring (uuid)Required
    • namestringRequired
  • created_atstring (date-time)Required

    UTC, with Z.

  • updated_atstring (date-time)Required

    UTC, with Z.

  • labelsarray of stringRequired
  • restrictionsobjectRequired
    Show 2 fields
    • viewbooleanRequired

      Only the people listed can open it.

    • editbooleanRequired

      Only the people listed can change it.

  • urlstring or nullRequired

    A smart link's address.

  • bodyone of 2 shapes or nullRequired

    The published body (the draft's with status=draft, and for a page never published); null for folders and links.

    Show the 2 shapes

    Shape 1

    string

    Document

    • typestringRequired

      always doc

    • contentarray of any
  • canobjectRequired
    Show 3 fields
    • editbooleanRequired
    • deletebooleanRequired
    • commentbooleanRequired

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X POST "https://projqo.example/api/v1/orgs/{org}/spaces/{space}/trash/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10/restore" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 200

200 OK
{
  "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
  "kind": "page",
  "title": "Release checklist",
  "emoji": "✅",
  "space": {
    "id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
    "key": "HANDBOOK",
    "name": "Handbook"
  },
  "parent_id": null,
  "state": "published",
  "archived": false,
  "version": 3,
  "published": {
    "at": "2026-12-01T10:15:00.000Z",
    "by": {
      "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
      "name": "Priya Shah"
    }
  },
  "unpublished_changes": false,
  "owner": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_by": {
    "id": "8d0e5f7a-1c2b-4d3e-8f9a-0b1c2d3e4f5a",
    "name": "Priya Shah"
  },
  "created_at": "2026-11-20T09:00:00.000Z",
  "updated_at": "2026-12-01T10:15:00.000Z",
  "labels": [
    "release"
  ],
  "restrictions": {
    "view": false,
    "edit": false
  },
  "url": null,
  "body": "# Release checklist\n\n- [ ] Tag the build\n",
  "can": {
    "edit": true,
    "delete": true,
    "comment": true
  }
}

Delete for good

DELETE/orgs/{org}/spaces/{space}/trash/{page}

Scope: docs:delete

Deletes a trashed item and what went with it for good, with their files, as the Trash page's Delete does: space admins. It can't be undone.

Path parameters

  • orgstringRequired

    The organisation's id (or its address name).

    1 to 100 characters

    The id comes from List organisations.

  • spacestringRequired

    A space's key (an old key still finds it) or id.

    1 to 60 characters

    The id comes from List spaces.

  • pagestring (uuid)Required

    A trashed item's id.

    The id comes from List a space's trash.

Answer

204 Done; no body.

Headers: X-Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset

Errors

  • 400 invalid invalid: A value is wrong or missing, or a parameter is unknown. Every problem is in details.
    400 answer
    {
      "error": {
        "code": "invalid",
        "message": "A value is wrong or missing, or a parameter is unknown. Every problem is in details.",
        "status": 400,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 401 invalid_token invalid_token: No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).
    401 answer
    {
      "error": {
        "code": "invalid_token",
        "message": "No token was sent, or it is wrong, expired or revoked, or its person is no longer a member (or is now a guest).",
        "status": 401,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 403 insufficient_scope insufficient_scope: The token doesn't have the scope this call needs (named in WWW-Authenticate). api_off: The organisation's admins have switched the API off. suspended: projqo has suspended the organisation. refused: The token's person can see the thing but may not do this; the message says why. read_only: The organisation is read-only (over the Free plan's people, or a payment is overdue).
    403 answer
    {
      "error": {
        "code": "insufficient_scope",
        "message": "The token doesn't have the scope this call needs (named in WWW-Authenticate).",
        "status": 403,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 404 not_found not_found: Nothing is at this address, or the token's person can't see it: the answer is the same.
    404 answer
    {
      "error": {
        "code": "not_found",
        "message": "Nothing is at this address, or the token's person can't see it: the answer is the same.",
        "status": 404,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 409 archived archived: The item (or its project) is archived, so it can't be changed.
    409 answer
    {
      "error": {
        "code": "archived",
        "message": "The item (or its project) is archived, so it can't be changed.",
        "status": 409,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 429 rate_limited rate_limited: Too many calls in this minute, for the token or for the whole organisation.
    429 answer
    {
      "error": {
        "code": "rate_limited",
        "message": "Too many calls in this minute, for the token or for the whole organisation.",
        "status": 429,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }
  • 500 internal internal: Something went wrong on projqo's side (never your mistake).
    500 answer
    {
      "error": {
        "code": "internal",
        "message": "Something went wrong on projqo's side (never your mistake).",
        "status": 500,
        "request_id": "5b0c4d2e-8f1a-4c3b-9d7e-6a5f4e3d2c1b"
      }
    }

Request

cURL
curl -X DELETE "https://projqo.example/api/v1/orgs/{org}/spaces/{space}/trash/6f1c2a9e-3b7d-4e21-9a55-0c8d2f4b7e10" \
  -H "Authorization: Bearer $PROJQO_TOKEN"

Sample answer 204

No body.