> ## 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.

# Webhooks

> Subscribe your server to signed GreenTick events for messages and catalog orders.

Outbound webhooks tell your server about activity on the WhatsApp Business account. Create a subscription on **Developer** → **Webhooks**, or with [Subscribe to events](https://docs.greentick.ai/api/webhooks/subscribe-to-events.md).

The signing secret is returned once, on create or when you rotate it. Store it next to the API key.

## Events

| Event | When GreenTick sends it |
| - | - |
| `message.received` | A customer sends a message |
| `message.sent` | WhatsApp accepts an outbound message |
| `message.delivered` | WhatsApp delivers it |
| `message.read` | The customer reads it |
| `message.failed` | WhatsApp or GreenTick reports a failure |
| `order.received` | A catalog order arrives |

Subscribe only to the events you handle. A subscription created from the API is listed on **Developer** → **Webhooks**.

## Delivery

Your URL must respond with any HTTP `2xx` within 10 seconds. Do the work after you acknowledge.

GreenTick signs the raw body. The header is `X-GreenTick-Signature` with the form `t={unix_timestamp},v1={hex_hmac_sha256}`. The signed payload is `{timestamp}.{raw_request_body}`. Reject timestamps more than 300 seconds away from your clock. The verification sample is in [Webhooks](https://docs.greentick.ai/developers/webhooks.md).

Remove a subscription with [Unsubscribe from events](https://docs.greentick.ai/api/webhooks/unsubscribe-from-events.md).

> [!WARNING]
>
> Outbound webhooks pause while the plan is expired. They resume after the plan is active again.


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