Skip to main content

Create Free Trial

POST 

/api/billing/free_trial

Create a free trial account without payment.

This endpoint validates email uniqueness and creates a new user/tenant with the DEFAULT_TRIAL_PACKAGE_ID from configuration.

Args: lead_id: Optional lead ID for upsell scenario or existing user lookup (query param or payload)

Returns:

  • 200: Account created successfully with auto-login URL
  • 422: Validation error (email already exists)
  • 400: Business logic error (configuration issue, etc.)

Request

Responses

Successful Response