Skip to main content

Create and Revoke API Keys

How to create, see, and revoke API keys for your organization, and how to get real-time events with a webhook.

Use API keys to connect your own systems to Kolo. For example, connect a reporting job or an accounting sync. To get events from Kolo in real time, add a webhook to a key.

  • Who can do this: Owner, Admin, or User. Each person manages only their own keys

  • Where: Organization → API keys

  • When: you can create keys only while the organization is Active

  • Permissions: a key has the same permissions that you have in this organization

  • API documentation: to get the documentation link and password, select Documentation on the API keys page

Create a Key

  1. Select the correct organization.

  2. Open Organization → API keys.

  3. Select New key.

  4. Enter a Name that shows which system uses the key. The name can have a maximum of 100 characters.

  5. Optional: complete What it is for (a maximum of 200 characters), Webhook URL, and IP allowlist:

    • The URL must start with https.

    • In the IP allowlist, enter a maximum of 20 IP addresses or CIDR ranges that can use the key. To allow all addresses, keep the list empty.

  6. Select Create key, and then confirm your identity:

    • If 2FA is on, enter your authenticator code.

    • If 2FA is off, enter your password or the code that we send to your email.

  7. Copy the secret and keep it in a safe place.

The Owner gets a security alert about the new key, and you get a confirmation email.

Copy the secret immediately. Kolo shows the secret only one time. After that, you can see only the key identifier. If you lose the secret, revoke the key and create a new key.

View Your Keys

The list shows your keys in the current organization. For each key, you see the name, key identifier, status (Active or Revoked), and creation date. Open a key to see the time of its last use, its purpose, its IP allowlist, and its webhook URL. There, you can also edit the IP allowlist and the note. When you edit the IP allowlist, you must confirm your identity.

Revoke a Key

  1. Open Organization → API keys.

  2. Open the key.

  3. Select Revoke, and then confirm.

A revoked key stops working immediately.

Receive Events With a Webhook

Register a webhook endpoint for your key, and Kolo sends events to it in real time. Each event has a signature, so your system can make sure that the event came from Kolo.

  1. Open Organization → API keys, and then open your key.

  2. Add your endpoint URL. The URL must start with https. You can also set it as the Webhook URL when you create the key.

  3. To make sure that your endpoint gets events, send a test event.

From the key, you can also:

  • Rotate the signing secret, for example if you think that the secret is not safe

  • Examine the delivery history of the events sent to your endpoint

  • Replay an event that your endpoint did not get

Need card events? We send them only when the Cards API is on for your organization. To turn it on, contact us.

When Keys Are Revoked Automatically

Situation

What happens to keys

You leave the organization

We revoke your keys in it

You are deactivated

We revoke your keys in it. See Change a Role or Deactivate a Team Member

The organization is closed

We revoke all its keys. See Close an Organization


Need Help?

Send us a message in the support chat. Include your organization name and the key identifier. Do not share the secret.

Did this answer your question?