Profile API
The Profile API provides standardized endpoints for managing user profiles, builder profiles, and related data with full type safety and consistent response formats.Core Features
- Standardized Responses: All endpoints follow the
StandardApiResponsepattern - Type Safety: Full TypeScript interfaces for all requests and responses
- Authentication Integration: Built-in permission handling and ownership verification
- Error Handling: Comprehensive error codes and messages
- Component Compatibility: Flattened response structures for easy UI integration
Response Structure
All Profile API endpoints return the standardized response format:BuilderProfileResponse
The core profile response includes flattened user and profile data for component compatibility:API Endpoints
Get Builder Profile by ID
Retrieve a builder profile by its unique identifier
Get Builder Profile by Slug
Retrieve a builder profile by its unique slug identifier