Skip to Content
PlatformsOverview

Platforms

Greenlight supports seven chat platforms. Credentials are registered per channel via POST /v1/channels/new.

Comparison

PlatformDeliveryRequired credentialsPrompt option limit
TelegramPolling (default) or webhookbot_token10
SlackWebhookbot_token, signing_secret10
TeamsWebhookapp_id, app_password10
DiscordWebhook + Gatewaybot_token, public_key, application_id10
Google ChatWebhookservice_account_json, google_chat_project_number10
WhatsAppWebhook (GET+POST)access_token, app_secret, phone_number_id, verify_token3
MessengerWebhook (GET+POST)page_access_token, app_secret, verify_token3

Webhook URL pattern

{PUBLIC_WEBHOOK_URL}/webhooks/{organization_id}/{platform}/{channel_id}

Set PUBLIC_WEBHOOK_URL to your public HTTPS base with no trailing slash.

Create schema (shared)

POST /v1/channels/new body (fields vary by channel_type):

PROMPT — no channel-level callback_url required:

{ "channel_id": "ops-approvals", "platform": "slack", "target_chat_id": "C01234567", "credentials": { "bot_token": "xoxb-...", "signing_secret": "..." }, "channel_type": "PROMPT" }

MESSAGEcallback_url required (where Greenlight forwards inbound chat):

{ "channel_id": "ops-slack-chat", "platform": "slack", "target_chat_id": "C01234567", "credentials": { "bot_token": "xoxb-...", "signing_secret": "..." }, "callback_url": "https://agent.example/on_message", "channel_type": "MESSAGE" }

Also configure the platform to send events to {PUBLIC_WEBHOOK_URL}/webhooks/{organization_id}/{platform}/{channel_id} (see platform guides).

Pick a platform guide above for credentials and portal setup steps.