Start enterprise trial

Start enterprise trial

Create an enterprise trial for the current user. Users can only go through a trial once.

POSThttps://studio.edgeimpulse.com/v1/api/user/trial
Body
emailstring

Email of the user requesting the trial. If this email is different to the one stored for the user requesting the trial, it will be used to replace the existing one.

Example: "fred@flintstones.org"
organizationNamestring

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.

Example: "My Company"
expirationDateTrialExpirationDate (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.

Example: "2020-01-01T00:00:00Z"
notesTrialNotes (string)

Notes about the trial. Free form text. This field is ignored if the trial is requested by a non-admin user.

Example: "This is a trial for the company's new project."
useCasestring

Use case of the trial.

Example: "Industrial"
userHasMLModelsInProductionenum

Whether the user has ML models in production.

Example: "no"
yesnono, but we will soon
companyNamestring

Name of the company requesting the trial.

Example: "ACME Inc."
companySizestring

Size of the company requesting the trial. This is a range of number of employees.

Example: "1-10"
countrystring

Country of the company requesting the trial.

Example: "United States"
stateOrProvincestring

State or province of the company requesting the trial.

Example: "California"
redirectUrlOriginstring

Origin of the redirect URL returned as result of creating the trial user.

Example: "https://studio.edgeimpulse.com"
redirectUrlQueryParamsstring

Query parameters to be appended to the redirect URL returned as result of creating the trial user.

Example: "utm_source=google&utm_medium=cpc&utm_campaign=trial"
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

idnullable integer

Unique identifier of the created entity, if any.

userIdinteger

ID of the user created for the trial, if the user did not already exist.

redirectUrlstring

URL to redirect the user to in order to access the enterprise trial.

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/user/trial', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "redirectUrl": "text"
}

Last updated