Requests, types, and pagination
Request and response types, file uploads, and automatic pagination.
Resource map
Search every SDK resource and method and open the matching REST endpoint.
Errors, retries, and timeouts
Handle structured errors and configure retry and timeout behavior.
Webhooks
Verify ED25519 signatures and process webhook events.
Advanced usage
Configure language-specific logging, transport, raw responses, and custom requests.
Install
Requirements
TypeScript >= 4.9 is supported. The following runtimes are supported:- Web browsers (Up-to-date Chrome, Firefox, Safari, Edge, and more)
- Node.js 20 LTS or later (non-EOL) versions.
- Deno v1.28.0 or higher.
- Bun 1.0 or later.
- Cloudflare Workers.
- Vercel Edge Runtime.
- Jest 28 or greater with the
"node"environment ("jsdom"is not supported at this time). - Nitro v2.6 or greater.
Initialize the client and make a request
Quickstart from the current SDK source, usingTELNYX_API_KEY for authentication: