Courier company · Settings

Firm API key

Create a firm API key to connect your own software (ERP, accounting, call center) to Courino, choose its scopes, store it safely and revoke it.

A firm API key is a secret password that lets your firm's own software (ERP, accounting program, call center, your own reporting tool) read and act on your orders, customers and couriers in Courino. You create the key and give it to your developer; the software adds it to every request.

Only the firm owner sees this tab. Manager, operator and accountant accounts don't have it, and it can't be opened in an Albiferro support session.

Your customers have a separate key for their own software: they create it themselves in the portal. Details: Customer card. This article covers your firm's own key.

Creating a key

  1. In the left menu, click Administration › Settings.
  2. Choose the API keys tab at the top.
  3. Click New key at the top right.
  4. In Key name, write where the key will be used (e.g. "ERP" or "Accounting"). The name helps you tell later which key belongs to what.
  5. In the Scopes list, tick what the software needs (explained below).
  6. Optionally choose an Expiry date. At the end of that day the key stops working by itself. If left blank, it works until you revoke it.
  7. Click Create key.
  8. The key starting with kosk_ appears in the green box. Click Copy to take it.
The key is shown only once. After you close the box or leave the page you can't see it again. If you lose it, revoke the old one and create a new key.

Choosing scopes

Scopes decide what the key can do. The key acts on your behalf, but only within the scopes you choose. Don't choose more than the software really needs: if the key ever falls into someone else's hands, the damage stays limited to that.

ScopeWhat it can do
Read orders (orders:read)Order list and details, history, export, attachments, tracking link
Create orders (orders:create)Create new orders and get price quotes
Manage orders (orders:manage)Edit, cancel, assign to / unassign from a courier, approve / reject
Read customers (customers:read)Customer list, customer cards and contacts
Manage customers (customers:manage)Create and edit customers
Read couriers (couriers:read)Courier list, courier cards and live locations
Read pricing (pricing:read)Districts, delivery types, price lists and price quotes
Read accounts and earnings (billing:read)Customer accounts, payments received, charges and monthly courier earnings

Examples:

With no scope can the key touch settings, users, passwords, payments or subscription fees. You can't change a key's scopes later; if you need different scopes, create a new key and revoke the old one.

Storing the key safely

Revoking a key

  1. Open the Settings › API keys tab.
  2. Find the key in the list by its name and last characters.
  3. Click Revoke at the end of the row and confirm.

The key stops working within 30 seconds and shows as revoked in the list. Revoking cannot be undone.

From your phone

You can also manage keys from the Courino app (firm owner only):

  1. Tap the Profile tab in the app.
  2. In the Account section, open API keys.
  3. See the list, create a new key or revoke one. A new key is shown only once here too.

When the password changes

When the firm owner's password changes, all firm API keys are revoked: when you change it yourself or reset it with Forgot my password. This makes sure the keys of an account whose password was stolen are closed too. After a password change, create a new key and give it to your developer.

The keys also stop working if your account is deactivated or ownership of the firm is transferred to someone else. The new owner must create their own keys.

What your developer needs to know

Having trouble?