Create Sender Profile
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
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
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
Response
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:
- {"full_name": "John", "company": "TechCorp", "role": "Sales"}
- {"sender_name": "Jane", "brand": "AI Solutions", "linkedin": "jane-doe"}
- {"name": "Bob", "agency": "Marketing Pro", "phone": "+1234", "timezone": "EST"}
- Any other combination of fields the user needs
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