Botsonic ApiAsk AIpost https://api.botsonic.ai/v1/botsonic/generateGeneration endpoint supporting synchronous responseBody Paramsinput_textstringrequiredlength ≥ 1User question for botchat_iduuidrequiredchat_id for given chatsourcestringSources to referstarter_question_iduuidstarter question idis_business_api_requestbooleanDefaults to falsetruefalseis_integration_requestbooleanDefaults to falsetruefalsegeneration_source_nameIntegrationConfigTypeDefaultSourcesenumcalendlycalendarwhatsappmessengerinstagramslacktelegramzapierlocation_based_consentfreshdeskzendeskgoogle_chatrequest_callbackwordpressgoogle_tag_managerzendesk_live_agent_handoffsalesforce_live_agent_handoffsalesforce_leadsonedrivesalesforceactive_campaignconfluencegoogle_driveintegration_user_identifierstringintegration user unique identifieruser_unique_identifierstringCan be passed to store some additional user data in inboxchat_historyarray of objectsPrevious chat history for referenceChat HistoryADD objectresponse_typestringenumDefaults to textAn enumeration.texthtmlmarkdownmrkdwnAllowed:texthtmlmarkdownmrkdwnchat_user_idstringchat_user_id for given chat , this links with old user dataextra_metadataobjectextra metadata for given chat(integration specific)Extra Metadata objectfull_historybooleanif true, will return full history of chat till nowtruefalsemessage_iduuidmessage id of any chat message to be used to resolve handoffhands_off_metadataobjectmetadata for handoffHands Off Metadata objecttimeoutnumberThe timeout duration, measured in seconds, represents the maximum period that the endpoint will maintain the connection open to generate a response before terminating the requestHeaderstokenstringrequiredResponses 200Successful Response 422Validation ErrorUpdated 5 months ago