Java
Java 8+ library with no dependencies — it works on Android too. All methods block, so call them off the main thread.
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.