/automation-definitionsWrite operationCreate an automation definition
Use this operation to create an automation definition. The server validates the complete payload and derives workspace ownership from the authenticated credential. Required scopes, product permissions, sharing rules, workspace locks, and regional cell ownership are enforced for every request. Use a stable Idempotency-Key when retrying so a transport timeout cannot create duplicate work.
automations:writecustom-field-values:readlists:writeprojects:readprojects:writeproject-statements:writeservices:writetasks:readtasks:writetime-entries:writePrepare this request
The builder does not execute requests or persist credentials. Replace the environment-variable placeholder only in your terminal or secret-aware runtime.
Headers
1Idempotency-KeyrequiredUnique request key retained for seven days. Within that window, reuse with different data is rejected.
Request body
application/jsondescriptionHuman-readable description of the resource.
The flow associated with this automation definition.
actionIdrequiredCanonical action id value for this automation step.
automationTaskconditioncreateDateforEachformatDatelistCreatelistEditlooploopBreakloopContinueprojectCreateprojectEditprojectStatementCreateprojectStatementEditserviceCreateserviceEditsetAutomationStatussetVariablestopCurrentAutomationtaskCreatetaskEdittimeentryCreatetimeentryEditwaitForwaitForCustomFieldChangewaitForProjectChangewaitForTaskChangewaitForTaskCompletionwaitUntilThe branches associated with this automation step.
flowrequiredThe flow associated with this automation branch.
keyrequiredStable machine-readable key.
The config associated with this automation step.
keyrequiredStable machine-readable key.
valuerequiredCanonical value represented by this field.
The input associated with this automation step.
keyrequiredStable machine-readable key.
valuerequiredCanonical value represented by this field.
The output associated with this automation step.
keyrequiredStable machine-readable key.
valuerequiredCanonical value represented by this field.
namerequiredHuman-readable name of the resource.
The trigger associated with this automation definition.
Response data for the completed request.
typerequiredCanonical type discriminator for this resource.
projectstaskseventrequiredCanonical TeamGrid event name.
changecreateResponses
8201The request to create an automation definition created the resource. The response contains its canonical public representation and request metadata.application/json
application/jsonPublic API representation of automation definition.
The attributes associated with this automation definition.
archivedrequiredWhether this resource is archived.
createdAtTimestamp at which the resource was created.
descriptionrequiredHuman-readable description of the resource.
editablerequiredWhether editable applies to this automation definition attributes.
The flow associated with this automation definition attributes.
actionIdrequiredThe action id associated with this automation step.
The branches associated with this automation step.
flowrequiredThe flow associated with this automation branch.
keyrequiredStable machine-readable key.
The config associated with this automation step.
keyrequiredStable machine-readable key.
redactedWhether redacted applies to this automation step config.
valueCanonical value represented by this field.
The input associated with this automation step.
keyrequiredStable machine-readable key.
redactedWhether redacted applies to this automation step.
valueCanonical value represented by this field.
The output associated with this automation step.
keyrequiredStable machine-readable key.
redactedWhether redacted applies to this automation step output.
valueCanonical value represented by this field.
restrictedWhether restricted applies to this automation step.
namerequiredHuman-readable name of the resource.
replayedWhether replayed applies to this automation definition attributes.
revisionrequiredStrong resource revision used for optimistic concurrency control.
The trigger associated with this automation definition attributes.
Response data for the completed request.
typerequiredCanonical type discriminator for this resource.
projectstaskseventCanonical TeamGrid event name.
changecreaterestrictedWhether restricted applies to this automation definition attributes trigger.
updatedAtTimestamp of the most recent successful update.
idrequiredStable TeamGrid identifier for this resource.
typerequiredCanonical type discriminator for this resource.
Public API representation of meta.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
400The request is invalid.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
401The bearer credential is missing, invalid, expired, or revoked.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
403The credential has insufficient scope.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
409The request conflicts with the current resource state.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
429The credential or source exceeded its rate limit.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
502The cell-local application returned an invalid response.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
503A required cell-local dependency is unavailable.application/json
application/jsonThe errors associated with this error.
coderequiredStable machine-readable code for programmatic error or state handling.
detailrequiredThe detail associated with this api error.
sourceThe source associated with this api error.
statusrequiredCanonical status of the resource or operation.
titlerequiredHuman-readable title of the resource.
Request metadata, including the request identifier and pagination state when applicable.
requestIdrequiredUnique identifier assigned to the API request for tracing and support.
Thank you. The rating contains no account or customer data.