Skip to content

Interface: IncomingChannelWebhookRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IncomingChannelWebhookRequest

Defined in: src/types/channels.ts:91

Body of POST /api/v1/channels/webhook — an inbound message from a messaging platform.

channelId: string

Defined in: src/types/channels.ts:95

Channel id where the message was received.


content: string

Defined in: src/types/channels.ts:101

Message content.


isDirect: boolean

Defined in: src/types/channels.ts:105

Whether this is a direct message. A direct message is checked against the tenant’s DM policy.


platform: string

Defined in: src/types/channels.ts:93

Platform the message came from: slack, discord, telegram, email or webhook.


senderId: string

Defined in: src/types/channels.ts:97

Sender id on the platform.


optional senderName?: string | null

Defined in: src/types/channels.ts:99

Optional display name of the sender.


optional threadId?: string | null

Defined in: src/types/channels.ts:103

Optional thread id.