feat(campaigns): align chatwoot payloads

This commit is contained in:
2026-06-06 03:09:54 +08:00
parent 4b2c1a97ae
commit ca3c045f21
9 changed files with 242 additions and 151 deletions
+4 -1
View File
@@ -145,6 +145,7 @@ GET /api/v1/accounts/:account_id/automation_rules/
GET /api/v1/accounts/:account_id/automation_rules/:automation_id
GET /api/v1/accounts/:account_id/banners
GET /api/v1/accounts/:account_id/cache_keys
GET /api/v1/accounts/:account_id/campaigns
GET /api/v1/accounts/:account_id/campaigns/
GET /api/v1/accounts/:account_id/campaigns/:campaign_id
GET /api/v1/accounts/:account_id/canned_responses/
@@ -450,6 +451,7 @@ PATCH /api/v1/accounts/:account_id/agent_bot_inboxes/:agent_bot_inbox_id/status
PATCH /api/v1/accounts/:account_id/agent_capacity_policies/:id
PATCH /api/v1/accounts/:account_id/agent_capacity_policies/:id/inbox_limits/:limit_id
PATCH /api/v1/accounts/:account_id/agents/:agent_id
PATCH /api/v1/accounts/:account_id/campaigns/:campaign_id
PATCH /api/v1/accounts/:account_id/channels/facebook_channel/:fb_id
PATCH /api/v1/accounts/:account_id/companies/:company_id
PATCH /api/v1/accounts/:account_id/contacts/:contact_id
@@ -516,6 +518,7 @@ POST /api/v1/accounts/:account_id/automation_rules/
POST /api/v1/accounts/:account_id/automation_rules/:automation_id/clone
POST /api/v1/accounts/:account_id/automation_rules/:automation_id/toggle_active
POST /api/v1/accounts/:account_id/bulk_actions
POST /api/v1/accounts/:account_id/campaigns
POST /api/v1/accounts/:account_id/campaigns/
POST /api/v1/accounts/:account_id/campaigns/:campaign_id/start
POST /api/v1/accounts/:account_id/campaigns/:campaign_id/stop
@@ -841,4 +844,4 @@ 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 /widget/direct_uploads/:upload_uuid
TOTAL: 843
TOTAL: 846