> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.usebridge.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.usebridge.com/_mcp/server.

# API Client

Bridge provides official API clients for **TypeScript**, **Python**, and **Ruby**. The SDKs are generated from our API specification and offer typed or idiomatic methods, automatic authentication, and consistent error handling.

Choose the guide for your stack:

#### [TypeScript](/documentation/getting-started/api-client/typescript)

npm package `@usebridge/api` — Node.js and browser-friendly client with full TypeScript types.

#### [Python](/documentation/getting-started/api-client/python)

PyPI package `usebridge-api` — Python client with type hints and Pydantic models.

#### [Ruby](/documentation/getting-started/api-client/ruby)

RubyGem `usebridge-api` — idiomatic Ruby client with generated resources and models.

## Shared capabilities

All clients support:

* **Authentication**: API key configuration with automatic token handling
* **Environments**: Production and Sandbox for each client
* **Generated resources**: Patients, policies, eligibility, and other Bridge API resources
* **Validation**: Request and response validation aligned with the API specification

## Resources

#### [API Reference](/api)

#### [Testing Guide](/api/resources/testing)