Create an environment
Creates a Curated environment from a display name. The slug is generated (never supplied) and unique per tenant; an optional external id/source lets a later CRM import match this row.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The tenant identifier
The environment to create
The environment's readable name (the account / end-customer name). Backs slug generation.
Optional import/sync anchor id, so a later CRM import matches this row instead of duplicating.
Optional source the Fruxon.Model.Environments.CreateEnvironmentRequest.ExternalId came from ("restigo").
Optional rollup group this account belongs to — the chain / holding / district above it; blank means standalone. A group is a label, not an entity: it never routes and never authorizes.
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/environments" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"slug": "string",
"displayName": "string",
"description": "string",
"agentContext": "string",
"logoFileId": "string",
"isSystem": false,
"externalId": "string",
"externalSource": "string",
"provenance": "CURATED",
"attributes": {},
"group": "string",
"contactCount": 0,
"enrolledContactCount": 0,
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}