POST/api/global-chatbot/demo
Ritheann an chatbot faispeis ar zentor-app.de/demo – tá sé in ann a bheith úsáidte sa bróiser gan aon chomharthaí. Úsáideann sé an ghnóthacht chatbot domhanda céanna a úsáideann na vídjetí foirceadaithe.
Auth & Absicherung
Keine Authentifizierung erforderlich
Rialú Rocht Block-10 (accessControlGuard, raon "widget", ZENTOR_MAIN_TENANT_ID) – faoi láthair, tá sé ag feidhmiú i modh "tástála", féach catagóir "Slándar" sa Lárionad Cabhrá.
Idempotent: Nein
Parameter
message(body, string, erforderlich)visitor_id(body, string, erforderlich)— Caolann sé go gá le bheith ina UUID bhriste.Beispiel-Request
{"message":"Cad is féidir le Zentor App?","visitor_id":"<UUID>"}Beispiel-Response
{"ok":true,"data":{"response":"Réamhaisnéis Ardán Zentor\nCad is é Zentor agus cad é a úsáid aige.","buttons":[],"state_after":"idle","checkout_payload":{"plan_code":"zentor_demo_start","display_name":"Tosú Taispeána Zentor","checkout_url":"https://zentor.app/onboarding/demo","ready":false,"missing_slots":["name","email","phone"]},"session_id":"c8e9762b-d4e2-437b-8331-48a82fd6eb0e","blocked_by_agent":false}}Fehlercodes
400 MESSAGE_REQUIRED — d'fháil an t-fhola.400 INVALID_VISITOR_ID — Tá an `visitor_id` seo nach bhfuil mar UUID bhailí.Live-Test-Nachweis
Cruthaíodh (200, freagra bot fíor, lena n-áirítear an checkout_payload) agus deimhníodh dhá chás dian.