Skip to content

POST /auth/register

Register a new free-tier account with just an email address. Returns the API key immediately and sends a copy to the provided email.

POST https://og-engine.com/auth/register

Authentication: Not required

FieldTypeRequiredDescription
emailstringYesYour email address
Terminal window
curl -X POST https://og-engine.com/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com"}'
{
"apiKey": "oge_sk_a1b2c3d4e5f6...",
"plan": "free",
"limit": 500,
"message": "API key also sent to you@example.com"
}
FieldTypeDescription
apiKeystringYour new API key (prefix oge_sk_)
planstringAlways "free" for new registrations
limitnumberMonthly render quota (500 for free plan)
messagestringConfirmation that the key was also emailed

The API key is returned immediately in the response AND sent to the provided email address. The email includes the key, a curl example, and a link to the documentation.

If the email is already registered, the existing API key is returned (not a new one). This is idempotent — calling register twice with the same email produces the same result.

StatusCodeCause
400missing_fieldemail not provided
400invalid_requestemail is not a valid email address