> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/dev-guide/developer-guide-en/dev-start/markdown/rest-api-communication.md).

# REST API Communication

This guide explains Spring REST API communication in X2BEE.

Spring support evolved from `RestTemplate` to `WebClient` and HTTP Interface. X2BEE uses `RestApiInterface` to manage endpoint configuration with `baseUrl`, `defaultPath`, timeout settings, `enableTokenAuth`, and `useMemberToken`.

`RestApiUtil` simplifies internal REST calls and returns `Response`. Preserve the source annotations, endpoint paths, `ResponseEntity`, `Mono`, `TypeReference`, `RequestOptions`, and TypeScript helper identifiers in implementations.
