Skip to main content
There is no SDK to install. The API is HTTP and JSON, and a working client is about fifteen lines — so here it is rather than a dependency.

Placing a call

A client worth reusing

Three things separate a snippet from something you can put in production: matching on code rather than message text, respecting Retry-After, and sending an idempotency key on anything that spends money.

Paging through usage

Every list endpoint uses the same cursor contract, so one loop covers all of them. See Pagination.

Pin a version

Behavioural changes ship behind a dated version. A key keeps the behaviour it was created with, but pinning explicitly means an upgrade is something you do rather than something that happens to you: