AI Chat Front Desk

API and webhooks

Connect your chatbot to your own app, CRM, phone system or workflow tool. The API is on the Business and Agency plans; Slack alerts work on every plan.

Authentication

Create a key under API in your dashboard and send it on every request. Keep it on your server; never put it in a web page.

Authorization: Bearer cfd_your_key

Limit: 120 requests a minute per account. Errors come back as JSON {"error": "..."} with a normal HTTP status (401 bad key, 403 plan, 404 not found, 429 slow down).

Endpoints

Base address: https://aichatfrontdesk.com/api/v1. :bot is the chatbot id from your install code (data-bot="...").

Example: ask a question

curl -X POST https://aichatfrontdesk.com/api/v1/bots/BOT_ID/chat   -H "Authorization: Bearer cfd_your_key"   -H "Content-Type: application/json"   -d '{"message":"Are you open Saturday?"}'

{"conversation_id":"3f9a...","reply":"Yes, 8am to 2pm on Saturdays...","action":"none","sources":[{"title":"Hours","url":"https://..."}],"answered_by":"ai","limited":false}

Pass the conversation_id back to continue the same conversation. Each AI answer counts as one reply on your plan, exactly like the website chat. If your replies run out, limited is true and the reply asks for contact details instead.

Webhooks (Zapier, Make, n8n, your CRM)

Paste any https address under Settings › Slack, Zapier and webhooks. Every new lead, appointment request and "talk to a person" is sent the moment it comes in:

POST your-address
Content-Type: application/json
X-Webhook-Timestamp: 1792512000
X-Webhook-Signature: sha256=HMAC_SHA256(secret, timestamp + "." + body)

{"event":"lead.created","created_at":"2026-10-20T15:04:05.000Z",
 "chatbot":{"id":"BOT_ID","name":"Bluebonnet Ridge Plumbing","website":"https://example.com"},
 "lead":{"id":"42","type":"booking","name":"Maria Gonzalez","phone":"+15125550199","email":"","wants":"Thursday morning","message":"Water heater leaking"},
 "conversation_url":"https://aichatfrontdesk.com/app/conversations/...","page_url":"https://example.com/water-heaters"}

type is one of lead, booking, handoff, text, call. Your signing secret is shown next to the webhook box. In Zapier choose Webhooks by Zapier › Catch Hook, paste its address, then click Send a test lead.

Slack

Create an incoming webhook in Slack (Apps › Incoming Webhooks › Add to a channel) and paste it in Settings. Each lead posts a short message with a link to the conversation.

Start free trial Plans