Skip to content
masterclass Buddy

Redux Toolkit · Function

buildCreateApi

createApi defines RTK Query endpoints and returns an API slice. The slice manages data fetching and caching, and the React version can generate hooks.

Last updated

Syntax

createApi(options)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • createBaseApi
  • buildCreateApi
  • coreModule
  • reactHooksModule
  • fetchBaseQuery
  • endpoints
  • API slice
  • automatic tag invalidation

Source: createApi | Redux API: createApi reference. Checked 2026-11-03.