---
title: "Conversation events"
method: POST
path: "conversationEvents"
tags: ["Webhook Events"]
---

# Conversation events

`POST conversationEvents` (webhook)

- `conversation.started`: A new direct-message conversation appeared on a connected account; conversations imported by the account's first inbox sync do not emit it.

Delivered as a `POST` to every active endpoint that subscribes to the event and whose profile access covers it. Delivery is at least once and events are not ordered, so deduplicate by `id`.

## Payload

- WebhookConversationEvent: Envelope for `conversation.started`.
  - `id` string, required: Event id (`evt_…`). Stable across automatic retries and manual redeliveries; deduplicate on it.
  - `type` 'conversation.started', required
  - `apiVersion` string, required: Payload version.
  - `createdAt` string, date-time, required: When the event was created.
  - `data` WebhookConversationEventData, required
    - `conversation` WebhookConversationEventConversation, required
      - `id` string, required: Platform conversation id, the `conversationId` the inbox endpoints accept.
      - `accountId` string, required: PostZen account id.
      - `profileId` string, required: The account's profile.
      - `platform` 'x' | 'instagram' | 'tiktok' | 'linkedin' | 'facebook' | 'youtube' | 'threads' | 'pinterest' | 'bluesky' | 'telegram', required: Platform of the account an event refers to. Webhook payloads use `x` for X (Twitter).
      - `participant` WebhookEventPerson, required: A platform user as the platform reported them. Every field is omitted when unknown.
        - `id` string: Platform user id.
        - `name` string: Display name.
        - `username` string: Handle without the leading @.
      - `lastMessage` string: Text of the latest message, when known.
      - `lastMessageAt` string, date-time: When the latest message was sent.
      - `url` string, uri: Link to the conversation on the platform.

## Acknowledgement `2XX`

Acknowledges the delivery. Any other status, or no response within 10 seconds, schedules a retry.

---

[API](https://skmtc.dev/postzen/apis/postzen-public-api.md) · [All operations](https://skmtc.dev/postzen/apis/postzen-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postzen/apis/postzen-public-api/revisions/40863e3710ec?raw)
