APIs and webhooks · sources checked 10 August 2026

Compare live-chat APIs and webhooks reliably

An API tick does not prove the endpoint you need or complete, secure and repeatable event delivery.

Fact-checked: 14 Verified sources

Four surfaces

API, webhook, widget SDK and workflow are different contracts

Start with one business transaction: create a CRM contact, write back ticket status or archive a message with evidence. Name sender, receiver, trigger, fields, latency, failure path and system of record.

The phrase API-ready is insufficient. Require base URL, version, authentication, scopes, endpoints, event catalogue, sample payloads, pagination, rate limits, changelog, deprecation notice and support model for your exact case.

Integration surfaces and purpose
SurfaceTypical purposeNot automatically included
Product APIread or write records and invoke actionsreal-time events or user interface
Webhooknotify an endpoint about selected eventsarbitrary queries, full history or exactly-once delivery
Widget SDKcontrol browser behaviour, identity, presentation or trackingserver-side agent, export or compliance API
Power Platformorchestrate Teams, connectors and target systems in a flowa general native product API or ready connector for every CRM

Sources: 4, 6, 10, 3

Evidence matrix

What official sources actually establish

Documented scope on 10 August 2026
ProductDocumentedBoundary before purchase
WebChatchannel keyword, Teams connector, Power Automate and optional target systemsno general product API, webhook surface or widget SDK established in reviewed public sources
ChatwootApplication, Client and Platform APIs; selectable account webhooks with HMAC signaturestest token permissions, API class, Cloud/self-hosted boundary and delivery semantics by release
TidioOpenAPI, Widget SDK and signed webhooks with topics, version and webhook IDwebhooks documented for Plus/Premium and owner/admin; API-originated changes do not emit webhooks
LiveChatAgent and Customer Chat APIs, Web/RTM, registered webhooks and granular scopesaccept app, OAuth/PAT, roles, filters, plan and version in the target account

Sources: 1, 2, 3, 4, 5, 6, 7, 8, 10, 12

Operations

At-least-once requires idempotency and reconciliation

Tidio explicitly documents possible duplicates, no guaranteed order, a unique webhook ID and that OpenAPI changes do not trigger webhooks. LiveChat describes a short acknowledgement window and limited retries. Chatwoot documents signature, timestamp and delivery headers, while your proof of concept must establish the retry and ordering behaviour of the release you will run.

Green HTTP codes are not an audit. Measure received, verified, deduplicated, processed, failed and reconciled events separately and correlate them with a business object ID.

  • Acknowledge webhook requests quickly with 2xx, then process the payload asynchronously through a queue.
  • Verify signatures over the unchanged raw body, timestamp and accepted time window; rotate secrets deliberately.
  • Use delivery, webhook or event ID for deduplication and make every side effect safe to retry.
  • Order by business event time and stable identifier; arrival order must not drive state transitions.
  • Quarantine dead-letter cases, alert an owner and provide controlled replay.
  • Reconcile regularly through an API because events may be delayed, duplicated, filtered or never emitted.
  • Version payload schemas and consumers; tolerate unknown fields, reject missing required fields and monitor deprecations.

Sources: 5, 8, 9, 11

Security and privacy

Minimise tokens, payloads and write-back rights

A valid webhook signature proves origin and integrity under the shared secret. It does not prove the sender was authorised for the business action or that your receiver may execute it.

For a Teams and Power Platform route, include flow owner, connections, DLP policy, environments, connector licensing and the visitor return path in the same control model.

  • Separate test and production, outgoing webhook secrets, API tokens and interactive user identities.
  • Grant only required read/write scopes; global chat, contact or admin access needs explicit justification.
  • Map names, email, phone, message text, attachments, IP/browser data and internal notes in the data-flow register.
  • Encrypt queue, logs, replay store and secrets; mask personal content in telemetry.
  • Protect write-backs with state validation, allowlists, approval for risky actions and an audit log.
  • Define retention, access and deletion for event copies, error queues, exports and backups too.

Sources: 5, 8, 12, 13, 14

Acceptance

Eight tests before choosing the integration

  1. 01

    Freeze the contract

    Record use case, system of record, API version, endpoints, events, fields and expected latency.

  2. 02

    Deny access

    Expired, wrong and under-scoped tokens plus a foreign account must fail safely.

  3. 03

    Verify signatures

    A changed body, old timestamp, wrong secret and replay must trigger no action.

  4. 04

    Send duplicates

    Deliver the same event repeatedly and concurrently; it may take business effect only once.

  5. 05

    Break ordering

    Handle update before create, delayed close and simultaneous messages deterministically.

  6. 06

    Force failures

    Exercise timeout, 500, queue stop, target failure and rate limit with retry, alert and recovery.

  7. 07

    Reconcile a gap

    Lose a webhook or create an API-originated change, then find the record through reconciliation.

  8. 08

    Prove exit

    Rotate secret, revoke app, remove webhook, export delta and delete stored event copies on schedule.

Sources: 4, 5, 9, 11, 12

FAQ

Frequently asked questions

Does WebChat have a public API?

The reviewed public sources establish a specific Teams and Power Platform workflow, not a general standalone WebChat product API. Request endpoints, authentication, versions and support in writing and test them.

Is a webhook a real-time guarantee?

No. Depending on the contract, webhooks may be delayed, duplicated, unordered or abandoned after limited retries. The receiver needs a queue, idempotency, alerts and API reconciliation.

Which matters more, API or webhook?

Reliable synchronisation often needs both: webhooks announce change and an API reads current state and closes gaps. The business transaction determines the right combination.

Is an HMAC signature enough security?

No. Also protect and rotate secrets, reject stale replay, minimise scopes, validate input, authorise write-backs, govern personal data and retain audit evidence.

Verified sources

Sources and review date

  1. 01
    WebChat für Microsoft Teams

    inwebco GmbH · Fact-checked:

    Open source
    verified
  2. 02
    AI - WebChat for Microsoft Teams

    inwebco GmbH · Fact-checked:

    Open source
    verified
  3. 03
    Setting Up WebChat: The Complete Guide for Microsoft Teams

    inwebco GmbH · Fact-checked:

    Open source
    verified
  4. 04
    Introduction to Chatwoot APIs

    Chatwoot · Fact-checked:

    Open source
    verified
  5. 05
    How to use webhooks?

    Chatwoot · Fact-checked:

    Open source
    verified
  6. 06
    Tidio API

    Tidio · Fact-checked:

    Open source
    verified
  7. 07
    Webhooks - Getting started

    Tidio · Fact-checked:

    Open source
    verified
  8. 08
    Webhooks - Structure

    Tidio · Fact-checked:

    Open source
    verified
  9. 09
    Webhooks - Delivering

    Tidio · Fact-checked:

    Open source
    verified
  10. 10
    Messaging API Overview

    Text, Inc. · Fact-checked:

    Open source
    verified
  11. 11
    Building LiveChat apps

    Text, Inc. · Fact-checked:

    Open source
    verified
  12. 12
    Scopes

    Text, Inc. · Fact-checked:

    Open source
    verified
  13. 13
    Data policies - Power Platform

    Microsoft · Fact-checked:

    Open source
    verified
  14. 14
    Power Automate licensing FAQ

    Microsoft · Fact-checked:

    Open source
    verified