Skip to main content

PUT /accounts/profile

This endpoint allows a user to update their profile information.

Request Body

firstName
string
The user’s new first name (1-50 characters).
lastName
string
The user’s new last name (1-50 characters).
company
string
The user’s new company name (max 100 characters).

Response

success
boolean
Whether the update was successful.
message
string
A status message.
account
object
The updated account details.
curl -X PUT https://api.llmgenerator.com/api/v1/accounts/profile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Jane",
    "company": "New Company Inc"
  }'
{
  "success": true,
  "message": "Profile updated successfully",
  "account": {
    "id": "user_abc123def456",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "New Company Inc",
    "updatedAt": "2026-01-27T10:00:00.000Z"
  }
}