# The Developers page

> The Developers page in one place - Custom Location API keys (create, copy, regenerate, revoke), the MCP server address for AI assistants, each workspace's webhook (messages, statuses and voice note events, with your headers), and the send request docs for the selected workspace with its location ID.

Source: https://docs.mycrmsim.com/guides/developers
Updated: 2026-11-26

**Developers** gathers the tools for connecting your own software: API keys,
the MCP server for AI assistants, webhooks and the API docs. Every tab is the
same screen you'd find elsewhere in the dashboard, so nothing here works
differently.

Open it from **Developers** in the sidebar, under your workspace. Not sure which
API you need? Start with [Which API should I use?](https://docs.mycrmsim.com/guides/choosing-an-api).

![The Developers page: the API Keys, Webhooks and Docs tabs](https://docs.mycrmsim.com/assets/keys-CmWTHJnH.png)

| Tab | What it's for |
|---|---|
| **API Keys** | Keys for the Workspace (Custom Location) API. |
| **MCP** | The address to connect Claude, ChatGPT and other AI assistants. |
| **Webhooks** | Each workspace's webhook URL and headers. |
| **Docs** | The send request for the selected workspace, ready to copy. |

---

## API keys

Every request to the Workspace API carries a **Custom Location API key** in the
`x-custom-location-key` header. A key can cover one workspace, several, or all
of them.

Pick a Custom Location or HighLevel location in the workspace switcher first.
Otherwise the tab says *Select a Custom Location or GHL location in the sidebar
to manage its API keys.*

The tab has two parts:

- **Custom Location API Key**: the keys that work for the selected workspace,
  each with what it covers (**Only this workspace**, **Covers 2 workspaces** or
  **All workspaces**). **Generate Key** makes one for this workspace.
- **All API keys**: every key on your account, with the workspaces it covers,
  its status and when it was created.

Click the eye to show a key, and the copy icon to copy it.

### Create a key

Click **Create key**.

![Create key: New line or Existing workspaces, the key name and the workspaces it covers](https://docs.mycrmsim.com/assets/create-key-DiwFMGhr.png)

- **New line** sets everything up in one go. Pick a connected line that no
  workspace uses yet and click **Set up line**: the workspace is created, the
  line is attached, routing is set and the key is made. You can add an
  **Inbound webhook URL (optional)**, where replies and incoming messages on
  the line are posted.
- **Existing workspaces**: give the key a **Key name**, then pick the
  **Workspaces this key covers**, or tick **All workspaces, including new
  ones**.

Copy the key when it's shown. You can show it again from the list later.

### Change, regenerate, revoke or delete

The icons on each row of **All API keys**:

| Icon | What it does |
|---|---|
| Edit | Rename the key or change the workspaces it covers. The key's value stays the same; workspaces you remove stop accepting it at once. |
| Regenerate | Gives the key a new value. The old value stops working at once everywhere it was used. |
| Revoke | The key stops working at once and shows as **Revoked**. You can regenerate it later. |
| Delete | Removes the key for every workspace it covers. This can't be undone. |

The same keys are under **Settings → Custom Location API**.

---

## MCP

The **MCP** tab shows the **MCP server address**. Add it as a connector in
Claude, ChatGPT or another AI assistant, then sign in and approve access the
first time. It's the same as the MCP card on **Integrations**. See
[Connect an AI assistant](https://docs.mycrmsim.com/guides/ai-assistants).

On a white-label dashboard, the tab shows only once the agency's own MCP
domain is live.

---

## Webhooks

Each Custom Location workspace has **one webhook**: a URL, plus any headers you
want sent with it. Everything from the workspace goes there: incoming messages,
calls, message statuses and voice note events. **External Webhooks** lists them.

This is the same webhook as **Manage Workspaces** → edit the workspace →
**Advanced**. Change it in either place and the other shows the change.

![External Webhooks: the workspace, URL, headers and actions](https://docs.mycrmsim.com/assets/webhooks-Cn_xjUzr.png)

Click **Add Webhook**:

![Create Webhook: the workspaces, Webhook URL and Custom Headers](https://docs.mycrmsim.com/assets/add-webhook-A_9rNRWm.png)

1. Pick one or more **Workspaces**. Only Custom Location workspaces that don't
   have a webhook yet are listed.
2. Paste the **Webhook URL** (http or https).
3. Optional: **Add header**. Use one for a secret, for example `x-webhook-key`
   with a long random value, so your endpoint can reject requests without it.
   Up to 10 headers.
4. Click **Create**.

Webhooks are always sent as `POST` with a JSON body. The body is an **array**
of events, usually one.

To change the URL or headers, click the pencil. To stop all webhooks from a
workspace, delete its webhook: there is no pause switch.

### Send a test

The paper-plane icon sends one `TEST` event to the URL with your headers. The
message tells you what your endpoint answered, for example
*Your endpoint answered 200*. If it says 401 or 403, your endpoint is
rejecting the request: check that the header name and value match what it
expects.

```json
[
  {
    "type": "TEST",
    "message": "Test webhook. If you can read this, your endpoint is receiving events.",
    "location_id": "your-location-id",
    "sent_at": "2026-11-26T10:00:00.000Z"
  }
]
```

### What the webhook receives

Incoming messages, calls and statuses: see
[App callbacks › Give a workspace its own webhook](https://docs.mycrmsim.com/guides/app-callbacks#no-code-give-a-workspace-its-own-webhook)
for their fields.

Voice note events, one per
[AI voice note](https://docs.mycrmsim.com/guides/integrations#elevenlabs-voice-notes) the workspace
sends, have `"type": "VOICE_NOTE"`, the workspace's `location_id` and:

| `event` | Fields |
|---|---|
| `voice_note.delivered` | `log_id`, `recipient_phone`, `voice_id`, `audio_duration_ms`, `sent_at` |
| `voice_note.failed` | `log_id`, `recipient_phone`, `error_code`, `error_message`, `failed_at` |

`delivered` means the voice note was handed to the line to send.

| What you see | What to do |
|---|---|
| My endpoint gets messages but not my header | Open the webhook on this tab and check the header is listed. Then click **Send test**. |
| *This workspace already has a webhook* | Each workspace has one. Click its pencil to change the URL or headers. |
| *Webhooks can only be added to Custom Location workspaces* | HighLevel locations get messages through HighLevel, not a webhook. |
| The workspace isn't in the list | It already has a webhook, or it isn't a Custom Location. |

Webhooks have no tab when your agency has switched them off for your account.

---

## Docs

The **Docs** tab is the send request for the workspace picked in the
switcher.

![Docs: the endpoint URL, the workspace's location ID, the request headers and body](https://docs.mycrmsim.com/assets/docs-D4ZJWC-P.png)

It shows:

- the **Endpoint URL**, and the workspace's **Location ID** to copy;
- **Request Headers** and **Request Body**, with a sample payload;
- how to send a **contact card**;
- **Code Examples** in cURL, Node.js and Python;
- the **Response**, including the errors for a missing or wrong key;
- the **Events Sent to Your Webhook URL**: incoming messages (`MESSAGE`) and
  status updates (`STATUS-UPDATE`).

The samples show a placeholder instead of your key, so the page is safe to
share on screen. On a white-label dashboard with its own API domain, the tab
also shows the **API base URL** and a **View API Docs** button.

The same setup, with your key filled in, is in the workspace's **Setup
Guide** on [Subaccount SIM](https://docs.mycrmsim.com/guides/subaccount-sim). **Instructions** on
[Manage Workspaces](https://docs.mycrmsim.com/guides/manage-workspaces#instructions) opens this page too. For every field and the
iMessage extras, see [Which API should I use?](https://docs.mycrmsim.com/guides/choosing-an-api#workspace-api-custom-location).

---

## Troubleshooting

| What you see | What to do |
|---|---|
| **Developers** isn't in the sidebar | Your role doesn't include API keys. Ask the account owner to give you that permission. |
| *Select a Custom Location or GHL location in the sidebar…* | Pick a Custom Location or HighLevel location in the workspace switcher. A company workspace can't have a key. |
| *Every connected line is already attached to a workspace.* | Under **New line** there's no free line. Detach one on [Subaccount SIM](https://docs.mycrmsim.com/guides/subaccount-sim), or use **Existing workspaces**. |
| Requests fail with *Invalid API key for this location* | The key doesn't cover that workspace, or was regenerated. Check its **Workspaces** in **All API keys**. |
| *This API key has been revoked* | Regenerate it, or use another key. |
| My webhook gets no incoming messages | Webhooks on this tab only get voice note events. Save the URL on the workspace instead: see [App callbacks](https://docs.mycrmsim.com/guides/app-callbacks#no-code-give-a-workspace-its-own-webhook). |
| There's no **MCP** tab | Your white-label dashboard has no live MCP domain yet. |
| There's no **Webhooks** tab | Your agency switched webhooks off for your account. |
