ZarklyX is now in early access. Be the first agency to try.
ZarklyX

How to create and revoke an API key ?

The API keys screen - the three kinds of key, the domain restriction that is switched on for you, and why the secret is shown once and never again.

Last updated October 23, 2026

What this screen is for ?

This is where you create the credentials that let something outside the portal talk to your account - a lead form on your website, a system that raises tickets for one of your clients, or a service that wants to be notified when things happen here.

How to get here: open Sales & Marketing > API Keys from the left menu, or open Settings and pick API Keys from the Integration group. The Guide button at the top right opens the technical instructions your developer will need.

Required fields are few. A Label is always needed. On the Tickets API tab a Client is also needed. On the other two tabs you need at least one domain, unless you deliberately turn the domain switch off.

The one thing to know before you start: the secret is shown once, on the panel that appears right after the key is created, and it is never shown again. It is not kept anywhere you can read it back. If you lose it, the only fix is to revoke that key and create a new one, then update whatever was using it.

Also worth knowing up front: nothing on this screen edits an existing key. There is no rename, and no way to change a key's domains or its client afterwards. All you can do to a key that already exists is switch it off or revoke it.

The three tabs

Under the title are up to three tabs, and each one is a separate list of keys:

  • Lead capture (CRM) - keys for a form on your website that pushes leads into the CRM.
  • Tickets API - keys for a system that reads and writes tickets for one specific client.
  • Webhooks - keys used to register callback addresses, so an outside service receives events from here as they happen.

The Tickets API and Webhooks tabs only appear if your access covers the API and webhooks settings area. If you have CRM access only, you will see the first tab on its own - the others are not missing, they are simply not yours.

The tab you are standing on decides what kind of key Generate key creates. You cannot change that inside the panel - it only shows you, as a small badge, which kind you are about to make. A key's kind is fixed for good once it exists, so if you generate on the wrong tab, revoke it and start again on the right one.

Switching tabs reloads the list from scratch, and the count in the bar above the table counts only the tab you are on.

Reading the list

The table has six columns, and the middle one changes with the tab:

  • Label - the name you gave it. This is the only way to tell two keys apart at a glance, so name them after where they are used.
  • API key - the public half of the credential, with a copy button next to it. This is the part a website form sends, and it is safe to copy and paste about.
  • Client on the Tickets API tab, Allowed domains on the other two. A key with no domain restriction shows an amber Any domain badge instead, meaning it will accept submissions from any website at all.
  • Status - the on and off switch, covered further down.
  • Last used - when the key was last seen in use, or Never. This is the column to check before you revoke something: a key reading Never has very likely not been wired up yet.
  • Actions - the bin, which revokes the key.

There is no search box, no filter, no sorting and no paging here. Whatever keys exist for that tab are all on the screen at once, which is normally a handful.

The secret never appears in this table. Only the key does.

Generating a lead capture or webhooks key

Click Generate key at the top right and a panel slides in from the side.

  • Label (required) - for your own benefit, such as the name of the site using it. Keep it short; very long labels are refused.
  • Restrict to my domains (recommended) - a switch that is already on when the panel opens. Leave it on.
  • The domain box below it, which is required while that switch is on. The message "Enter at least one domain, or turn the switch off" means exactly what it says.

Enter domain names only, separated by commas, like keryar.com, mysite.net. Subdomains are covered automatically, so you do not need to list them. If you paste a full web address, the box tidies it down to the bare domain the moment you click away from it. If what is left still is not a domain name, the panel names the offending entry and will not save.

Turning the switch off replaces the box with a red warning, and the warning is honest: a lead capture key works from a browser without any secret, so the domain list is the only thing protecting it. Anyone who finds an unrestricted key can push leads into your CRM. Only turn it off for a system that calls from its own server and sends the secret.

One catch here. Turning the switch off does not erase what you typed, so switching it back on brings your domains back. But a key created with the switch off has no domain restriction at all, whatever was sitting in the box - and what you see against it in the list afterwards is the Any domain badge.

Cancel, or closing the panel, throws the whole thing away. Nothing is saved until the key is created.

Generating a Tickets API key

The panel looks different on this tab. There is no domain switch at all, because a Tickets key is meant for server-to-server use and is never put in a web page. Instead there is a required Client picker.

A Tickets key acts on behalf of exactly one client and can only read and write that client's tickets. That binding cannot be changed later - to point it at a different client you have to revoke the key and create a new one, which means updating the integration too. So pick carefully.

Things to expect from the Client picker:

  • Only active clients are offered. An inactive client simply will not be in the list.
  • It has a search box, which is quicker than scrolling.
  • There is no shortcut to add a new client from here, unlike some other screens. If the client does not exist yet, create it on the Clients screen first and come back.

If you have no active clients at all, a note says so above the table and the Generate key button is greyed out. That is not a fault - a Tickets key has nothing to belong to until a client exists.

The one-time secret panel

When the key is created the form is replaced by a Key created panel holding two values: the API key and the API secret. Both have a copy button, and the secret is hidden behind dots until you click the eye beside it.

This panel is deliberately hard to escape. Clicking outside it does nothing, the Escape key does nothing, and the Done button stays greyed out until you tick I have stored the secret somewhere safe. The tick box is there to make you stop and save the secret before it is gone.

Put the secret wherever your team keeps passwords, not in an email or a chat message. Once you click Done it cannot be read back anywhere in the portal.

The note at the bottom of the panel changes with the kind of key. A Tickets key warns that every call needs both halves, and that putting them in browser code hands that client's tickets to anyone who opens their developer tools. A lead capture key reminds you that a browser form sends the key alone, and the secret belongs on a server.

Be aware that the key already exists by the time you see this panel. Walking away from the page at this point does not cancel anything - it leaves a key in the list whose secret nobody has, and the only way out of that is to revoke it and generate another.

Switching a key off, and revoking it

These are two different things and the difference matters.

The Status switch turns a key off and on. Off takes effect immediately and anything using the key stops working, but it is completely reversible - switch it back on and the same key works again. This is the right tool when you are unsure, when you want to test whether a key is still in use, or when you want to pause an integration.

The bin at the end of the row revokes the key. A confirmation appears and it is blunt about what happens: the key will stop working immediately, it cannot be restored, and any integration using it will start failing. The confirm button reads Revoke. There is no undo, no recycle bin and no restore list - the key leaves the list and the credential is dead. Use it when a key has leaked or is genuinely retired.

Neither action tells you what is currently using the key, so check the Last used column before you touch either one.

What you are allowed to do depends on your access. With view-only access you still see the whole list, but the Status column is blank, there is no bin on any row, and there is no Generate key button. That is not a broken screen - it means you need create or delete access for this area.

If something does not work

The usual snags, and what each one really means.

  • The Generate key button is greyed out on the Tickets API tab - you have no active clients, and a Tickets key must belong to one. Create or re-activate a client first.
  • The Client picker is empty - the client list failed to load. Switch to another tab and back to Tickets API, which makes it try again.
  • Clicking Generate key inside the panel seems to do nothing - something required is missing and the panel highlights it, along with a message asking you to fix the marked fields. A label is always required, a client is required on the Tickets API tab, and at least one domain is required while the restrict switch is on.
  • It says a label is required but you have typed one - the label is too long. Labels are capped in length, and an over-long one shows that same message. Shorten it.
  • "Not a domain name" against something you entered - you have pasted a full web address, or something with a path on the end. Enter just example.com, with no https and no trailing slash.
  • You cannot find the Tickets API or Webhooks tab - your access does not include the API and webhooks settings area. Ask whoever manages roles in your agency.
  • You lost the secret - it cannot be recovered, by you or by anyone. Revoke that key, generate a new one, and update the integration with both new values.
  • A working integration suddenly fails - check the Status switch is still on, and check the key is still in the list at all. A revoked key disappears, which is the quickest way to spot that someone removed it.
  • A key is rejected even though it looks correct - compare the site making the call against the Allowed domains column. A request from a domain that is not on the list is refused even with a perfectly good key. The amber Any domain badge means no restriction is in force.
  • Last used still reads Never after you have wired everything up - the calls are not reaching this key. Check it was copied from the right tab, and that the site is covered by its domain list.
  • The secret panel will not close - that is on purpose. Tick "I have stored the secret somewhere safe", then Done. Escape and clicking outside are disabled while a secret is on screen.