Fejlesztői dokumentáció

A ChatAutomata REST API, embed widget, webhook események és OAuth integráció részletes leírása.

Embed widget

Egy soros JavaScript az oldaladra:

<script src="https://embed.chatautomata.hu/w.js?id=YOUR_BOT_ID" async></script>

REST API — alap

Base URL: https://api.chatautomata.hu/v1

Auth: Authorization: Bearer YOUR_JWT

Fő endpointok: /chatbots, /faqs, /knowledge, /leads, /conversations, /webhooks, /integrations/*, /billing/*

Webhook-events

HMAC-aláírt POST a saját URL-edre. Header: x-chatautomata-signature: sha256=..., x-chatautomata-event: lead.captured

Események: lead.captured, booking.created, conversation.ended, message.received