POST /accounts
新しいユーザーアカウントを作成します。公開エンドポイントであり、認証は不要です。
リクエストボディ
ユーザーのメールアドレス。一意である必要があります。
レスポンス
作成されたアカウントの詳細。
アカウント作成日時の ISO 8601 タイムスタンプ。
アカウント用の初期 API キー。安全に保管してください。
curl -X POST https://api.llmgenerator.com/api/v1/accounts \
-H "Content-Type: application/json" \
-d '{
"email": "user@example.com",
"firstName": "Jane",
"lastName": "Doe",
"company": "Acme Inc"
}'
{
"success": true,
"message": "Account created successfully",
"account": {
"id": "user_abc123def456",
"email": "user@example.com",
"firstName": "Jane",
"lastName": "Doe",
"company": "Acme Inc",
"plan": "free",
"createdAt": "2026-01-27T10:00:00.000Z"
},
"apiKey": "llm_1706345678_initialkeyabc123"
}