Skip to content

Guide · 7 steps

Tell a help desk or district sheet what the copy room is doing.

KyberCopy can tell another system about jobs in two ways. A webhook pushes each event the moment it happens, such as a job that could not print, to an https address you give it. An API key lets a tool you run ask for the jobs on its own schedule. This guide sets up both on Settings, Integrations and shows how to tell when one has stopped working.

For IT, administrators

You will need

  • An administrator or owner account; Integrations is not shown to anyone else
  • For a webhook, an https address on the public internet that the receiving tool gives you
  • For an API key, the tool that will use it, and a safe place in it to paste a secret
  1. Step 1: Open Settings, Integrations

    Choose Settings, then Integrations. The cards at the top show what the copy room already depends on, such as the relay and outgoing email. Webhooks and API keys are further down the same page.

    Make one webhook or key per tool and name it after that tool, so one can be removed without breaking the others. A school can have 10 webhooks and 10 active API keys.

  2. Step 2: Add a webhook and pick its events

    Choose Add webhook, paste the Address the receiving tool gave you and, if you like, a Name such as District help desk. Under Send these events, A job is printed and A job could not print are ticked to start; A request arrives, A request is released and A request is cancelled can be added.

    The address must start with https:// and use the normal port, 443, or 8443. Addresses on a private network, such as the school's own 10.x or 192.168.x ranges or a name ending in .local, are refused, because KyberCopy's server makes the call, not your network.

    Adding a webhook in the demo school; nothing was saved.
  3. Step 3: Copy the signing secret, and check it on the other side

    After Add webhook the dialog shows the Signing secret once, with a Copy button. Paste it into the receiving tool straight away; afterwards the list shows only its last four characters.

    Each request is a POST with a JSON body and a KyberCopy-Signature header that reads t= a time, then v1= a signature. The receiver computes HMAC-SHA256 of the time, a full stop and the raw body with the secret, and compares it with v1, so it can tell the request came from your copy room.

  4. Step 4: See whether it is working

    Each webhook in the list shows On, the events it sends and when it was added. When something is wrong a red or amber chip appears beside it, such as 1 failed recently or Last delivery failed, so a broken receiver is visible without opening anything.

    Remove stops it at once and its secret stops working; adding the address again makes a new secret.

    A demo school webhook with one failed delivery.
  5. Step 5: Read the deliveries, and resend one

    Deliveries opens the newest 50 events sent to that address: the event, the job, when, and what came back, such as HTTP 200 on the first try. Any 2xx answer counts as delivered; a redirect does not.

    A failed send is tried 6 times in all, the last about nine hours after the first, and the line says which try it is on and when the next one is. After the last try it says Gave up after 6 tries. Once the receiver is fixed, Resend queues that event again; it goes within ten minutes. Deliveries are kept 30 days.

    The delivery log for the demo school's help desk webhook.
  6. Step 6: Make an API key for a tool that asks

    Under API keys, choose Create key, give it the Name of the tool, such as District reporting sheet, and leave Read jobs ticked. Read jobs gives each request's number, title, status, copies, printer and times. Never the documents, and only this school's jobs.

    The key is shown once, starting kc_live_, with a Copy button. The tool sends it as Authorization: Bearer and the key; the API reference at kybercopy.com/docs/api lists the address, the status, updated_since, limit and cursor parameters, and the errors.

    Making an API key in the demo school; nothing was saved.
  7. Step 7: Watch when keys are used, and revoke one

    Each key in the list shows its first characters, what it may read, when it was made and either Never used or when it was last used, so a key nothing has touched in months is easy to spot.

    Revoke stops it on its next request, and this cannot be undone; the tool needs a new key to read again. A revoked key stays in the list, struck through, so nobody wonders where it went. Every webhook and key added, removed, resent or revoked is in the audit log.

    Two API keys in the demo school, one in use and one revoked.
Watch it done0:28captioned, no soundConnect a help desk with a webhook and an API keyThe demo school's owner opens Settings, Integrations, reads the help desk webhook and its 1 failed recently chip, fills in Add webhook and cancels, reads the delivery log down to Gave up after 6 tries, then reads the API keys and fills in Create API key with Read jobs and cancels.Watch the recording

Follow this guide with us on the call.

On the demo call we work through the steps on this page in the demo school, with your printers' names and your staff's departments, and answer what the guide does not.

Book a demo