Create a new sender profile.
Creates a new sender profile for the authenticated user. The profile will be scoped to the user and can only be accessed by them.
Maximum of 5 profiles allowed per user.
The sender_data can contain ANY fields - there is no predefined schema. Common fields might include full_name, company, role, etc., but you can include any fields your use case requires.
Args: profile_data: The sender profile data current_user: Authenticated user information settings: Application settings
Returns: The created sender profile with generated ID
Raises: HTTPException: If profile creation fails or limit exceeded
Documentation Index
Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for creating a sender profile.
User-friendly name for this profile
1 - 100The sender data as a dictionary with any fields
Optional description of when/how to use this profile
500Whether this should be the default profile
Successful Response
Sender profile model for storing reusable sender configurations.
This model stores a named profile containing DynamicSenderData, which can have ANY arbitrary fields. There is no predefined schema for the sender data.
Examples of valid sender data:
User ID who owns this profile
User-friendly name for this profile (e.g., 'Sales Team Profile', 'Personal Brand')
1 - 100The actual sender data with arbitrary fields
Unique profile identifier
Optional description of when/how to use this profile
500Profile creation timestamp
Last update timestamp
Number of times this profile has been used
Whether this is the default profile