Composition
Save style profile with custom tweets
put/styles/{id}
Path parameters
idstring required
Style profile ID or X username
Request body
Example request
{
"label": "Professional Voice",
"tweets": [
{
"text": "Excited to share our latest research findings."
}
]
}Response
Style profile saved
Example response
{
"xUsername": "elonmusk",
"tweetCount": 50,
"isOwnAccount": true,
"fetchedAt": "2025-01-15T12:00:00Z",
"tweets": [
{
"id": "1234567890",
"text": "Just launched our new feature!"
}
]
}