Create an API key

Create, scope, and revoke MartechFlow API keys to automate your feeds. Keys are shown once, support read or read-and-write access, and are managed by admins.

Create an API key

What API keys are for

An API key lets your own servers and scripts call the MartechFlow API to automate feeds: list your feeds, check run history and exports, and trigger a refresh. Keys are how machine-to-machine access works, separate from the browser login your team uses.

Keys belong to your organization and have access to all of its feeds. Only org owners and admins can create or revoke keys.

Choose a scope

Each key has an access level that controls what operations it can perform. Pick the least access that gets the job done.

  • Read only: can list feeds, read run history, and read export pull URLs. It cannot change anything.
  • Read and write: everything a read key can do, plus triggering a feed refresh. Write always includes read.
  • A read-only key is rejected if it tries to call a write endpoint, even though its data scope is the whole org. Scope is enforced per request.

Create a key

Keys are managed in Settings, in the API keys card (visible to admins and owners).

  1. 1Go to Settings and open the API keys card.
  2. 2Enter a descriptive Key name, for example 'Production server' or 'Nightly refresh script'.
  3. 3Choose Access: Read only, or Read and write.
  4. 4Click Create key.
  5. 5Copy the key immediately and store it in your secret manager. It is shown exactly once.
  • The token looks like mtf_live_ followed by a long random string.
  • After you close the create panel, the full token is gone forever. Only a short prefix is kept for you to recognize the key later.
  • If you lose a key, you cannot recover it. Revoke it and create a new one.

Manage and revoke keys

The API keys card lists your live keys with their name, scope, key prefix, and when each was last used. You can revoke a key at any time.

Revoking is immediate: the next request using that key is rejected. Revoked keys are kept for audit, not reactivated, so to rotate a key you revoke the old one and create a new one.

  • Last used shows when the key most recently authenticated, so you can spot keys you can safely retire.
  • A key keeps working even if the person who created it leaves the organization; the key belongs to the org.
  • Keys cannot manage other keys. Creating and revoking keys is a logged-in admin action only.

Keep keys safe

Treat a key like a password. Send it only over HTTPS, store it in a secrets manager or environment variable, and never commit it to source control or paste it into client-side code.

Use separate keys per system so you can revoke one without disrupting the others, and prefer read-only keys for anything that only needs to read.

Questions

I lost my key. Can I see it again?

No. The full token is shown only once at creation and is never stored in a recoverable form, only a short display prefix. If it is lost, revoke that key and create a new one.

Who can create API keys?

Only organization owners and admins. The API keys card appears in Settings for those roles. A key itself cannot be used to create or manage other keys.

What's the difference between read and read-and-write keys?

A read key can list feeds and read runs and export URLs. A read-and-write key can also trigger refreshes. Write implies read. A read-only key is blocked from write endpoints even though it can see all org feeds.

Do keys expire?

A key can be given an expiry, after which it stops authenticating. If no expiry is set, the key stays valid until you revoke it. The card shows an expiry date when one is set.

What happens to a key when its creator leaves the org?

Nothing breaks. Keys belong to the organization, not the individual, so the key keeps working until it is revoked or expires.

Ready to try it?

Start free, no credit card. Your first feed can be live in minutes.

Start free