Interface ProjectUpdateParams

interface ProjectUpdateParams {
    automaticReadReceipts?: boolean;
    description?: null | string;
    groupWebhookEventsEnabled?: boolean;
    name?: string;
    requireOptIn?: boolean;
    routingMode?: ChannelRoutingMode;
    webhookSecret?: string;
    webhookSigningEnabled?: boolean;
    webhookUrl?: null | string;
}

Properties

automaticReadReceipts?: boolean

Send automatic read receipts across all project channels. Defaults off for external routing, on for hosted agents.

description?: null | string

null clears the description.

groupWebhookEventsEnabled?: boolean

Opt into the four WhatsApp group management webhook event names.

name?: string
requireOptIn?: boolean

When true (default), business-initiated sends (targeting a phone or contactId) require an active opt-in/enrollment record. Set false on a dedicated production number so inbound senders can be replied to and messaged without the invite/enrollment step. Conversation replies (by conversationId) are always governed by the WhatsApp 24h window.

routingMode?: ChannelRoutingMode

Default routing for the project. New dedicated channels inherit this, and it determines sandbox routing. Set EXTERNAL (with a webhook) to forward inbound to your app.

webhookSecret?: string

Bring-your-own signing secret; takes precedence over the flag above.

webhookSigningEnabled?: boolean

false disables signing (clears the secret); true ensures one exists.

webhookUrl?: null | string

null clears the webhook URL.