> This page is for SDK.

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 4.24.2

**`(fix):`** With endpoint-security auth, the client builder now registers OAuth, bearer and basic
auth providers under the auth scheme's configured key (for example `customAuthSchemeName`)
instead of a hardcoded `OAuth`/`Bearer`/`Basic`. Previously, every authenticated call
failed with "No authentication credentials provided" when the scheme key differed.

## 4.24.1

**`(fix):`** XML-encoded (TwiML) types now return their XML representation from
`toString()` instead of JSON, and `toXml()` always prepends the
`<?xml version="1.0" encoding="UTF-8"?>` declaration regardless of
whether the type is a root element. Use `toXml(false)` to omit it.

## 4.24.0

**`(feat):`** Add `addBodyProperty(String, Object)` and `bodyProperties(Map<String, Object>)` request options for sending
request body properties that are not part of the SDK yet. They are merged into JSON and form-urlencoded bodies
using the keys as given, override properties with the same key, and are sent as a JSON body for endpoints
without one. Multipart (file upload) requests are not supported.

## 4.23.3

**`(fix):`** Fix several runtime correctness issues in generated SDKs:
cursor pagers now stop when the next cursor is empty, absent, null, or an empty string;
nested offset and cursor pagination builds an omitted parent options object so the page advances;
pagination compiles with `collapse-optional-nullable: true` when the cursor is `OptionalNullable`;
`4XX`/`5XX` wildcard error responses map to their typed errors, with exact status codes taking precedence;
header auth scheme headers and credential-like global headers (for example `PLAID-CLIENT-ID`) are redacted in debug logs;
cancelling an async `CompletableFuture` cancels the underlying OkHttp call;
the README environment example uses the generated constant name (for example `Environment.PRODUCTION`);
and `reference.md` shows `LocalDate` for date parameters when `use-local-date-for-dates` is enabled.