Skip to main content

Installation

Requires Node.js 20+. Zero runtime dependencies (uses built-in fetch and crypto).

Initialize

Auth0 M2M tokens are fetched automatically and cached in memory. Tokens refresh 60 seconds before expiry to avoid interruptions.

Configuration

Environment URLs

Resources

The client exposes typed resource namespaces:

Idempotency Keys

Always use idempotency keys for create/submit operations. The SDK provides a helper:

Pagination

All list methods return PaginatedResponse<T>: