1. Home
  2. Docs

Pong Chat developer docs

Everything you need to put Pong Chat on a site and connect it to your own systems.

Pong Chat has two halves you can program against:

  • In the browser — pong.js, a small loader that adds the chat to your page. You talk to it through one function, Pong(...): open or hide the chat, pass user data, listen to events.
  • On your server — a REST API to read clients and their messages and to send messages as an agent, and webhooks that post every new message to your endpoint, signed with HMAC-SHA256. Both are part of the Premium plan.

Keys

All keys are in the desk under Settings → API keys (admins only).

KeyWhere it goesSecret?
Public keyIn the widget’s script address, js.pong.ee/<key>; the user part of REST authNo — it is in your page source
REST secretThe password part of REST authYes — server only
Identity secretSigns verified user identityYes — server only
Webhook secretVerifies the X-Pong-Signature headerYes — server only

Secrets are shown once when you generate them. Regenerating one invalidates the old value immediately.

Hosts

HostWhat
js.pong.eeThe loader, at js.pong.ee/<your key> (older snippets: call.pong.ee/pong.js)
chat.pong.eeThe widget iframe and its WebSocket
app.pong.eeThe agent desk and the REST API (/api/…)
files.pong.eeUploaded files and images (unguessable URLs)

Where to go next

Install the widget →