feat(webhook): align chatwoot ingress routes

This commit is contained in:
2026-06-04 23:20:58 +08:00
parent 6aa62c6d7b
commit 9e3f561bed
12 changed files with 467 additions and 120 deletions
+18 -10
View File
@@ -1,4 +1,3 @@
CONNECT /webhooks/:channel_type/:identifier
DELETE /api/v1/accounts/:account_id
DELETE /api/v1/accounts/:account_id/agent_bot_inboxes/:agent_bot_inbox_id
DELETE /api/v1/accounts/:account_id/agent_bots/:agent_bot_id
@@ -109,7 +108,6 @@ DELETE /platform/api/v1/apps/:id/permissibles/:permissible_id
DELETE /platform/api/v1/banners/:id
DELETE /platform/api/v1/installation_configs/:id
DELETE /platform/api/v1/users/:id
DELETE /webhooks/:channel_type/:identifier
GET /api/v1/accounts/
GET /api/v1/accounts/:account_id
GET /api/v1/accounts/:account_id/agent_bot_inboxes/
@@ -420,7 +418,11 @@ GET /public/api/v1/inboxes/:inbox_id/contacts/:contact_id
GET /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations
GET /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id
GET /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages
GET /webhooks/:channel_type/:identifier
GET /webhooks/instagram
GET /webhooks/tiktok/:business_id
GET /webhooks/twitter
GET /webhooks/twitter/webhook
GET /webhooks/whatsapp/:phone_number
GET /widget/cable_token
GET /widget/conversations
GET /widget/conversations/:id/messages
@@ -428,8 +430,6 @@ GET /widget/widget/:website_token/pre_chat_form
GET /widget/widget/:website_token/theme_config
GET /widget/widget/:website_token/uploads/:upload_uuid
GET /ws
HEAD /webhooks/:channel_type/:identifier
OPTIONS /webhooks/:channel_type/:identifier
PATCH /api/v1/accounts/:account_id/agent_bot_inboxes/:agent_bot_inbox_id/status
PATCH /api/v1/accounts/:account_id/channels/facebook_channel/:fb_id
PATCH /api/v1/accounts/:account_id/contacts/:contact_id/notes/:note_id
@@ -465,7 +465,6 @@ PATCH /platform/api/v1/users/:id
PATCH /public/api/v1/csat_survey/:id
PATCH /public/api/v1/inboxes/:inbox_id/contacts/:contact_id
PATCH /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages/:message_id
PATCH /webhooks/:channel_type/:identifier
PATCH /widget/contact
POST /api/v1/accounts/
POST /api/v1/accounts/:account_id/agent_bot_inboxes/
@@ -710,7 +709,18 @@ POST /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conver
POST /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/toggle_status
POST /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/toggle_typing
POST /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/update_last_seen
POST /webhooks/:channel_type/:identifier
POST /webhooks/instagram
POST /webhooks/line/:line_channel_id
POST /webhooks/shopify
POST /webhooks/sms/:phone_number
POST /webhooks/telegram/:bot_token
POST /webhooks/tiktok
POST /webhooks/tiktok/:business_id
POST /webhooks/twilio/sms/:phone_number
POST /webhooks/twilio/status/:phone_number
POST /webhooks/twitter
POST /webhooks/twitter/webhook
POST /webhooks/whatsapp/:phone_number
POST /widget/conversations/:id/toggle_typing
POST /widget/direct_uploads
POST /widget/init
@@ -788,7 +798,5 @@ PUT /platform/api/v1/installation_configs/:id
PUT /public/api/v1/csat_survey/:id
PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id
PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages/:message_id
PUT /webhooks/:channel_type/:identifier
PUT /widget/direct_uploads/:upload_uuid
TRACE /webhooks/:channel_type/:identifier
TOTAL: 793
TOTAL: 801