# Create and manage API keys

> Create a key so your own app, Zapier, Make or n8n can work with your project's contacts, email, automations, store and bookings — and decide exactly what each key may do.

Source: https://support.estage.com/create-and-manage-api-keys
Part of the ESTAGE Support help center (https://support.estage.com). Full knowledge base: https://support.estage.com/llms-full.txt

---

The ESTAGE API lets your own code work with one project. Every request carries an **API key**. A key reaches only the project it was made in, and only with the access you give it.

API keys are under **Settings → API keys** in your Genesis project.

## Before you start

- **Be the project owner, or hold the API keys rights** in [roles](https://support.estage.com/project-settings-roles): **View** to see the keys, **Create** to make them, **Edit** to change and rotate them, **Delete** to revoke them.
- A key opens your CRM from outside ESTAGE. Use it only from **server code** — your backend, a Dedicated Cloud function, Zapier, Make or n8n. Never put it in a web page, a mobile app or a public repository.

## Create a key

1. Open your project and go to **Settings → API keys**.
2. Click **Create key**.
3. Give it a **Name** you will recognise later, for example "Zapier" or "My website".
4. Under **Access**, tick only what your code needs — for example **Contacts → Read / Write** and **Events → Write**. **Read only** and **Everything I can grant** fill the list for you.
5. Optional, under **Advanced**:
   - **Requests per minute** — reads 300 and writes 120 by default; with your own number, writes get half of it.
   - **Expires on** — the key stops working at the end of that day.
   - **Allowed IP addresses** — one IP or range per line; empty means any address.
6. If Genesis writes the code for you (a Dedicated Cloud function), tick **Use in this app's server code**. The key is then saved for your app's server as `ESTAGE_API_KEY` and never shown.
7. Click **Create key**. Unless you ticked **Use in this app's server code**, **copy the key now** — it is shown once.

> **Note**
>
> A project can have 20 active keys. Revoke one you no longer use to create another.

## Change, rotate or revoke a key

Each key in the list has:

- **Edit** — change its name, access, limit, expiry or allowed addresses. A request the key may not make fails with `403 forbidden_scope`, and the error names the missing access.
- **Rotate** — get a new secret with the same access. In **Keep the old key working for**, choose how long the old secret still works while you switch over: 24 hours by default, up to 168.
- **Revoke** — stop the key at once. Requests with it fail with `401`.

## What a team member can do

The owner can do everything with every key. For anyone else, their role decides (**Settings → Roles → Project Settings → API keys**):

| Right | What it allows |
|---|---|
| **View** | See the list of keys (never their secrets). |
| **Create** | **Create key**. |
| **Edit** | **Edit** and **Rotate**. |
| **Delete** | **Revoke**. |

A team member can give a key only access their own role has in the CRM, so a key never reaches more than they could do themselves. New rights are off until the owner turns them on.

## Next

- [Start an automation from your app](https://support.estage.com/start-an-automation-from-your-app)
- [Receive CRM events in your app (webhooks)](https://support.estage.com/receive-crm-events-in-your-app-webhooks)
- [Ask Genesis to build with the ESTAGE API](https://support.estage.com/ask-genesis-to-build-with-the-estage-api)
- Every operation, with its fields and examples: the [API reference](https://support.estage.com/api-reference).
