---
updatedAt: 2026-03-02T14:35:53.000Z
agentTools:
  projectIndex: https://developers.dexatel.com/llms.txt
---

# Webhooks - Message

<TitleSetter title="Message Webhooks Guide | Dexatel API" />

This page is dedicated to providing you with comprehensive details about the Message webhook.

The Message webhook is a powerful tool that enables real-time, programmatic responses to messages received on your Dexatel sender IDs. Whether you aim to integrate seamless communication workflows into your applications or respond automatically to customer inquiries, this webhook ensures you can efficiently manage and react to incoming messages.

Here, you'll find information on webhook configuration, expected payloads, and practical examples to help you effectively leverage this feature in your communication strategies.

## Signature Header

Dexatel signs every webhook request message sent to the user. The signature of each message is computed using the **HMAC\_SHA256** hashing algorithm, which takes the payload of the webhook, signs with the secret, and sends the computed hash code in the **X-Dexatel-Signature** header of the request.

| Name                    | Type   | Description                |
| :---------------------- | :----- | :------------------------- |
| **X-Dexatel-Signature** | string | X-Dexatel-Signature header |

## Request Body

POST request payload sent in **data** property in JSON format

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **account_id**
      </td>

      <td>
        string
      </td>

      <td>
        Unique identifier of the account to which the message was sent
      </td>
    </tr>

    <tr>
      <td>
        **message_id**
      </td>

      <td>
        string
      </td>

      <td>
        Unique identifier of the message
      </td>
    </tr>

    <tr>
      <td>
        **event**
      </td>

      <td>
        string
      </td>

      <td>
        Message
      </td>
    </tr>

    <tr>
      <td>
        **from**
      </td>

      <td>
        string
      </td>

      <td>
        The phone number that sent the message
      </td>
    </tr>

    <tr>
      <td>
        **to**
      </td>

      <td>
        string
      </td>

      <td>
        SenderID that received the inbound message.
      </td>
    </tr>

    <tr>
      <td>
        **text**
      </td>

      <td>
        string
      </td>

      <td>
        Text of the message
      </td>
    </tr>

    <tr>
      <td>
        **channel**
      </td>

      <td>
        number
      </td>

      <td>
        Messaging channel to which the contact belongs.  
        Possible Values:  
        • SMS  
        • VIBER,  
        • WHATSAPP
      </td>
    </tr>

    <tr>
      <td>
        **timestamp**
      </td>

      <td>
        string
      </td>

      <td>
        The timestamp value of the inbound message
      </td>
    </tr>
  </tbody>
</Table>

### Request Body Example

```json
POST: {configured url}
X-Dexatel-Signature: tfohtYVSauiKc7jJncqDJ4I4RL6A2AKbCUQL6BfuMtk=
Content-Type: application/json
{
    "data": {
        "account_id": "72e47e47-95b9-41c2-bdcd-55dd9bb04e14",
        "message_id":"8cd2ac02-0cf6-4842-88a9-1b577ff97242",
        "event": "message",
        "from": "1222444444",
        "to": "1222333333",
        "text": "sign me in please",
        "channel": "SMS",
        "timestamp": "2022-03-01 13:00:00"
    }
}
```