Skip to content

Interface: IncomingChannelWebhookRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IncomingChannelWebhookRequest

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

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

channelId: string

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

Channel id where the message was received.


content: string

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

Message content.


isDirect: boolean

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

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:88

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


senderId: string

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

Sender id on the platform.


optional senderName?: string | null

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

Optional display name of the sender.


optional threadId?: string | null

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

Optional thread id.