> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapperhub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API domain

> Address of the instance API and end of the old api.zapperapi.com domain on June 30, 2027

## Description

The instance API responds at `https://api.zapperhub.com`. Each route starts
with the instance id:

```text theme={null}
https://api.zapperhub.com/{instanceId}/messages/text
```

The old domain, `https://api.zapperapi.com`, serves the same routes, with the
same key, until **June 30, 2027**.

> [!WARNING]
>
> **From July 1, 2027, ZapperHub does not guarantee requests to
> `api.zapperapi.com`.** Change the domain before this date.

## How to identify the old domain

The responses of `api.zapperapi.com` have two more headers:

| Header | Value | Meaning |
| - | - | - |
| `Deprecation` | `@1795305600` | The domain is deprecated since November 22, 2026 |
| `Sunset` | `Wed, 30 Jun 2027 23:59:59 GMT` | Last day on which the domain responds |

The responses of `api.zapperhub.com` do not have these headers.

To find the old domain in your integration, search for `zapperapi.com` in the
code, in the environment variables, and in the configuration of the automation
tools.

## Preliminary requirements

* Access to the code or the tool that calls the API.

## Procedure

**1. Change the domain**

In each URL, replace `api.zapperapi.com` with `api.zapperhub.com`. The path,
the API key, and the request body do not change.

**2. Change the n8n package**

If your n8n uses the `n8n-nodes-zapperapi` package, install
`n8n-nodes-zapperhub` and replace the nodes. See
[Migrate from n8n-nodes-zapperapi](https://docs.zapperhub.com/en/integrations/n8n.md#migrate-from-n8n-nodes-zapperapi).

**3. Test**

Send `GET https://api.zapperhub.com/{instanceId}/connection` with the
instance key. Make sure that the response does not have the `Sunset` header.

## Result

The integration calls `api.zapperhub.com`. The responses do not have the
`Deprecation` and `Sunset` headers.

> [!NOTE]
>
> Webhooks do not change. ZapperHub sends the events to the URL that you
> registered, and the source address does not depend on the domain that your
> application calls.

## See also

* [Authentication](https://docs.zapperhub.com/en/definitions/authentication.md)
* [Quickstart](https://docs.zapperhub.com/en/quickstart.md)
* [n8n](https://docs.zapperhub.com/en/integrations/n8n.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.