Skip to main content
POST
Create RecordCreationWorkflow
A business-scoped record creation workflow with draft and published versions.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the RecordCreationWorkflow-Create role.

Enums

Request Body

Required Fields

integer
required
ID of the business that owns this workflow.
string
required
Display name of the workflow.
string
required
Domain of the entity created by this workflow.
string
required
Type of entity created by this workflow.
integer
required
Current lifecycle status of the workflow.
integer
required
How this workflow was originally created.
integer
required
User who created the workflow.
integer
required
User who last updated the workflow.

Optional Fields

string
Optional description of the workflow.
string
Stable key of the source template.
string
Revision of the source template when copied.
boolean
Whether this is the default published workflow for its entity.
integer
Current mutable draft version.
integer
Current immutable published version.

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the creation.
object
Contains the Id of the newly created record.
boolean
true if the recordcreationworkflow was created successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response