PHP

A single dependency-free class for PHP 8.1+ (needs only ext-curl).

Install

Send a message

Stream the reply

Pagination

Identity tokens

Sign a token on your server so the widget or app knows who the user is — see Identity verification.

Errors and retries

Every SDK retries 429 responses (honouring Retry-After) and — for GET, PUT, DELETE — transient 5xx and network errors, twice by default with exponential back-off. POST is never retried on a server error.

Without Composer

Options