Skip to main content
The TypeScript SDK supports multiple authentication methods for different use cases.

Bearer Token (App-Only Auth)

For read-only operations and public data access:
quickstart.ts

OAuth 1.0a (User Context)

For legacy applications or specific use cases:
oauth1.ts

OAuth 2.0 (User Context)

For user-specific operations:
oauth2.ts

Environment Variables

Store sensitive credentials in environment variables:
env.ts
For detailed code examples using the Javascript/TypeScript XDK, check out our code samples GitHub repo.