DialoggAI API
  1. train
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
        POST
      • Get Current Prompt
        GET
      • Upload Files
        POST
      • Delete Document By Id
        DELETE
      • Get Files
        GET
      • Set Important Document
        PUT
      • Add Web Url
        POST
      • Update Web Url By Id
        PUT
      • Get Web Urls
        GET
      • Delete Web Url By
        DELETE
      • Update Customer Info Field
        POST
      • Get Customer Info Field
        GET
      • Update Client Customer Welcome Message Route
        POST
      • Get Client Customer Welcome Message Route
        GET
      • Upload Banner Image Route
        POST
      • Get Bot Banner Route
        GET
      • Get Bot Banner Route
        GET
  • 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
    • Upsert Function Calling Config
  • identity
    • Get Client Info
    • Add Facebook Access Token
    • Create Client User
    • Get My Company Users
    • Update User Disable Flag
    • Reset User Password
    • Update User Role
    • Get Client Config Languages
    • Get Client Config Languages By Api Key
    • Login For Access Token2
    • Read Users Me
  • facebook-services
    • Get Facebook Messages
    • Post Facebook
    • Client Messenger List Pages
    • Store User Token
    • Client Messenger Connect Page
    • Client Messenger Connect
    • Get Client Facebook Connection Info
    • Disconnect A Page Of Client
    • Reconnect A Page Of Client
  • 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. train

Upload Banner Image Route

POST
/ai/{bot_id}/upload-banner-image
Upload banner image to S3 and return the image URL

Request

Authorization
OAuth 2.0
Password
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: identity/token2
or
Path Params

Body Params multipart/form-dataRequired

Responses

🟢200
application/json
Successful Response
Body

🟠404
🟠422
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/ai//upload-banner-image' \
--form 'banner_image=@""'
Response Response Example
200 - Example 1
{
    "success": true,
    "s3_key": "string",
    "img_url": "string",
    "filename": "string"
}
Modified at 2025-12-17 08:05:16
Previous
Get Client Customer Welcome Message Route
Next
Get Bot Banner Route
Built with