Skip to main content

POST /accounts

This endpoint creates a new user account. This is a public endpoint for sign-ups and does not require authentication.

Request Body

email
string
required
The user’s email address. Must be unique.
firstName
string
required
The user’s first name.
lastName
string
The user’s last name.
company
string
The name of the user’s company.

Response

account
object
An object containing the newly created account’s information.
id
string
The unique identifier for the account.
userId
string
The ID of the user associated with this account.
status
string
The status of the newly created account, e.g., “active” or “pending_verification”.
verificationRequired
boolean
Indicates if email verification is required.
curl -X POST https://api.llmgenerator.com/api/v1/accounts \
  -H "Content-Type: application/json" \
  -d '{
        "email": "[email protected]",
        "firstName": "Jane",
        "lastName": "Doe",
        "company": "NewCo"
      }'
{
  "account": {
    "id": "acct_xxxxxxxxxxxx",
    "userId": "user_xxxxxxxxxxxx"
  },
  "status": "active",
  "verificationRequired": false
}