DialoggAI API
  1. facebook-services
DialoggAI API
  • config
    • Getclientchatconfigrouter
      GET
    • Updateclientchatconfigrouter
      POST
  • AI
    • chat
      • Generate Chat
      • Generate Chat
      • Assign Chat
      • Chat Unassign
      • Manual Chat
      • Get Chat History
      • Get Chats
      • Get Chat History
      • Get Chat History
      • Get Chat History
      • End A Chat By Id
      • Agent End A Chat By Id
      • Get Assign Notification
      • Mark Notification As Read By Notification Id
      • Chat Summary Calculate
      • Summarize Chat By Id
      • Get Client Tags
      • Create Tags For Chat
      • Update Tags For Chat
      • Chat Summary Calculate
      • Auto Generate Tag With Ai
      • Auto Generate Tag With Ai Temp
      • Generate Sentiment Manual
      • Create Chat Feed Back
      • Get Chat Feedbacks
    • client
      • Create new chat conversation
      • Send message in existing chat conversation
      • Update customer information in chat conversation
      • Send message with files in chat conversation
      • Send assistant reply message in chat conversation
      • Generate intelligent reply suggestions for chat conversation
      • Generate automatic AI response
      • Multi-language text translation
      • AI translation API (deprecated)
      • Intelligent content summarization with AI
      • Get chat conversation list
      • Migration tool - Migrate chat messages
      • Migration tool - Migrate chat conversations
      • Get chat conversation history
      • Get chat conversation history with customer information
      • Get messages by chat conversation code
      • Delete All Documents
    • train
      • Create Prompt
      • Get Current Prompt
      • Upload Files
      • Delete Document By Id
      • Get Files
      • Set Important Document
      • Add Web Url
      • Update Web Url By Id
      • Get Web Urls
      • Delete Web Url By
      • Update Customer Info Field
      • Get Customer Info Field
      • Update Client Customer Welcome Message Route
      • Get Client Customer Welcome Message Route
      • Upload Banner Image Route
      • Get Bot Banner Route
      • Get Bot Banner Route
  • bot
    • Get Config By Api Key With Auth
      GET
    • Get All Bot
      GET
    • Get Bot By Id
      GET
    • Create Bot
      POST
    • Update Bot
      PUT
    • Toggle Disable Bot
      PUT
    • Delete Bot
      DELETE
    • Get Bot Sample Questions
      GET
  • function-calling
    • Get Function Calling Config
      GET
    • Upsert Function Calling Config
      POST
  • identity
    • Get Client Info
      GET
    • Add Facebook Access Token
      POST
    • Create Client User
      POST
    • Get My Company Users
      GET
    • Update User Disable Flag
      PUT
    • Reset User Password
      PUT
    • Update User Role
      PUT
    • Get Client Config Languages
      GET
    • Get Client Config Languages By Api Key
      GET
    • Login For Access Token2
      POST
    • Read Users Me
      GET
  • facebook-services
    • Get Facebook Messages
      GET
    • Post Facebook
      POST
    • Client Messenger List Pages
      GET
    • Store User Token
      POST
    • Client Messenger Connect Page
      POST
    • Client Messenger Connect
      POST
    • Get Client Facebook Connection Info
      GET
    • Disconnect A Page Of Client
      PUT
    • Reconnect A Page Of Client
      PUT
  • instagram-services
    • Store User Token
    • Client Messenger List Instagram Accounts
    • Client Messenger Connect Page
    • Connect Instagram
    • Disconnect Instagram
    • Get Instagram Messages
    • Post Instagram Messages
    • Get Client Ig Connection By Client Id
  • zalo-services
    • Client Messenger Connect
    • Zalo Callback
    • Disconnect A Page Of Client
    • Zalo Callback
    • Get Client Zalo Connection Info
  • whatsapp-services
    • Store User Token
    • Client Whatsapp List Accounts
    • Connect Whatsapp
    • Disconnect Whatsapp
    • Get Bot Wa Connection
    • Get Whatsapp Messages
    • Post Whatsapp Messages
  • report
    • Getadhocreportfilteroptionsrouter
    • Searchadhocreportrouter
    • Exportadhocreportrouter
    • Getchatoverviewrouter
    • Getchatoverviewrouter
    • Getwarningdashboardrouter
  • messaging
    • Create Message
    • List Messages
    • Create Conversation
    • List Conversations
    • End Conversation
    • Get Conversation Summary
    • Get Conversation Ai Tags
  • Webhook
    • Get Webhook Config
    • Create Webhook Config
    • Test Webhook
    • Get Webhook Events
  • Check Health
    GET
  • Schemas
    • AssignTypeEnum
    • BannerUploadResponseDto
    • Body_generate_client_chat_with_files_by_chat_id_ai_client_chat_files__chat_id___post
    • Body_login_for_access_token2_identity_token2_post
    • Body_upload_banner_image_route_ai__bot_id__upload_banner_image_post
    • Body_upload_files_ai__bot_id__train_document_post
    • BotBannerDto
    • BotConfigDto
    • BotLanguageConfigDto
    • ChatAssignDto
    • ChatCreation
    • ChatFeedBackDto
    • ChatGptMessage
    • ClientConfigDto
    • ClientDto
    • ConvMessage
    • Conversation
    • ConversationEntity
    • ConversationRequest
    • ConversationResponse
    • ConversationsResponse
    • EmailNotificationRequest
    • Event
    • ExportAdhocReportParam
    • FacebookAccessToken
    • FollowUp
    • ForgotPasswordRequest
    • FunctionCallingConfigDTO
    • FunctionCallingEventDTO
    • HTTPValidationError
    • Identity
    • ImportantDocumentDto
    • InstagramConnectDto
    • InstagramConnectPageDto
    • Location
    • ManualChatMessageDto
    • Message
    • MessageContent
    • MessageEntity
    • MessageRequest
    • MessagesResponse
    • MessengerConnectDto
    • MessengerConnectPageDto
    • Option
    • PromptDto
    • Questions
    • Recipient
    • RegisterTrialDto
    • ResetPasswordRequest
    • ReuploadFilesRequest
    • ReuploadFilesResponse
    • SampleQuestionDto
    • SearchAdhocReportParam
    • Sender
    • SubscriptionDto
    • SummarizeRequest
    • Tags
    • ToggleDisableBotDto
    • TopUpAmount
    • TranslationRequest
    • UserDto
    • ValidationError
    • VerifyResetTokenRequest
    • WebUrlDto
    • WebhookConfigRequest
    • WhatsAppChange
    • WhatsAppChangeValue
    • WhatsAppConnectDto
    • WhatsAppConnectPhoneDto
    • WhatsAppContact
    • WhatsAppEntry
    • WhatsAppMessage
    • WhatsAppMetadata
    • WhatsAppText
    • WhatsAppWebhook
    • ZaloOAConnectDto
    • Message
    • Entry
    • FeedbackScreens
    • MessageHook
    • Messaging
    • MessagingFeedback
    • Entry
    • FeedbackScreens
    • MessageHook
    • Messaging
    • MessagingFeedback
    • Message
    • Message
  1. facebook-services

Post Facebook

POST
/facebook/webhook

Request

Authorization
API Key
Add parameter in header
API-KEY
Example:
API-KEY: ********************
API Key
Add parameter in header
SESSION-ID
Example:
SESSION-ID: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Successful Response
Body

🟠404
🟠422
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/facebook/webhook' \
--header 'API-KEY: <api-key>' \
--header 'SESSION-ID: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
null
Modified at 2025-12-17 08:05:16
Previous
Get Facebook Messages
Next
Client Messenger List Pages
Built with