February 23, 2026

Link to API endpoints by HTTP method and path using the api: link syntax, instead of hardcoding URL slugs. Fern resolves these links to the correct endpoint URL at build time.

1[Create a payment](api:POST/v2/payments)

This works in Markdown pages, OpenAPI description fields, and Fern Definition docs fields.

Learn more about linking to API endpoints.