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

# API introduction

> Call the GreenTick Developer API to send WhatsApp messages, sync contacts, and receive signed webhooks.

The GreenTick Developer API is a JSON API for one WhatsApp Business account. Create a key in the dashboard, send it as a Bearer token, and call `https://api.greentick.ai/v1`.

The endpoint pages in this tab are generated from the OpenAPI document. Each page lists the parameters, shows an example, and includes a playground that sends a real request. The same document is available at `GET /v1/openapi.json`.

The API is included on Starter, Standard, and Premium. An expired plan returns `403` with code `PLAN_EXPIRED` until you renew.

## Base URL

```text theme={null}
https://api.greentick.ai/v1
```

`GET /health` and `GET /openapi.json` do not need a key. Every other route needs `Authorization: Bearer gt_live_…`.

## Before you call an endpoint

| Page | What it covers |
| - | - |
| [Authentication](https://docs.greentick.ai/api/authentication.md) | Create a key and send it as a Bearer token |
| [Quickstart](https://docs.greentick.ai/api/quickstart.md) | Check the key, then send one approved template |
| [Webhooks](https://docs.greentick.ai/api/webhooks.md) | Subscribe to message and order events |
| [Errors](https://docs.greentick.ai/api/errors.md) | Status codes, pagination, and retries |

## Where to start

| Job | Reference |
| - | - |
| Confirm the API is up | [Check API availability](https://docs.greentick.ai/api/system/check-api-availability.md) |
| Confirm the key | [Check the API key](https://docs.greentick.ai/api/api-key/check-the-api-key.md) |
| Send a text or an approved template | [Send a WhatsApp message](https://docs.greentick.ai/api/messages/send-a-whatsapp-message.md) |
| Read a Live Chat thread | [List conversations](https://docs.greentick.ai/api/conversations/list-conversations.md) |
| Find an approved template | [List message templates](https://docs.greentick.ai/api/templates/list-message-templates.md) |
| Create or update contacts | [List contacts](https://docs.greentick.ai/api/contacts/list-contacts.md) |
| Hear about messages and orders | [Subscribe to events](https://docs.greentick.ai/api/webhooks/subscribe-to-events.md) |

> [!NOTE]
>
> An assistant can do the same work through the [MCP server](https://docs.greentick.ai/mcp-server.md). That connection uses a GreenTick sign-in. A `gt_live_` key is for this API, not for `https://api.greentick.ai/mcp`.


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