createClientFromRequest(Creates a Base44 client from an HTTP request. The client is created by automatically extracting authentication tokens from a request to a backend function. Base44 inserts the necessary headers when forwarding requests to backend functions. To learn more about the Base44 client, seerequest):Base44Client
createClient().
Parameters
The incoming HTTP request object containing Base44 authentication headers.
Returns
Base44Client
The Base44 client instance.
Provides access to all SDK modules for interacting with the app.
A configured Base44 client instance with authentication from the incoming request.
Properties
Properties
Entities module for CRUD operations on your data models.
Integrations module for calling pre-built integration endpoints.
Auth module for user authentication and management.
Functions module for invoking custom backend functions.
Agents module for managing AI agent conversations.
App logs module for tracking app usage.
Cleanup function to disconnect WebSocket connections. Call when you’re done with the client.
Provides access to supported modules with elevated permissions.Service role authentication provides elevated permissions for backend operations. Unlike user authentication, which is scoped to a specific user’s permissions, service role authentication has access to data and operations across all users.
Properties
Properties
Entities module with elevated permissions.
Integrations module with elevated permissions.
Connectors module for OAuth token retrieval.
Functions module with elevated permissions.
Agents module with elevated permissions.
App logs module with elevated permissions.
Cleanup function to disconnect WebSocket connections.

