---
title: "Triggered when a new outgoing message."
method: POST
path: "message:sent:new"
tags: ["messages"]
---

# Triggered when a new outgoing message.

`POST message:sent:new` (webhook)

## Payload

- MessageData
  - `event_type` 'message:new' | 'message:sent:new' | 'message:received:new', required — Webhook event name
  - `chat` MessageDataChatInfo, required
    - `full_name` string, required
    - `chat_url` string, required
    - `chat_id` integer, required
    - `is_group` boolean, required
    - `phone` string, required
    - `responsible_name` string
    - `responsible_email` string
  - `whatsapp_account` MessageDataWhatsappAccountInfo, required
    - `full_name` string, required
    - `email` string, required
    - `phone` string, required
  - `message` MessageDataInfo, required
    - `text` string, required
    - `direction` string, required
    - `origin` string, required
    - `timestamp` string, required — message creation timestamp, WhatsApp message time
    - `received_timestamp` string, required — message creation timestamp in TimelinesAI, in ISO format with timezone
    - `message_uid` string, required
    - `reply_to_uid` string
    - `sender` PartyInfo, required
      - `full_name` string, required
      - `phone` string
    - `recipient` PartyInfo, required
      - `full_name` string, required
      - `phone` string
    - `attachments` AttachmentInfo[]
      - `temporary_download_url` string, required — valid for 15 minutes
      - `filename` string, required
      - `size` integer, required
      - `mimetype` string, required

## Acknowledgement `200`

Receiver accepted the event

---

[API](https://skmtc.dev/initechsoftware/apis/webhook-api.md) · [All operations](https://skmtc.dev/initechsoftware/apis/webhook-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/initechsoftware/webhook-api/revisions/3d68b53c5c85/schema)
