Skip to main content

POST /accounts

This endpoint creates a new user account. This is a public endpoint and does not require authentication.
For most use cases, users should sign up through the web application at app.llmgenerator.com. This endpoint is primarily for programmatic account creation.

Request Body

email
string
required
The user’s email address. Must be unique.
firstName
string
required
The user’s first name (1-50 characters).
lastName
string
The user’s last name (max 50 characters).
company
string
The name of the user’s company (max 100 characters).

Response

success
boolean
Whether the account was created successfully.
message
string
A status message.
account
object
The created account details.
apiKey
string
The initial API key for the account. Save this securely.
curl -X POST https://api.llmgenerator.com/api/v1/accounts \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "Acme Inc"
  }'
{
  "success": true,
  "message": "Account created successfully",
  "account": {
    "id": "user_abc123def456",
    "email": "[email protected]",
    "firstName": "Jane",
    "lastName": "Doe",
    "company": "Acme Inc",
    "plan": "free",
    "createdAt": "2026-01-27T10:00:00.000Z"
  },
  "apiKey": "llm_1706345678_initialkeyabc123"
}