Skip to main content
UponAI provides official SDKs for Node.js and Python. While you can use the REST API directly, the SDKs offer:
  • Type safety — full TypeScript support with autocomplete
  • Simplified authentication — built-in API key handling
  • Error handling — structured error responses with detailed messages
  • Reduced boilerplate — cleaner, more maintainable code

Available SDKs

Node.js / TypeScript

Package: retell-sdk on NPMRequirements: Node.js 18.10.0 or higherFeatures: Full TypeScript support, async/await, promise-based API

Python

Package: retell-sdk on PyPIRequirements: Python 3.7 or higherFeatures: Type hints, async support, comprehensive error handling

Setup

1

Get your API key

Navigate to the API Keys tab in your dashboard to obtain your API key.
2

Install the SDK

3

Initialize the client

4

Make your first API call

SDK vs REST API

Best Practices

Error handling — always wrap SDK calls in try/catch:
Environment variables — never hardcode API keys:
TypeScript types — use provided types for autocomplete: