Allows users to customize their auto-generated bio or provide manual overrides for specific sections.
curl -X PATCH 'https://api.memchat.io/profile/bio' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"bio": "A passionate software engineer specializing in AI applications for healthcare...",
"format": "full",
"style": "professional"
}'
Request Body
Custom biographical text to replace auto-generated content
Format for the bio. Options: full
, short
, bullets
, professional
Writing style for auto-generation. Options: narrative
, factual
, casual
, formal
Whether to regenerate the bio using updated parameters
Whether this is a manual override (prevents auto-regeneration)
Specific categories to include in bio generation
Categories to exclude from bio generation
Response
Updated biographical text
Number of words in the updated bio
Number of characters in the updated bio
Whether this is a manual override
ISO 8601 timestamp when bio was updated
{
"bio": "A passionate software engineer specializing in AI applications for healthcare, currently working at an innovative tech startup in San Francisco. With expertise in Python and machine learning, I collaborate with medical professionals to develop solutions that improve patient outcomes.",
"format": "professional",
"style": "formal",
"word_count": 38,
"character_count": 253,
"is_manual": true,
"updated_at": "2024-01-15T16:45:00Z"
}
Error Responses
Invalid request data{
"error": "Bio text too long",
"code": "BIO_TOO_LONG",
"max_length": 500,
"current_length": 650
}
Unauthorized access{
"error": "Invalid or expired API key",
"code": "UNAUTHORIZED"
}