Authentication
Theauth module provides methods for working with user authentication. The most common use case is getting information about the currently authenticated user.
Core integrations
Base44 provides built-in integrations for common tasks like working with AI, sending emails, and handling files. Access these through theintegrations.Core module.
Backend functions
Thefunctions module lets you invoke custom backend functions defined in your app. Pass any data your function needs as parameters.
Error handling
All SDK errors are instances ofBase44Error, which includes the HTTP status code and error details. Use this to handle different error scenarios gracefully.
Retry when the database is busy
When Base44’s database is under heavy load, a request can fail with status503 and the code database_unavailable. The response’s Retry-After header asks you to wait 5 seconds before you send it again, and the SDK doesn’t retry for you. Reads are safe to retry. A write might have gone through before the error, so before you retry a create, check whether the record already exists.
See more
Base44 client
Work with the client in different contexts
auth module
Complete authentication API reference
integrations module
Complete integrations API reference
functions module
Complete functions API reference