curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/user/trial \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"email": "fred@flintstones.org",
"name": "Fred Flintstone",
"organizationName": "My Company",
"expirationDate": "2020-01-01T00:00:00Z",
"notes": "This is a trial for the company'\''s new project.",
"useCase": "Industrial",
"userHasMLModelsInProduction": "no",
"companyName": "ACME Inc.",
"companySize": "1-10",
"country": "United States",
"stateOrProvince": "California",
"redirectUrlOrigin": "https://studio.edgeimpulse.com",
"redirectUrlQueryParams": "utm_source=google&utm_medium=cpc&utm_campaign=trial"
}'
{
"success": true,
"error": "<string>",
"id": 123,
"userId": 123,
"redirectUrl": "<string>"
}
Create an enterprise trial for the current user. Users can only go through a trial once.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/user/trial \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"email": "fred@flintstones.org",
"name": "Fred Flintstone",
"organizationName": "My Company",
"expirationDate": "2020-01-01T00:00:00Z",
"notes": "This is a trial for the company'\''s new project.",
"useCase": "Industrial",
"userHasMLModelsInProduction": "no",
"companyName": "ACME Inc.",
"companySize": "1-10",
"country": "United States",
"stateOrProvince": "California",
"redirectUrlOrigin": "https://studio.edgeimpulse.com",
"redirectUrlQueryParams": "utm_source=google&utm_medium=cpc&utm_campaign=trial"
}'
{
"success": true,
"error": "<string>",
"id": 123,
"userId": 123,
"redirectUrl": "<string>"
}
OK
The response is of type object
.