Create instance.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/entity/example/instances"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"OperationKey\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"EntityDefinitionKey\": \"example\", \"Values\": { \"additionalProperty\": \"example\" }, \"ResponsibilityCandidates\": [ { \"ResponsibilityKey\": \"example\", \"Subjects\": [ { \"SubjectType\": \"example\", \"SubjectId\": \"example\", \"EffectiveFrom\": \"2026-04-15T12:00:00Z\", \"EffectiveTo\": \"2026-04-15T12:00:00Z\" } ] } ], \"ExpectedDefinitionRowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/entity/example/instances';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"OperationKey":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","EntityDefinitionKey":"example","Values":{"additionalProperty":"example"},"ResponsibilityCandidates":[{"ResponsibilityKey":"example","Subjects":[{"SubjectType":"example","SubjectId":"example","EffectiveFrom":"2026-04-15T12:00:00Z","EffectiveTo":"2026-04-15T12:00:00Z"}]}],"ExpectedDefinitionRowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/entity/example/instances \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "Values": { "additionalProperty": "example" }, "ResponsibilityCandidates": [ { "ResponsibilityKey": "example", "Subjects": [ { "SubjectType": "example", "SubjectId": "example", "EffectiveFrom": "2026-04-15T12:00:00Z", "EffectiveTo": "2026-04-15T12:00:00Z" } ] } ], "ExpectedDefinitionRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'The current Entity Security configuration must allow Create, every caller-supplied field must allow
CreateWrite, every caller-proposed responsibility must match a StageOnCreate assignment rule,
and the complete staged record must remain visible. Any denial rolls the entire create back.
A successful response always has Data.Kind = "AuthorizedEntityDetail"; the created identity
and concurrency token are Data.Data.EntityInstanceId and Data.Data.RowVersion.
This endpoint never returns the safe "Receipt" variant.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Entity definition identifier or normalized entity key.
Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Bodyrequired
Section titled “Request Bodyrequired”Dynamic instance payload.
Creates one Entity record through the governed application-automation boundary.
object
Caller-generated UUID that identifies one logical create and must be reused only for an exact retry.
Entity definition identifier or normalized key matched by the route.
Caller-supplied primary field values keyed by stable field key.
object
StageOnCreate responsibility candidates; pass an empty list when none are proposed.
Groups caller-proposed initial subjects under one stable responsibility key.
object
object
Latest Entity Definition row version used as the schema concurrency token.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "Values": { "additionalProperty": "example" }, "ResponsibilityCandidates": [ { "ResponsibilityKey": "example", "Subjects": [ { "SubjectType": "example", "SubjectId": "example", "EffectiveFrom": "2026-04-15T12:00:00Z", "EffectiveTo": "2026-04-15T12:00:00Z" } ] } ], "ExpectedDefinitionRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Creates one Entity record through the governed application-automation boundary.
object
Caller-generated UUID that identifies one logical create and must be reused only for an exact retry.
Entity definition identifier or normalized key matched by the route.
Caller-supplied primary field values keyed by stable field key.
object
StageOnCreate responsibility candidates; pass an empty list when none are proposed.
Groups caller-proposed initial subjects under one stable responsibility key.
object
object
Latest Entity Definition row version used as the schema concurrency token.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "Values": { "additionalProperty": "example" }, "ResponsibilityCandidates": [ { "ResponsibilityKey": "example", "Subjects": [ { "SubjectType": "example", "SubjectId": "example", "EffectiveFrom": "2026-04-15T12:00:00Z", "EffectiveTo": "2026-04-15T12:00:00Z" } ] } ], "ExpectedDefinitionRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Creates one Entity record through the governed application-automation boundary.
object
Caller-generated UUID that identifies one logical create and must be reused only for an exact retry.
Entity definition identifier or normalized key matched by the route.
Caller-supplied primary field values keyed by stable field key.
object
StageOnCreate responsibility candidates; pass an empty list when none are proposed.
Groups caller-proposed initial subjects under one stable responsibility key.
object
object
Latest Entity Definition row version used as the schema concurrency token.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "Values": { "additionalProperty": "example" }, "ResponsibilityCandidates": [ { "ResponsibilityKey": "example", "Subjects": [ { "SubjectType": "example", "SubjectId": "example", "EffectiveFrom": "2026-04-15T12:00:00Z", "EffectiveTo": "2026-04-15T12:00:00Z" } ] } ], "ExpectedDefinitionRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “Responses”Created
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Not Found
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Service Unavailable
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}