POST /accounts
This endpoint creates a new user account. This is a public endpoint for sign-ups and does not require authentication.
Request Body
The user’s email address. Must be unique.
The name of the user’s company.
Response
An object containing the newly created account’s information.The unique identifier for the account.
The ID of the user associated with this account.
The status of the newly created account, e.g., “active” or “pending_verification”.
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
}