chore: Add an API to find the contacts using contact inbox sourceId (#8012)

Fixes: https://linear.app/chatwoot/issue/CW-2578/search-by-facebook-id
This commit is contained in:
Pranav Raj S
2023-09-28 15:26:28 -07:00
committed by GitHub
parent ffc2d98fb8
commit 12a64f1b10
4 changed files with 98 additions and 0 deletions

View File

@@ -46,6 +46,11 @@ Rails.application.routes.draw do
resource :bulk_actions, only: [:create]
resources :agents, only: [:index, :create, :update, :destroy]
resources :agent_bots, only: [:index, :create, :show, :update, :destroy]
resources :contact_inboxes, only: [] do
collection do
post :filter
end
end
resources :assignable_agents, only: [:index]
resource :audit_logs, only: [:show]
resources :callbacks, only: [] do