Skip to content

API reference

Read your copy room from your own tools.

A reporting sheet, a district dashboard or a help desk can read a school's print jobs on its own schedule. Read only, one school per key, and never the documents themselves.

Authentication

A school's administrator makes a key on Settings, Integrations, under API keys, and chooses Read jobs. The key is shown once; copy it then. Send it on every request as a bearer token:

Authorization header
Authorization: Bearer kc_live_…

The key decides the school. Nothing in the address or the query can point it at another, and a revoked key stops working at once. Treat it like a password: keep it in your tool's secret settings, never in a shared sheet.

List jobs

GET/api/v1/jobs

Jobs come oldest change first, 50 a page unless you ask for fewer or up to 100. Drafts a teacher has not sent are never included. One key may make 30 requests a minute.

Example request
curl "https://kybercopy.com/api/v1/jobs?status=done&updated_since=2026-11-01&limit=2" \
  -H "Authorization: Bearer $KYBERCOPY_API_KEY"

Parameters

All optional, all in the query string. Any other name is refused with a 400 rather than ignored, so a typo does not quietly return everything.

Query parameters
NameTypeDescription
statusstringOnly jobs in these statuses. Repeat it or separate with commas: status=done,failed. Leave it out for every status.
updated_sincestringOnly jobs changed at or after this ISO 8601 date, or date and time with a zone: 2026-11-14 or 2026-11-14T09:00:00Z.
limitintegerJobs per page, 1 to 100. Default 50.
cursorstringnext_cursor from the page before, exactly as it was sent. Leave it out to start from the oldest change.

Statuses, in the order a job moves through them: pending_budget submitted held approved claimed printing finishing done failed cancelled

Response

A list with one page of jobs. This is what the example request above returns.

List fields
NameTypeDescription
objectstringAlways "list".
schoolstringThe school the key belongs to, by its address: northfield for northfield.kybercopy.com.
dataarrayThe jobs on this page, oldest change first.
has_morebooleanAnother page is waiting. Ask again with cursor set to next_cursor.
next_cursorstring | nullStore it. Sent on the last page too, so a sync can ask again later and get only what changed since.
Example response
{
  "object": "list",
  "school": "northfield",
  "data": [
    {
      "id": "3f6c2a7e-8b1d-4c55-9a0e-2d4b7f1c9e01",
      "number": 1204,
      "ref": "K-1204",
      "title": "Parent letter, Grade 6",
      "status": "done",
      "copies": 120,
      "department": "English",
      "printer": {
        "id": "b7e1d9a2-4f3c-4e8a-9d61-0c5a2e7f3b10",
        "name": "Copy room 1"
      },
      "urgent": false,
      "source": "portal",
      "pages": 2,
      "sheets_used": 120,
      "needed_by": "2026-11-03T12:00:00.000Z",
      "created_at": "2026-11-02T13:05:12.000Z",
      "updated_at": "2026-11-03T14:20:40.000Z",
      "completed_at": "2026-11-03T14:20:40.000Z"
    },
    {
      "id": "9a1e4d2c-6b7f-4e30-8c15-7f2d0b9e4a22",
      "number": 1211,
      "ref": "K-1211",
      "title": "Unit 3 quiz",
      "status": "done",
      "copies": 28,
      "department": "Mathematics",
      "printer": {
        "id": "b7e1d9a2-4f3c-4e8a-9d61-0c5a2e7f3b10",
        "name": "Copy room 1"
      },
      "urgent": true,
      "source": "email",
      "pages": 4,
      "sheets_used": 56,
      "needed_by": null,
      "created_at": "2026-11-04T11:40:00.000Z",
      "updated_at": "2026-11-04T12:02:31.000Z",
      "completed_at": "2026-11-04T12:02:31.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "1793102551000000.9a1e4d2c-6b7f-4e30-8c15-7f2d0b9e4a22"
}

The job object

What the copy room sees about a request, without the files, the notes or who sent it.

Job fields
NameTypeDescription
idstringThe job's id. Stable; use it to match a job across pages.
numberintegerThe school's job number, 1204 for K-1204.
refstringThe number as the copy room says it, "K-1204".
titlestringWhat the requester called it.
statusstringOne of pending_budget, submitted, held, approved, claimed, printing, finishing, done, failed, cancelled.
copiesintegerCopies asked for.
departmentstring | nullThe requester's department when it was sent.
printerobject | nullIts id and name: the printer it went to, once chosen.
urgentbooleanThe requester said it was needed sooner than the date implies.
sourcestring"portal", "email" or "drive" (a Google Drive print folder).
pagesinteger | nullPages in the documents.
sheets_usedinteger | nullSheets printed, once done.
needed_bystring | nullISO 8601 deadline.
created_atstringISO 8601.
updated_atstringISO 8601. Last change of any kind; the order of the list.
completed_atstring | nullISO 8601, when it finished printing.

Keeping a copy in sync

Ask with no cursor, then keep asking with cursor set to the next_cursor you were given until has_more is false. Store the last next_cursor. Next time, start from it and you get every job that changed since, each once, however many arrived in between. A job that changes again simply comes round again with its new status.

Errors

Every error is JSON with a fixed error code to branch on and a message written for a person.

  • 401unauthorizedThe key is missing, mistyped, unknown or revoked. All four look the same, on purpose.
  • 403forbiddenThe key is real but was made without Read jobs.
  • 429rate_limitedMore than 30 requests in a minute from one key. Retry-After says how long to wait.
  • 400bad_requestA parameter is unknown or its value is not allowed. message says which, in one sentence.
Example error
{
  "error": "bad_request",
  "message": "limit must be a whole number from 1 to 100."
}

Want a key to try this?

Ask on the demo call. We set up your school, your administrator makes a Read jobs key, and your sheet or dashboard can read jobs the same day.

Book a demo