---
title: "Create enterprise trial user"
method: POST
path: "/api-user-create-enterprise-trial"
tags: ["User"]
---

# Create enterprise trial user

`POST /api-user-create-enterprise-trial`

## Request

- Base URL: `https://studio.edgeimpulse.com/v1`
- URL: `https://studio.edgeimpulse.com/v1/api-user-create-enterprise-trial`
- Auth: none required
- TypeScript: <https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/docs/api-user-create-enterprise-trial/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates an enterprise trial user and a new trial organization, and redirects the user to the new organization. This API is internal (it requires some signed fields), sign up at https://studio.edgeimpulse.com/signup instead.

## Request body

- CreateEnterpriseTrialUserRequest
  - `email` string, required: Email of the user. Only business email addresses are allowed. Emails with free domains like gmail.com or yahoo.com are not allowed.
  - `name` string, required: Name of the user.
  - `organizationName` string: Name of the trial organization. All enterprise features are tied to an organization. This organization will be deleted after the trial ends. If no organization name is provided, the user's name will be used.
  - `expirationDate` string, date-time: Expiration date of the trial. The trial will be set as expired after this date. There will be a grace period of 30 days after a trial expires before fully deleting the trial organization. This field is ignored if the trial is requested by a non-admin user, defaulting to 14 days trial.
  - `notes` string: Notes about the trial. Free form text. This field is ignored if the trial is requested by a non-admin user.
  - `useCase` string: Use case of the trial.
  - `userHasMLModelsInProduction` 'yes' | 'no' | 'no, but we will soon': Whether the user has ML models in production.
  - `companyName` string: Name of the company requesting the trial.
  - `companySize` string: Size of the company requesting the trial. This is a range of number of employees.
  - `country` string: Country of the company requesting the trial.
  - `stateOrProvince` string: State or province of the company requesting the trial.
  - `redirectUrlOrigin` string: Origin of the redirect URL returned as result of creating the trial user.
  - `redirectUrlQueryParams` string: Query parameters to be appended to the redirect URL returned as result of creating the trial user.
  - `username` string, required: Username, minimum 4 and maximum 30 characters. May contain alphanumeric characters, hyphens, underscores and dots. Validated according to `^(?=.{4,30}$)(?![_.])(?!.*[_.]{2})[a-zA-Z0-9._-]+(?<![_.])$`.
  - `privacyPolicy` boolean, required: Whether the user has accepted the terms of service and privacy policy.
  - `password` string: Password of the user. Minimum length 8 characters.
  - `jobTitle` string: Job title of the user.
  - `utmParams` UtmParameter[]: List of UTM parameters.
  - `turnstileResponse` string, required: CloudFlare Turnstile response token

## Response `200`

OK

- CreateEnterpriseTrialResponse
  - `success` boolean, required: Whether the operation succeeded
  - `error` string: Optional error description (set if 'success' was false)
  - `id` integer, required: Unique identifier of the created entity.
  - `userId` integer: ID of the user created for the trial, if the user did not already exist.
  - `redirectUrl` string, required: URL to redirect the user to in order to access the enterprise trial.

---

[API](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api.md) - [All operations](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/revisions/e2a976d38427?raw)
