API Overview

The Fern API allows you to manage SDKs and code snippets using Fern’s public RESTful API. API access is available on paid plans. Reach out to get started.

Accessing the Fern API

Fern maintains official API clients for TypeScript and Python. We recommend using these clients, though the API supports any language or framework that sends HTTP requests.

Authentication

Fern API requests require a bearer token for authentication. Use the CLI command fern token to generate a bearer token. Tokens do not expire.