---
title: How to set up a webhook
description: Set up a Smarter Contact webhook to send inbound texts and delivery status to Zapier, n8n, Make or your server. Steps, events, payload and signature checks.
---

[![Logo](https://smartercontact.com/wp-content/uploads/2023/08/logo_smarter_contact-1.svg)](https://smartercontact.com/)

☰

Solutions

- [Real Estate Investing](https://smartercontact.com/real-estate-investing/)
- [Real Estate Agent](https://smartercontact.com/real-estate-agent/)
- [General Sales/Marketing](https://smartercontact.com/general-sales-marketing/)
- [Automotive](https://smartercontact.com/automotive/)
- [Event Promotion](https://smartercontact.com/event-promotion/)
- [Gym/Fitness](https://smartercontact.com/gym-fitness/)
- [Staffing](https://smartercontact.com/staffing/)

Features

- [Texting Automation](https://smartercontact.com/sms-automation/)
- [Calling](https://smartercontact.com/calling/)
- [Reporting](https://smartercontact.com/reporting/)
- [Built-in CRM](https://smartercontact.com/built-in-crm/)
- [Custom Campaigns](https://smartercontact.com/custom-campaigns/)
- [Calendar](https://smartercontact.com/calendar/)
- [Integrations](https://smartercontact.com/integrations/)

[Pricing](https://smartercontact.com/pricing/)

Resources

- [Launch Control vs Smarter Contact](https://smartercontact.com/launch-control-vs-smarter-contact/)
- [Smarter Contact Managed](https://smartercontact.com/managed-plans/)
- [Our Team](https://smartercontact.com/our-team/)
- [Tutorials](https://smartercontact.com/tutorials/)
- [Our Story](https://smartercontact.com/our-story/)
- [Help Center](https://support.smartercontact.com/?hsLang=en)
- [Blog](https://smartercontact.com/blog/)

[Affiliate Program](https://lp.smartercontact.com/affiliates) [Dialer](https://smartercontact.com/dialer/)

[Log in](https://app.smartercontact.com/login) [Get started now](https://app.smartercontact.com/signup)

[Skip to content](https://support.smartercontact.com/how-to-set-up-a-webhook#main-content)

![logo\_smarter\_contact\_@x5](https://support.smartercontact.com/hs-fs/hubfs/Email%20images/logo_smarter_contact_@x5.jpg?width=200&height=28&name=logo_smarter_contact_@x5.jpg)

Open main navigation

Close main navigation

- [Go to App](https://app.smartercontact.com/?utm_source=knowledge_base)

[Go to App](https://app.smartercontact.com/?utm_source=knowledge_base)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://support.smartercontact.com/?hsLang=en)
2. [General](https://support.smartercontact.com/general?hsLang=en)

November 25, 2026

# How to set up a webhook

A webhook sends an event from Smarter Contact to a URL you choose the moment something happens on your account, such as a contact texting you back or a message you sent being delivered. Use it to push replies into your CRM, start an n8n, Zapier or Make automation, or power an AI auto-reply.

This guide shows you how to add a webhook endpoint (also called a webhook URL or callback URL), pick its events, and confirm it works.

### Before you start

- **Developer Terms accepted.** The account owner accepts them once under Connect.
- **A URL that accepts a `POST` with a JSON body.** For example, the production URL of an n8n Webhook node, a Zapier Catch Hook, a Make custom webhook, or your own server.
- **A free endpoint slot.** Each account can have up to 16 active endpoints.

### Steps

1. **Open Webhooks.** In Smarter Contact, click **Connect** in the top menu, then choose **Webhooks** in the side menu.
2. **Click Add endpoint.**
   
   ![Webhook 1](https://support.smartercontact.com/hs-fs/hubfs/Webhook%201.png?width=670&height=419&name=Webhook%201.png)
3. **Enter a name and URL.** Give the endpoint a **Name** you will recognize later, for example `n8n auto-reply`, and paste your **Endpoint URL**.
4. **Pick the events** under **Events**. Most setups need `message.received.v1`. See the event list below.
   
   ![Webhooks 2-1](https://support.smartercontact.com/hs-fs/hubfs/Webhooks%202-1.png?width=357&height=420&name=Webhooks%202-1.png)
5. **Click Add endpoint** to save. The endpoint shows in the list with its toggle switched on.
6. **Copy the signing secret (optional, recommended).** It shows at the top of the Webhooks page once you have an endpoint, and starts with `whsec_`. One secret covers every endpoint on your account. Your server uses it to confirm a delivery really came from Smarter Contact.

![Default (KB article, 1 endpoint)-1](https://support.smartercontact.com/hs-fs/hubfs/Default%20(KB%20article%2c%201%20endpoint)-1.png?width=670&height=419&name=Default%20(KB%20article%2c%201%20endpoint)-1.png)

**Agency or parent account?** Check **Receive events from my sub accounts** at the top of the Webhooks page to get your sub-accounts' events too. Each event's `data.account_id` shows which account it came from.

**Managing an endpoint.** Switch its toggle off to pause deliveries, click the pencil icon to change its name, URL or events, or the trash icon to delete it. If your signing secret leaks, click **Regenerate secret** and update your server with the new one.

### Events you can subscribe to

| Event | Sent when | Typical use |
| --- | --- | --- |
| `message.received.v1` | A contact texts your account | Push replies into a CRM, alert your team, AI auto-reply |
| `message.delivery_status.v1` | A message you sent reaches a final state: `delivered` or `undelivered` | Track deliverability, flag failed numbers |
| `message.received.v0` | Deprecated. Same inbound text in the older flat format, with no `id` | Only shown for endpoints that already use it. Move to v1 before January 31, 2027 |

A failed send is also reported as `undelivered`. When the reason is known, `reason` is one of `spam`, `per_minute_limit_reached`, `daily_limit_reached` or `flooding`. `source` tells you where the message came from: `campaign`, `one_on_one`, `api`, `mcp`, `reply_ai` or `workflow`.

### What your server receives

Each event arrives as a `POST` with a JSON body. Here is a `message.received.v1` example:

```
{  "id": "evt_0199b7c2-4d1e-7a3f-9b5c-2e8d6f1a0c34",  "event": "message.received.v1",  "created_at": "2026-10-01T15:04:05.000Z",  "email": "owner@example.com",  "data": {    "account_id": "8a7b6c5d-4e3f-4a2b-9c1d-0e9f8a7b6c5d",    "message_id": "5e4d3c2b-1a09-4f8e-8d7c-6b5a49382716",    "contact_id": "3f2a9c1e-5b7d-4e8a-9c0f-1a2b3c4d5e6f",    "from_number": "+15551234567",    "to_number": "+15557654321",    "content": "Yes, still interested"  }}
```

- `id` is the same on every delivery of one event. Use it to skip repeats.
- `email` is your account's email. A test from the Webhooks page also carries `"test": true`.
- `data.account_id` is a sub-account id when a parent account receives sub-account events.

#### Retries and duplicates

Answer with any `2xx` status fast, then do the work. A non-2xx answer, or no answer, is retried, for up to 9 attempts in total. The wait starts at 30 seconds and doubles up to 30 minutes, so the last retry lands about 90 minutes after the first attempt. Delivery is at least once, so the same event can arrive twice: drop repeats by `id`.

#### Verify the signature

When your account has a signing secret, every delivery carries an `X-SC-Signature` header in the form `t=<unix seconds>,v1=<signature>`. The signature is an HMAC-SHA256 of `<t>.<raw body>` made with your secret.

- Check it against the **raw body bytes**, not JSON you parsed and re-encoded.
- `t` stays the same on every retry. Accept timestamps up to **2 hours** old, or you will reject retries.

Copy-ready Node.js and Python examples are in the [Webhooks developer docs](https://docs.smartercontact.com/webhooks/).

### Check that it works

1. Click **Send test** next to your endpoint. The test arrives once with `"test": true` and random `message_id` and `contact_id` values.
2. For a real check, text one of your Smarter Contact numbers from your own phone. A `message.received.v1` event should reach your URL within seconds.

A test is sent only once, with no retry, a 10 second timeout, and no redirects followed.

### Common issues

| What you see | Fix |
| --- | --- |
| The test never arrives | Use the final URL, since tests do not follow redirects. Make sure your server answers in under 10 seconds. In n8n, use the **production** URL, not the test URL. |
| The same event arrives twice | Expected with at-least-once delivery. Skip any `id` you already handled. |
| The payload has no `id` or `event` field | The endpoint is on deprecated `message.received.v0`. Subscribe it to `message.received.v1`. |
| The signature never matches | Verify against the raw request body, before any JSON parsing. |
| The first delivery passes, retries fail | Your timestamp check is too strict. Allow at least 2 hours. |
| You cannot add another endpoint | You have reached 16 active endpoints. Switch off or delete one you no longer use. |

### Example: AI auto-reply with n8n

An AI client cannot listen for new texts on its own, so real-time auto-reply runs through a webhook. Zapier, Make or your own server work the same way.

1. In n8n, add a **Webhook** trigger node with method `POST` and copy its production URL.
2. Add that URL as an endpoint on the **Webhooks** page, subscribed to `message.received.v1`.
3. Add a **Wait** node of 60 seconds. Replies sent sooner than 60 seconds after the contact's message are refused with `reply_too_soon`.
4. Read the conversation with `GET /contacts/v1/{id}/messages`, using `data.contact_id` from the event as the id.
5. Let your AI model write the reply, then send it with `POST /contacts/v1/{id}/messages`. If you still get `reply_too_soon`, wait `retryAfterSeconds` and retry.

These API calls use credentials you create on the **API** page under Connect. Replies only go to contacts who texted you in the last 7 days.

### Related articles

- [How to connect an AI client](https://support.smartercontact.com/how-to-connect-an-ai-client?hsLang=en)
- [Webhooks developer docs](https://docs.smartercontact.com/webhooks/)
- [API reference](https://docs.smartercontact.com/api-reference/)

##### With 💙, Smarter Contact Team

- [Contact Us](https://smartercontact.com/contact-us/)

[![logo\_smarter\_contact\_@x5](https://support.smartercontact.com/hs-fs/hubfs/Email%20images/logo_smarter_contact_@x5.jpg?width=200&height=28&name=logo_smarter_contact_@x5.jpg "logo_smarter_contact_@x5")](http://smartercontact.com)

###### ###### [Product](https://smartercontact.com/pricing/)

<https://smartercontact.com/pricing/>

<https://smartercontact.com/pricing/>[Messaging Plans](https://smartercontact.com/messaging-plan/)  
[Calling Plans](https://smartercontact.com/calling-plan/)  
[Mobile App](https://smartercontact.com/mobile/)  
[What’s New](https://smartercontact.com/whats-new/)  
[Pricing](https://smartercontact.com/pricing/)

###### Company

[Privacy Policy](https://smartercontact.com/privacy-policy/)  
[Terms & Conditions](https://smartercontact.com/terms-and-conditions/)

 

<https://www.facebook.com/groups/smartercontact> <https://www.instagram.com/smartercontact_/> [mailto:support@smartercontact.com](mailto:support@smartercontact.com) <https://www.youtube.com/c/SmarterContact>

Copyright © 2026, Smarter Contact

#### Product

- [Messaging Plans](https://smartercontact.com/messaging-plan/)
- [Calling Plans](https://smartercontact.com/calling-plan/)
- [Mobile App](https://smartercontact.com/mobile/)
- [What’s New](https://smartercontact.com/whats-new/)
- [Pricing](https://smartercontact.com/pricing/)

#### Company

- [Privacy Policy](https://smartercontact.com/privacy-policy/)
- [Terms & Conditions](https://smartercontact.com/terms-and-conditions/)

#### Solutions

- [Investors](https://smartercontact.com/real-estate-investors/)
- [Agents](https://smartercontact.com/real-estate-agents/)
- [Brokers](https://smartercontact.com/real-estate-brokers/)
- [Wholesalers](https://smartercontact.com/real-estate-wholesalers/)
- [Land Flippers](https://smartercontact.com/real-estate-land-flippers/)
- [Fix and Flippers](https://smartercontact.com/real-estate-fix-and-flippers/)
- [Land Developers](https://smartercontact.com/real-estate-land-developers/)
- [Property Developers](https://smartercontact.com/real-estate-property-developers/)

#### Comparison

- [Launch Control vs Smarter Contact](https://smartercontact.com/launch-control-vs-smarter-contact/)
- [Batch Leads vs Smarter Contact](https://smartercontact.com/batch-leads-vs-smarter-contact/)
- [Lead Sherpa vs Smarter Contact](https://smartercontact.com/lead-sherpa-vs-smarter-contact/)
- [ReplySmart vs Smarter Contact](https://smartercontact.com/replysmart-vs-smarter-contact/)
- [ZeitBlast vs Smarter Contact](https://smartercontact.com/zeitblast-vs-smarter-contact/)
- [Sendivo vs Smarter Contact](https://smartercontact.com/sendivo-vs-smarter-contact/)
- [HighLevel vs Smarter Contact](https://smartercontact.com/highlevel-vs-smarter-contact/)
- [XLeads vs Smarter Contact](https://smartercontact.com/xleads-vs-smarter-contact/)
- [ReadyMode vs Smarter Contact](https://smartercontact.com/readymode-vs-smarter-contact/)
- [BatchDialer vs Smarter Contact](https://smartercontact.com/batchdialer-vs-smarter-contact/)
- [PhoneBurner vs Smarter Contact](https://smartercontact.com/phoneburner-vs-smarter-contact/)
- [Roor vs Smarter Contact](https://smartercontact.com/roor-vs-smarter-contact/)

#### Resources

- [Tutorials](https://smartercontact.com/tutorials/)
- [Help Center](https://support.smartercontact.com/?hsLang=en)
- [Careers](https://smartercontact.hurma.work/public-vacancies)

[![Smarter Contact](https://smartercontact.com/wp-content/uploads/2025/07/Logo-2.svg)](https://smartercontact.com)

[![Download on the App Store](https://smartercontact.com/wp-content/uploads/2025/11/App-Store.svg)](https://apps.apple.com/us/app/smarter-contact/id1637673379) [![Get it on Google Play](https://smartercontact.com/wp-content/uploads/2025/11/Google-Play.svg)](https://play.google.com/store/apps/details?id=com.smartercontactapp&pli=1)

<https://www.instagram.com/smartercontact_> <https://www.facebook.com/groups/smartercontact> <https://www.youtube.com/c/SmarterContact> <https://www.linkedin.com/company/smartercontact>

© 2026 Copyright Smarter Contact.  
All Rights Reserved.