ApiEnvironments
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 AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
tenant*string
The tenant identifier
The environment to create
displayName?string|null
The environment's readable name (the account / end-customer name). Backs slug generation.
externalId?string|null
Optional import/sync anchor id, so a later CRM import matches this row instead of duplicating.
externalSource?string|null
Optional source the Fruxon.Model.Environments.CreateEnvironmentRequest.ExternalId came from ("restigo").
[key: string]?never
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": {},
"contactCount": 0,
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
Empty